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

Function cxgbe_dev_rx_queue_start

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

Source from the content-addressed store, hash-verified

569}
570
571int 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
589int cxgbe_dev_rx_queue_stop(struct rte_eth_dev *eth_dev, uint16_t rx_queue_id)
590{

Callers 1

cxgbe_dev_startFunction · 0.85

Calls 1

t4_sge_eth_rxq_startFunction · 0.85

Tested by

no test coverage detected