aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul Pandya <vipul@chelsio.com>2013-01-31 19:03:47 -0500
committerDavid S. Miller <davem@davemloft.net>2013-02-04 13:22:32 -0500
commit72073ad2adacd2ed58a1dd98995342ca409a156e (patch)
tree44d6854a8ee8b9abd6a2229063ecaf4017463e8d
parent387ff91184fc03e4b8c5818e8ef2928434bcee6d (diff)
cxgb3: Update VLAN extraction stats in the GRO path
Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Vipul Pandya <vipul@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/chelsio/cxgb3/sge.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb3/sge.c b/drivers/net/ethernet/chelsio/cxgb3/sge.c
index 9096dc09c72f..9d67eb794c4b 100644
--- a/drivers/net/ethernet/chelsio/cxgb3/sge.c
+++ b/drivers/net/ethernet/chelsio/cxgb3/sge.c
@@ -2130,8 +2130,10 @@ static void lro_add_page(struct adapter *adap, struct sge_qset *qs,
2130 2130
2131 skb_record_rx_queue(skb, qs - &adap->sge.qs[pi->first_qset]); 2131 skb_record_rx_queue(skb, qs - &adap->sge.qs[pi->first_qset]);
2132 2132
2133 if (cpl->vlan_valid) 2133 if (cpl->vlan_valid) {
2134 qs->port_stats[SGE_PSTAT_VLANEX]++;
2134 __vlan_hwaccel_put_tag(skb, ntohs(cpl->vlan)); 2135 __vlan_hwaccel_put_tag(skb, ntohs(cpl->vlan));
2136 }
2135 napi_gro_frags(&qs->napi); 2137 napi_gro_frags(&qs->napi);
2136} 2138}
2137 2139