summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/i825xx
diff options
context:
space:
mode:
authorAmir Vadai <amirv@mellanox.com>2012-05-17 02:58:10 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-17 22:17:50 +0200
commitbc6a4744b827c5a78ca591acca81809bddb8b2db (patch)
tree49328e3c1d680c5532605b2f701c01061958ebd3 /drivers/net/ethernet/i825xx
parentdrop_monitor: convert to modular building (diff)
downloadlinux-bc6a4744b827c5a78ca591acca81809bddb8b2db.tar.xz
linux-bc6a4744b827c5a78ca591acca81809bddb8b2db.zip
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/ethernet/i825xx')
0 files changed, 0 insertions, 0 deletions