Skip to content

Commit

Permalink
mlx5: use skb_vlan_tag_get_prio()
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Michał Mirosław authored and David S. Miller committed Nov 21, 2018
1 parent fb1e3df commit 6c0fbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ u16 mlx5e_select_queue(struct net_device *dev, struct sk_buff *skb,
else
#endif
if (skb_vlan_tag_present(skb))
up = skb->vlan_tci >> VLAN_PRIO_SHIFT;
up = skb_vlan_tag_get_prio(skb);

/* channel_ix can be larger than num_channels since
* dev->num_real_tx_queues = num_channels * num_tc
Expand Down

0 comments on commit 6c0fbd7

Please sign in to comment.