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

Function mlx5_rxq_ctrl_get

dpdk/drivers/net/mlx5/mlx5_rxq.c:2117–2123  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

2115 * A pointer to the queue control if it exists, NULL otherwise.
2116 */
2117struct mlx5_rxq_ctrl *
2118mlx5_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.

Callers 9

mlx5_rxq_info_getFunction · 0.85
mlx5_mprq_enabledFunction · 0.85
flow_drv_rxq_flags_setFunction · 0.85
flow_drv_rxq_flags_trimFunction · 0.85
mlx5_validate_rss_queuesFunction · 0.85
flow_hw_rxq_flag_setFunction · 0.85
mlx5_mprq_alloc_mpFunction · 0.85
mlx5_rxq_is_hairpinFunction · 0.85

Calls 1

mlx5_rxq_getFunction · 0.85

Tested by

no test coverage detected