* Get Rx queue shareable control. * * @param dev * Pointer to Ethernet device. * @param idx * RX queue index. * * @return * A pointer to the queue control if it exists, NULL otherwise. */
| 2115 | * A pointer to the queue control if it exists, NULL otherwise. |
| 2116 | */ |
| 2117 | struct mlx5_rxq_ctrl * |
| 2118 | mlx5_rxq_ctrl_get(struct rte_eth_dev *dev, uint16_t idx) |
| 2119 | { |
| 2120 | struct mlx5_rxq_priv *rxq = mlx5_rxq_get(dev, idx); |
| 2121 | |
| 2122 | return rxq == NULL ? NULL : rxq->ctrl; |
| 2123 | } |
| 2124 | |
| 2125 | /** |
| 2126 | * Get Rx queue shareable data. |
no test coverage detected