| 569 | } |
| 570 | |
| 571 | int cxgbe_dev_rx_queue_start(struct rte_eth_dev *eth_dev, uint16_t rx_queue_id) |
| 572 | { |
| 573 | struct port_info *pi = eth_dev->data->dev_private; |
| 574 | struct adapter *adap = pi->adapter; |
| 575 | struct sge_eth_rxq *rxq; |
| 576 | int ret; |
| 577 | |
| 578 | dev_debug(adapter, "%s: pi->port_id = %d; rx_queue_id = %d\n", |
| 579 | __func__, pi->port_id, rx_queue_id); |
| 580 | |
| 581 | rxq = eth_dev->data->rx_queues[rx_queue_id]; |
| 582 | ret = t4_sge_eth_rxq_start(adap, rxq); |
| 583 | if (ret == 0) |
| 584 | eth_dev->data->rx_queue_state[rx_queue_id] = RTE_ETH_QUEUE_STATE_STARTED; |
| 585 | |
| 586 | return ret; |
| 587 | } |
| 588 | |
| 589 | int cxgbe_dev_rx_queue_stop(struct rte_eth_dev *eth_dev, uint16_t rx_queue_id) |
| 590 | { |
no test coverage detected