netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] cxgb3: Update VLAN extraction stats in the GRO path
@ 2013-02-01 10:03 Vipul Pandya
  2013-02-04 18:22 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Vipul Pandya @ 2013-02-01 10:03 UTC (permalink / raw)
  To: netdev; +Cc: davem, divy, dm, abhishek, Vipul Pandya

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
---
 drivers/net/ethernet/chelsio/cxgb3/sge.c |    4 +++-
 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 9096dc0..9d67eb7 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,
 
 	skb_record_rx_queue(skb, qs - &adap->sge.qs[pi->first_qset]);
 
-	if (cpl->vlan_valid)
+	if (cpl->vlan_valid) {
+		qs->port_stats[SGE_PSTAT_VLANEX]++;
 		__vlan_hwaccel_put_tag(skb, ntohs(cpl->vlan));
+	}
 	napi_gro_frags(&qs->napi);
 }
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] cxgb3: Update VLAN extraction stats in the GRO path
  2013-02-01 10:03 [PATCH net-next] cxgb3: Update VLAN extraction stats in the GRO path Vipul Pandya
@ 2013-02-04 18:22 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-02-04 18:22 UTC (permalink / raw)
  To: vipul; +Cc: netdev, divy, dm, abhishek

From: Vipul Pandya <vipul@chelsio.com>
Date: Fri,  1 Feb 2013 15:33:47 +0530

> Signed-off-by: Divy Le Ray <divy@chelsio.com>
> Signed-off-by: Vipul Pandya <vipul@chelsio.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-04 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01 10:03 [PATCH net-next] cxgb3: Update VLAN extraction stats in the GRO path Vipul Pandya
2013-02-04 18:22 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).