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)
commit897d7846b483da58d0b46bf806cf362a71501c56
tree0406bcfa4cda44736297c3dc43696f6589c42338
parent564c274c3df07d727fbe23684dc3077a9dd30607
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