]> 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)
commit0487d0e5caac8c98b2f027535fd7a4316a372d96
tree0406bcfa4cda44736297c3dc43696f6589c42338
parent2cb62f0b1e9f5402d562c268927709def4e624f4
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