aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/netvsc
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2016-12-28 04:35:52 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2016-12-28 04:35:52 +0000
commitc08f7b2c28cd83ea1906569255922c418e375fd4 (patch)
tree71800631d67c6d94fa0853c2e98541dc3e130f0e /sys/dev/hyperv/netvsc
parent5120d21c639698837be0ffaea2d849fa1850e95c (diff)
downloadsrc-c08f7b2c28cd83ea1906569255922c418e375fd4.tar.gz
src-c08f7b2c28cd83ea1906569255922c418e375fd4.zip
hyperv/hn: Function renaming; no functional changes.
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8908
Notes
Notes: svn path=/head/; revision=310657
Diffstat (limited to 'sys/dev/hyperv/netvsc')
-rw-r--r--sys/dev/hyperv/netvsc/if_hn.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/hyperv/netvsc/if_hn.c b/sys/dev/hyperv/netvsc/if_hn.c
index 85a57e35b99d..15aed92e1c12 100644
--- a/sys/dev/hyperv/netvsc/if_hn.c
+++ b/sys/dev/hyperv/netvsc/if_hn.c
@@ -333,7 +333,7 @@ static void hn_link_status(struct hn_softc *);
static int hn_create_rx_data(struct hn_softc *, int);
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 *);
+static int hn_rxfilter_config(struct hn_softc *);
#ifndef RSS
static int hn_rss_reconfig(struct hn_softc *);
#endif
@@ -684,7 +684,7 @@ do { \
#endif /* INET6 || INET */
static int
-hn_set_rxfilter(struct hn_softc *sc)
+hn_rxfilter_config(struct hn_softc *sc)
{
struct ifnet *ifp = sc->hn_ifp;
uint32_t filter;
@@ -2431,7 +2431,7 @@ hn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
* reply.
*/
HN_NO_SLEEPING(sc);
- hn_set_rxfilter(sc);
+ hn_rxfilter_config(sc);
HN_SLEEPING_OK(sc);
} else {
hn_init_locked(sc);
@@ -2508,7 +2508,7 @@ hn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
* the RNDIS reply.
*/
HN_NO_SLEEPING(sc);
- hn_set_rxfilter(sc);
+ hn_rxfilter_config(sc);
HN_SLEEPING_OK(sc);
}
@@ -2566,7 +2566,7 @@ hn_init_locked(struct hn_softc *sc)
return;
/* Configure RX filter */
- hn_set_rxfilter(sc);
+ hn_rxfilter_config(sc);
/* Clear OACTIVE bit. */
atomic_clear_int(&ifp->if_drv_flags, IFF_DRV_OACTIVE);
@@ -4925,7 +4925,7 @@ hn_resume_data(struct hn_softc *sc)
/*
* Re-enable RX.
*/
- hn_set_rxfilter(sc);
+ hn_rxfilter_config(sc);
/*
* Make sure to clear suspend status on "all" TX rings,