Determine whether the current configuration needs aggregation ring in HW. */
| 48 | |
| 49 | /* Determine whether the current configuration needs aggregation ring in HW. */ |
| 50 | int bnxt_need_agg_ring(struct rte_eth_dev *eth_dev) |
| 51 | { |
| 52 | /* scattered_rx will be true if OFFLOAD_SCATTER is enabled, |
| 53 | * if LRO is enabled, or if the max packet len is greater than the |
| 54 | * mbuf data size. So AGG ring will be needed whenever scattered_rx |
| 55 | * is set. |
| 56 | */ |
| 57 | return eth_dev->data->scattered_rx ? 1 : 0; |
| 58 | } |
| 59 | |
| 60 | void bnxt_free_rxq_stats(struct bnxt_rx_queue *rxq) |
| 61 | { |
no outgoing calls
no test coverage detected