mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
547d4caa73
commit
525607d10c
3 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue