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
@@ -1781,8 +1781,8 @@ static netdev_tx_t rhine_start_tx(struct sk_buff *skb,
|
||||
rp->tx_ring[entry].desc_length =
|
||||
cpu_to_le32(TXDESC | (skb->len >= ETH_ZLEN ? skb->len : ETH_ZLEN));
|
||||
|
||||
if (unlikely(vlan_tx_tag_present(skb))) {
|
||||
u16 vid_pcp = vlan_tx_tag_get(skb);
|
||||
if (unlikely(skb_vlan_tag_present(skb))) {
|
||||
u16 vid_pcp = skb_vlan_tag_get(skb);
|
||||
|
||||
/* drop CFI/DEI bit, register needs VID and PCP */
|
||||
vid_pcp = (vid_pcp & VLAN_VID_MASK) |
|
||||
@@ -1803,7 +1803,7 @@ static netdev_tx_t rhine_start_tx(struct sk_buff *skb,
|
||||
|
||||
/* Non-x86 Todo: explicitly flush cache lines here. */
|
||||
|
||||
if (vlan_tx_tag_present(skb))
|
||||
if (skb_vlan_tag_present(skb))
|
||||
/* Tx queues are bits 7-0 (first Tx queue: bit 7) */
|
||||
BYTE_REG_BITS_ON(1 << 7, ioaddr + TQWake);
|
||||
|
||||
|
Reference in New Issue
Block a user