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

Function cxgbe_dev_rx_queue_release

dpdk/drivers/net/cxgbe/cxgbe_ethdev.c:684–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684void 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.

Callers 1

cxgbe_dev_rx_queue_setupFunction · 0.85

Calls 1

t4_sge_eth_rxq_releaseFunction · 0.85

Tested by

no test coverage detected