| 1614 | } |
| 1615 | |
| 1616 | static void |
| 1617 | igb_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 | |
| 1632 | uint64_t |
| 1633 | igb_get_rx_port_offloads_capa(struct rte_eth_dev *dev) |
no outgoing calls
no test coverage detected