diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2019-12-08 15:29:45 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-02-26 04:05:39 +0300 |
commit | 4229e0ea2c9936b3093990353b211bcd7802a2d5 (patch) | |
tree | f64656efb70cf1818f56459a7e99a1bdd4b6e9a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f13e4415d2715145017cbdc35f33634acf935a6f (diff) | |
download | linux-4229e0ea2c9936b3093990353b211bcd7802a2d5.tar.xz |
net/mlx5e: Define one flow for TXQ selection when TCs are configured
We shall always extract channel index out of the txq, regardless
of the relation between txq_ix and num channels. The extraction is
always valid, as if txq is smaller than number of channels,
txq_ix == priv->txq2sq[txq_ix]->ch_ix.
By doing so, we can remove an if clause from the select queue method,
and have one flow for all packets.
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions