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>
This commit is contained in:
parent
387ff91184
commit
72073ad2ad
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue