]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: sk_prio <=> UP for untagged traffic
authorAmir Vadai <amirv@mellanox.com>
Wed, 4 Apr 2012 21:33:27 +0000 (21:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Apr 2012 09:08:04 +0000 (05:08 -0400)
commit15d452d3466362245c97d864587fd8c1ee081bcc
tree0406bcfa4cda44736297c3dc43696f6589c42338
parent26b7a8160bed3741b9f4d26014e6506a89becaa3
net/mlx4_en: sk_prio <=> UP for untagged traffic

Since vlan egress map is only good for tagged traffic, need to have other
mapping to be used by untagged traffic.
For that, the driver uses sch_mqprio mapping. This mapping could be set by
using tc tool from iproute2 package.
Mapped UP will be used by the HW for QoS purposes, but won't go out on the
wire.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c