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

Function mlx5_txq_stop

dpdk/drivers/net/mlx5/mlx5_trigger.c:29–37  ·  view source on GitHub ↗

* Stop traffic on Tx queues. * * @param dev * Pointer to Ethernet device structure. */

Source from the content-addressed store, hash-verified

27 * Pointer to Ethernet device structure.
28 */
29static void
30mlx5_txq_stop(struct rte_eth_dev *dev)
31{
32 struct mlx5_priv *priv = dev->data->dev_private;
33 unsigned int i;
34
35 for (i = 0; i != priv->txqs_n; ++i)
36 mlx5_txq_release(dev, i);
37}
38
39/**
40 * Start traffic on Tx queues.

Callers 2

mlx5_trigger.cFile · 0.85
mlx5_dev_stopFunction · 0.85

Calls 1

mlx5_txq_releaseFunction · 0.85

Tested by

no test coverage detected