Author: sephe
Date: Fri Oct 21 08:21:23 2016
New Revision: 307714
URL: https://svnweb.freebsd.org/changeset/base/307714

Log:
  hyperv/hn: Function renaming; consistent w/ hardware capabilities query.
  
  MFC after:    1 week
  Sponsored by: Microsoft
  Differential Revision:        https://reviews.freebsd.org/D8296

Modified:
  head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
  head/sys/dev/hyperv/netvsc/hv_rndis_filter.c
  head/sys/dev/hyperv/netvsc/if_hnvar.h

Modified: head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
==============================================================================
--- head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c  Fri Oct 21 08:12:18 
2016        (r307713)
+++ head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c  Fri Oct 21 08:21:23 
2016        (r307714)
@@ -3473,10 +3473,10 @@ hn_synth_alloc_subchans(struct hn_softc 
        }
 
        /*
-        * Get RSS capabilities, e.g. # of RX rings, and # of indirect
+        * Query RSS capabilities, e.g. # of RX rings, and # of indirect
         * table entries.
         */
-       error = hn_rndis_get_rsscaps(sc, &rxr_cnt);
+       error = hn_rndis_query_rsscaps(sc, &rxr_cnt);
        if (error) {
                /* No RSS; this is benign. */
                *nsubch = 0;

Modified: head/sys/dev/hyperv/netvsc/hv_rndis_filter.c
==============================================================================
--- head/sys/dev/hyperv/netvsc/hv_rndis_filter.c        Fri Oct 21 08:12:18 
2016        (r307713)
+++ head/sys/dev/hyperv/netvsc/hv_rndis_filter.c        Fri Oct 21 08:21:23 
2016        (r307714)
@@ -748,7 +748,7 @@ done:
 }
 
 int
-hn_rndis_get_rsscaps(struct hn_softc *sc, int *rxr_cnt)
+hn_rndis_query_rsscaps(struct hn_softc *sc, int *rxr_cnt)
 {
        struct ndis_rss_caps in, caps;
        size_t caps_len;

Modified: head/sys/dev/hyperv/netvsc/if_hnvar.h
==============================================================================
--- head/sys/dev/hyperv/netvsc/if_hnvar.h       Fri Oct 21 08:12:18 2016        
(r307713)
+++ head/sys/dev/hyperv/netvsc/if_hnvar.h       Fri Oct 21 08:21:23 2016        
(r307714)
@@ -122,7 +122,7 @@ void                hn_rndis_detach(struct hn_softc *s
 int            hn_rndis_conf_rss(struct hn_softc *sc, uint16_t flags);
 void           *hn_rndis_pktinfo_append(struct rndis_packet_msg *,
                    size_t pktsize, size_t pi_dlen, uint32_t pi_type);
-int            hn_rndis_get_rsscaps(struct hn_softc *sc, int *rxr_cnt);
+int            hn_rndis_query_rsscaps(struct hn_softc *sc, int *rxr_cnt);
 int            hn_rndis_get_eaddr(struct hn_softc *sc, uint8_t *eaddr);
 int            hn_rndis_get_linkstatus(struct hn_softc *sc,
                    uint32_t *link_status);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to