hn_rx_ring
struct hn_rx_ring *rxr;
rxr = &sc->hn_rx_ring[i];
if (sc->hn_rx_ring[0].hn_lro.lro_length_lim < HN_LRO_LENLIM_MIN(ifp))
sc->hn_rx_ring[i].hn_mbuf_hash = mbuf_hash;
sc->hn_rx_ring[i].hn_rx_flags |= HN_RX_FLAG_XPNT_VF;
sc->hn_rx_ring[i].hn_rx_flags &= ~HN_RX_FLAG_XPNT_VF;
struct hn_rx_ring *rxr;
hn_chan_rollup(struct hn_rx_ring *rxr, struct hn_tx_ring *txr)
static void hn_rndis_rx_data(struct hn_rx_ring *,
static void hn_nvs_handle_rxbuf(struct hn_rx_ring *,
static void hn_nvs_ack_rxbuf(struct hn_rx_ring *,
hn_rxpkt(struct hn_rx_ring *rxr)
static void hn_chan_rollup(struct hn_rx_ring *,
static int hn_rxpkt(struct hn_rx_ring *);
lenlim = sc->hn_rx_ring[0].hn_lro.lro_length_lim;
ackcnt = sc->hn_rx_ring[0].hn_lro.lro_ackcnt_lim + 1;
sc->hn_rx_ring[i].hn_lro.lro_ackcnt_lim = ackcnt;
if (sc->hn_rx_ring[0].hn_trust_hcsum & hcsum)
struct hn_rx_ring *rxr = &sc->hn_rx_ring[i];
struct hn_rx_ring *rxr;
rxr = &sc->hn_rx_ring[i];
rxr = &sc->hn_rx_ring[i];
struct hn_rx_ring *rxr;
rxr = &sc->hn_rx_ring[i];
rxr = &sc->hn_rx_ring[i];
hash = sc->hn_rx_ring[0].hn_mbuf_hash;
vf_ifp = sc->hn_rx_ring[0].hn_rxvf_ifp;
sc->hn_rx_ring = malloc(sizeof(struct hn_rx_ring) * sc->hn_rx_ring_cnt,
struct hn_rx_ring *rxr = &sc->hn_rx_ring[i];
__offsetof(struct hn_rx_ring, hn_lro.lro_queued),
__offsetof(struct hn_rx_ring, hn_lro.lro_flushed),
__offsetof(struct hn_rx_ring, hn_lro_tried),
__offsetof(struct hn_rx_ring, hn_csum_ip),
__offsetof(struct hn_rx_ring, hn_csum_tcp),
__offsetof(struct hn_rx_ring, hn_csum_udp),
__offsetof(struct hn_rx_ring, hn_csum_trusted),
__offsetof(struct hn_rx_ring, hn_small_pkts),
__offsetof(struct hn_rx_ring, hn_ack_failed),
struct hn_rx_ring *rxr = &sc->hn_rx_ring[i];
free(sc->hn_rx_ring, M_DEVBUF);
sc->hn_rx_ring = NULL;
sc->hn_rx_ring[i].hn_rx_flags |= HN_RX_FLAG_UDP_HASH;
struct hn_rx_ring *rxr;
rxr = &sc->hn_rx_ring[idx];
struct hn_rx_ring *rxr;
rxr = &sc->hn_rx_ring[idx];
KASSERT((sc->hn_rx_ring[i].hn_rx_flags &
const struct hn_rx_ring *rxr = &sc->hn_rx_ring[i];
sc->hn_rx_ring[i].hn_lro.lro_length_lim = lenlim;
hn_rsc_add_data(struct hn_rx_ring *rxr, const void *data,
hn_rndis_rx_data(struct hn_rx_ring *rxr, const void *data, int dlen)
hn_rndis_rxpkt(struct hn_rx_ring *rxr, const void *data, int dlen)
hn_nvs_handle_rxbuf(struct hn_rx_ring *rxr, struct vmbus_channel *chan,
hn_nvs_ack_rxbuf(struct hn_rx_ring *rxr, struct vmbus_channel *chan,
struct hn_rx_ring *rxr = xrxr;
struct hn_rx_ring *hn_rx_ring;