| 1510 | } |
| 1511 | |
| 1512 | static int |
| 1513 | sfc_tx_queue_stop(struct rte_eth_dev *dev, uint16_t ethdev_qid) |
| 1514 | { |
| 1515 | struct sfc_adapter_shared *sas = sfc_adapter_shared_by_eth_dev(dev); |
| 1516 | struct sfc_adapter *sa = sfc_adapter_by_eth_dev(dev); |
| 1517 | struct sfc_txq_info *txq_info; |
| 1518 | sfc_sw_index_t sw_index; |
| 1519 | |
| 1520 | sfc_log_init(sa, "TxQ = %u", ethdev_qid); |
| 1521 | |
| 1522 | sfc_adapter_lock(sa); |
| 1523 | |
| 1524 | sw_index = sfc_txq_sw_index_by_ethdev_tx_qid(sas, ethdev_qid); |
| 1525 | sfc_tx_qstop(sa, sw_index); |
| 1526 | |
| 1527 | txq_info = sfc_txq_info_by_ethdev_qid(sas, ethdev_qid); |
| 1528 | txq_info->deferred_started = B_FALSE; |
| 1529 | |
| 1530 | sfc_adapter_unlock(sa); |
| 1531 | return 0; |
| 1532 | } |
| 1533 | |
| 1534 | static efx_tunnel_protocol_t |
| 1535 | sfc_tunnel_rte_type_to_efx_udp_proto(enum rte_eth_tunnel_type rte_type) |
nothing calls this directly
no test coverage detected