diff options
author | Sepherosa Ziehau <sephe@FreeBSD.org> | 2017-10-05 13:22:14 +0000 |
---|---|---|
committer | Sepherosa Ziehau <sephe@FreeBSD.org> | 2017-10-05 13:22:14 +0000 |
commit | b7d499f4d4e45e0875789d6a9519026f8b02ab44 (patch) | |
tree | 2635d7ee4148c28a2af2219fdc01de775a3d5c36 /sys/dev/hyperv/netvsc | |
parent | a6d4b1dc480d1e73e937e3a9d3ffaf9482b8ae7e (diff) | |
download | src-b7d499f4d4e45e0875789d6a9519026f8b02ab44.tar.gz src-b7d499f4d4e45e0875789d6a9519026f8b02ab44.zip |
hyperv/hn: Fix options RSS building
Reported by: np
MFC after: 1 week
Sponsored by: Microsoft
Notes
Notes:
svn path=/head/; revision=324316
Diffstat (limited to 'sys/dev/hyperv/netvsc')
-rw-r--r-- | sys/dev/hyperv/netvsc/if_hn.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/hyperv/netvsc/if_hn.c b/sys/dev/hyperv/netvsc/if_hn.c index 347375ab047a..458a02d6df96 100644 --- a/sys/dev/hyperv/netvsc/if_hn.c +++ b/sys/dev/hyperv/netvsc/if_hn.c @@ -387,9 +387,7 @@ static void hn_destroy_rx_data(struct hn_softc *); static int hn_check_iplen(const struct mbuf *, int); static int hn_set_rxfilter(struct hn_softc *, uint32_t); static int hn_rxfilter_config(struct hn_softc *); -#ifndef RSS static int hn_rss_reconfig(struct hn_softc *); -#endif static void hn_rss_ind_fixup(struct hn_softc *); static void hn_rss_mbuf_hash(struct hn_softc *, uint32_t); static int hn_rxpkt(struct hn_rx_ring *, const void *, @@ -1025,7 +1023,6 @@ hn_get_txswq_depth(const struct hn_tx_ring *txr) return hn_tx_swq_depth; } -#ifndef RSS static int hn_rss_reconfig(struct hn_softc *sc) { @@ -1064,7 +1061,6 @@ hn_rss_reconfig(struct hn_softc *sc) } return (0); } -#endif /* !RSS */ static void hn_rss_ind_fixup(struct hn_softc *sc) |