MCPcopy Create free account
hub / github.com/F-Stack/f-stack / igb_reset_rx_queue

Function igb_reset_rx_queue

dpdk/drivers/net/e1000/igb_rxtx.c:1616–1630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1614}
1615
1616static void
1617igb_reset_rx_queue(struct igb_rx_queue *rxq)
1618{
1619 static const union e1000_adv_rx_desc zeroed_desc = {{0}};
1620 unsigned i;
1621
1622 /* Zero out HW ring memory */
1623 for (i = 0; i < rxq->nb_rx_desc; i++) {
1624 rxq->rx_ring[i] = zeroed_desc;
1625 }
1626
1627 rxq->rx_tail = 0;
1628 rxq->pkt_first_seg = NULL;
1629 rxq->pkt_last_seg = NULL;
1630}
1631
1632uint64_t
1633igb_get_rx_port_offloads_capa(struct rte_eth_dev *dev)

Callers 2

eth_igb_rx_queue_setupFunction · 0.85
igb_dev_clear_queuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected