hyperv/hn: Function renaming; consistent w/ hardware capabilities query.

MFC after:	1 week
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D8296
This commit is contained in:
Sepherosa Ziehau 2016-10-21 08:21:23 +00:00
parent 547d4caa73
commit 525607d10c
3 changed files with 4 additions and 4 deletions

View file

@ -3473,10 +3473,10 @@ hn_synth_alloc_subchans(struct hn_softc *sc, int *nsubch)
}
/*
* 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;

View file

@ -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;

View file

@ -122,7 +122,7 @@ void hn_rndis_detach(struct hn_softc *sc);
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);