Commit 6c0fbd72 authored by Michał Mirosław's avatar Michał Mirosław Committed by David S. Miller
Browse files

mlx5: use skb_vlan_tag_get_prio()

parent fb1e3df0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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