| 682 | } |
| 683 | |
| 684 | void cxgbe_dev_rx_queue_release(struct rte_eth_dev *eth_dev, uint16_t qid) |
| 685 | { |
| 686 | struct sge_eth_rxq *rxq = eth_dev->data->rx_queues[qid]; |
| 687 | |
| 688 | if (rxq) { |
| 689 | struct port_info *pi = (struct port_info *) |
| 690 | (rxq->rspq.eth_dev->data->dev_private); |
| 691 | struct adapter *adap = pi->adapter; |
| 692 | |
| 693 | dev_debug(adapter, "%s: pi->port_id = %d; rx_queue_id = %d\n", |
| 694 | __func__, pi->port_id, rxq->rspq.cntxt_id); |
| 695 | |
| 696 | t4_sge_eth_rxq_release(adap, rxq); |
| 697 | } |
| 698 | } |
| 699 | |
| 700 | /* |
| 701 | * Get port statistics. |
no test coverage detected