aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2015-01-13 11:13:44 -0500
committerDavid S. Miller <davem@davemloft.net>2015-01-13 17:51:08 -0500
commitdf8a39defad46b83694ea6dd868d332976d62cc0 (patch)
treefe19bca0c2788033d49686babfc7b3853fa13340 /drivers/net/ethernet/freescale
parentd8b9605d2697c48fb822c821c5751afbb4567003 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r--drivers/net/ethernet/freescale/gianfar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c
index e54b1e39f9b4..93ff846e96f1 100644
--- a/drivers/net/ethernet/freescale/gianfar.c
+++ b/drivers/net/ethernet/freescale/gianfar.c
@@ -2170,7 +2170,7 @@ static inline void gfar_tx_checksum(struct sk_buff *skb, struct txfcb *fcb,
2170void inline gfar_tx_vlan(struct sk_buff *skb, struct txfcb *fcb) 2170void inline gfar_tx_vlan(struct sk_buff *skb, struct txfcb *fcb)
2171{ 2171{
2172 fcb->flags |= TXFCB_VLN; 2172 fcb->flags |= TXFCB_VLN;
2173 fcb->vlctl = vlan_tx_tag_get(skb); 2173 fcb->vlctl = skb_vlan_tag_get(skb);
2174} 2174}
2175 2175
2176static inline struct txbd8 *skip_txbd(struct txbd8 *bdp, int stride, 2176static inline struct txbd8 *skip_txbd(struct txbd8 *bdp, int stride,
@@ -2230,7 +2230,7 @@ static int gfar_start_xmit(struct sk_buff *skb, struct net_device *dev)
2230 regs = tx_queue->grp->regs; 2230 regs = tx_queue->grp->regs;
2231 2231
2232 do_csum = (CHECKSUM_PARTIAL == skb->ip_summed); 2232 do_csum = (CHECKSUM_PARTIAL == skb->ip_summed);
2233 do_vlan = vlan_tx_tag_present(skb); 2233 do_vlan = skb_vlan_tag_present(skb);
2234 do_tstamp = (skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) && 2234 do_tstamp = (skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) &&
2235 priv->hwts_tx_en; 2235 priv->hwts_tx_en;
2236 2236