| 574 | } |
| 575 | |
| 576 | static void |
| 577 | sfc_tx_queue_release(struct rte_eth_dev *dev, uint16_t qid) |
| 578 | { |
| 579 | struct sfc_dp_txq *dp_txq = dev->data->tx_queues[qid]; |
| 580 | struct sfc_txq *txq; |
| 581 | sfc_sw_index_t sw_index; |
| 582 | struct sfc_adapter *sa; |
| 583 | |
| 584 | if (dp_txq == NULL) |
| 585 | return; |
| 586 | |
| 587 | txq = sfc_txq_by_dp_txq(dp_txq); |
| 588 | sw_index = dp_txq->dpq.queue_id; |
| 589 | |
| 590 | SFC_ASSERT(txq->evq != NULL); |
| 591 | sa = txq->evq->sa; |
| 592 | |
| 593 | sfc_log_init(sa, "TxQ = %u", sw_index); |
| 594 | |
| 595 | sfc_adapter_lock(sa); |
| 596 | |
| 597 | sfc_tx_qfini(sa, sw_index); |
| 598 | |
| 599 | sfc_adapter_unlock(sa); |
| 600 | } |
| 601 | |
| 602 | static void |
| 603 | sfc_stats_get_dp_rx(struct sfc_adapter *sa, uint64_t *pkts, uint64_t *bytes) |
nothing calls this directly
no test coverage detected