diff options
| author | Eran Ben Elisha <[email protected]> | 2019-12-08 14:29:45 +0200 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2020-02-25 17:05:39 -0800 |
| commit | 4229e0ea2c9936b3093990353b211bcd7802a2d5 (patch) | |
| tree | f64656efb70cf1818f56459a7e99a1bdd4b6e9a8 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | f13e4415d2715145017cbdc35f33634acf935a6f (diff) | |
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 <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions