diff options
author | Amir Vadai <amirv@mellanox.com> | 2012-04-05 01:33:27 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-05 13:08:04 +0400 |
commit | 897d7846b483da58d0b46bf806cf362a71501c56 (patch) | |
tree | 0406bcfa4cda44736297c3dc43696f6589c42338 /drivers/net/ethernet/mellanox/mlx4/en_tx.c | |
parent | 564c274c3df07d727fbe23684dc3077a9dd30607 (diff) | |
download | linux-897d7846b483da58d0b46bf806cf362a71501c56.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_tx.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/en_tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index 94a605a7cd24..d9bab5338c2f 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c @@ -577,7 +577,7 @@ u16 mlx4_en_select_queue(struct net_device *dev, struct sk_buff *skb) return MLX4_EN_NUM_TX_RINGS + (vlan_tag >> 13); } - return __skb_tx_hash(dev, skb, MLX4_EN_NUM_TX_RINGS); + return skb_tx_hash(dev, skb); } static void mlx4_bf_copy(void __iomem *dst, unsigned long *src, unsigned bytecnt) |