diff options
author | Amir Vadai <amirv@mellanox.com> | 2012-05-17 00:58:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-17 16:17:50 -0400 |
commit | bc6a4744b827c5a78ca591acca81809bddb8b2db (patch) | |
tree | 49328e3c1d680c5532605b2f701c01061958ebd3 /drivers/net/Space.c | |
parent | cad456d5abbb6307be7a658d701bc44ca689e906 (diff) |
net/mlx4_en: num cores tx rings for every UP
Change the TX ring scheme such that the number of rings for untagged packets
and for tagged packets (per each of the vlan priorities) is the same, unlike
the current situation where for tagged traffic there's one ring per priority
and for untagged rings as the number of core.
Queue selection is done as follows:
If the mqprio qdisc is operates on the interface, such that the core networking
code invoked the device setup_tc ndo callback, a mapping of skb->priority =>
queue set is forced - for both, tagged and untagged traffic.
Else, the egress map skb->priority => User priority is used for tagged traffic, and
all untagged traffic is sent through tx rings of UP 0.
The patch follows the convergence of discussing that issue with John Fastabend
over this thread http://comments.gmane.org/gmane.linux.network/229877
Cc: John Fastabend <john.r.fastabend@intel.com>
Cc: Liran Liss <liranl@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Space.c')
0 files changed, 0 insertions, 0 deletions