Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368588
b: refs/heads/master
c: 953d276
h: refs/heads/master
v: v3
  • Loading branch information
Claudiu Manoil authored and David S. Miller committed Mar 21, 2013
1 parent f1fc51a commit 02651ad
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6e1160ed6e015dcf7f361d3829169751239df05
refs/heads/master: 953d276847b92524b34df8598bdaf30c9002c2b4
6 changes: 1 addition & 5 deletions trunk/drivers/net/ethernet/freescale/gianfar.c
Original file line number Diff line number Diff line change
Expand Up @@ -2695,8 +2695,6 @@ static void gfar_process_frame(struct net_device *dev, struct sk_buff *skb,
struct gfar_private *priv = netdev_priv(dev);
struct rxfcb *fcb = NULL;

gro_result_t ret;

/* fcb is at the beginning if exists */
fcb = (struct rxfcb *)skb->data;

Expand Down Expand Up @@ -2735,10 +2733,8 @@ static void gfar_process_frame(struct net_device *dev, struct sk_buff *skb,
__vlan_hwaccel_put_tag(skb, fcb->vlctl);

/* Send the packet up the stack */
ret = napi_gro_receive(napi, skb);
napi_gro_receive(napi, skb);

if (unlikely(GRO_DROP == ret))
atomic64_inc(&priv->extra_stats.kernel_dropped);
}

/* gfar_clean_rx_ring() -- Processes each frame in the rx ring
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/ethernet/freescale/gianfar.h
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,6 @@ struct rmon_mib
};

struct gfar_extra_stats {
atomic64_t kernel_dropped;
atomic64_t rx_large;
atomic64_t rx_short;
atomic64_t rx_nonoctet;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/ethernet/freescale/gianfar_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ static void gfar_gdrvinfo(struct net_device *dev,
struct ethtool_drvinfo *drvinfo);

static const char stat_gstrings[][ETH_GSTRING_LEN] = {
"rx-dropped-by-kernel",
"rx-large-frame-errors",
"rx-short-frame-errors",
"rx-non-octet-errors",
Expand Down

0 comments on commit 02651ad

Please sign in to comment.