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

Function sfc_rx_queue_release

dpdk/drivers/net/sfc/sfc_ethdev.c:519–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519static void
520sfc_rx_queue_release(struct rte_eth_dev *dev, uint16_t qid)
521{
522 struct sfc_dp_rxq *dp_rxq = dev->data->rx_queues[qid];
523 struct sfc_rxq *rxq;
524 struct sfc_adapter *sa;
525 sfc_sw_index_t sw_index;
526
527 if (dp_rxq == NULL)
528 return;
529
530 rxq = sfc_rxq_by_dp_rxq(dp_rxq);
531 sa = rxq->evq->sa;
532 sfc_adapter_lock(sa);
533
534 sw_index = dp_rxq->dpq.queue_id;
535
536 sfc_log_init(sa, "RxQ=%u", sw_index);
537
538 sfc_rx_qfini(sa, sw_index);
539
540 sfc_adapter_unlock(sa);
541}
542
543static int
544sfc_tx_queue_setup(struct rte_eth_dev *dev, uint16_t ethdev_qid,

Callers

nothing calls this directly

Calls 2

sfc_rxq_by_dp_rxqFunction · 0.85
sfc_rx_qfiniFunction · 0.85

Tested by

no test coverage detected