net: rename vlan_tx_* helpers since "tx" is misleading there
The same macros are used for rx as well. So rename it. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d8b9605d26
commit
df8a39defa
@@ -373,11 +373,11 @@ static int nes_nic_send(struct sk_buff *skb, struct net_device *netdev)
|
||||
wqe_fragment_length = (__le16 *)&nic_sqe->wqe_words[NES_NIC_SQ_WQE_LENGTH_0_TAG_IDX];
|
||||
|
||||
/* setup the VLAN tag if present */
|
||||
if (vlan_tx_tag_present(skb)) {
|
||||
if (skb_vlan_tag_present(skb)) {
|
||||
nes_debug(NES_DBG_NIC_TX, "%s: VLAN packet to send... VLAN = %08X\n",
|
||||
netdev->name, vlan_tx_tag_get(skb));
|
||||
netdev->name, skb_vlan_tag_get(skb));
|
||||
wqe_misc = NES_NIC_SQ_WQE_TAGVALUE_ENABLE;
|
||||
wqe_fragment_length[0] = (__force __le16) vlan_tx_tag_get(skb);
|
||||
wqe_fragment_length[0] = (__force __le16) skb_vlan_tag_get(skb);
|
||||
} else
|
||||
wqe_misc = 0;
|
||||
|
||||
@@ -576,11 +576,12 @@ tso_sq_no_longer_full:
|
||||
wqe_fragment_length =
|
||||
(__le16 *)&nic_sqe->wqe_words[NES_NIC_SQ_WQE_LENGTH_0_TAG_IDX];
|
||||
/* setup the VLAN tag if present */
|
||||
if (vlan_tx_tag_present(skb)) {
|
||||
if (skb_vlan_tag_present(skb)) {
|
||||
nes_debug(NES_DBG_NIC_TX, "%s: VLAN packet to send... VLAN = %08X\n",
|
||||
netdev->name, vlan_tx_tag_get(skb) );
|
||||
netdev->name,
|
||||
skb_vlan_tag_get(skb));
|
||||
wqe_misc = NES_NIC_SQ_WQE_TAGVALUE_ENABLE;
|
||||
wqe_fragment_length[0] = (__force __le16) vlan_tx_tag_get(skb);
|
||||
wqe_fragment_length[0] = (__force __le16) skb_vlan_tag_get(skb);
|
||||
} else
|
||||
wqe_misc = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user