* [PATCH net-next] cxgb4vf: Fix VLAN extraction counter increment
@ 2013-02-12 10:36 Vipul Pandya
2013-02-12 21:15 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Vipul Pandya @ 2013-02-12 10:36 UTC (permalink / raw)
To: netdev; +Cc: davem, divy, dm, leedom, abhishek, Vipul Pandya, Santosh Rastapur
Signed-off-by: Santosh Rastapur <santosh@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
---
drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/sge.c b/drivers/net/ethernet/chelsio/cxgb4vf/sge.c
index 9e8841e..9488032 100644
--- a/drivers/net/ethernet/chelsio/cxgb4vf/sge.c
+++ b/drivers/net/ethernet/chelsio/cxgb4vf/sge.c
@@ -1477,8 +1477,10 @@ static void do_gro(struct sge_eth_rxq *rxq, const struct pkt_gl *gl,
skb->ip_summed = CHECKSUM_UNNECESSARY;
skb_record_rx_queue(skb, rxq->rspq.idx);
- if (pkt->vlan_ex)
+ if (pkt->vlan_ex) {
__vlan_hwaccel_put_tag(skb, be16_to_cpu(pkt->vlan));
+ rxq->stats.vlan_ex++;
+ }
ret = napi_gro_frags(&rxq->rspq.napi);
if (ret == GRO_HELD)
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] cxgb4vf: Fix VLAN extraction counter increment
2013-02-12 10:36 [PATCH net-next] cxgb4vf: Fix VLAN extraction counter increment Vipul Pandya
@ 2013-02-12 21:15 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-02-12 21:15 UTC (permalink / raw)
To: vipul; +Cc: netdev, divy, dm, leedom, abhishek, santosh
From: Vipul Pandya <vipul@chelsio.com>
Date: Tue, 12 Feb 2013 16:06:21 +0530
> Signed-off-by: Santosh Rastapur <santosh@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-12 21:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-12 10:36 [PATCH net-next] cxgb4vf: Fix VLAN extraction counter increment Vipul Pandya
2013-02-12 21:15 ` 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).