mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 01:24:12 +08:00
qlcnic: vlan gro support
GRO support + vlan rx accleration, boost around 9% performance and reduces 25% of cpu utilization on vlan interface. Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d57906633e
commit
5718d3b432
@ -1455,7 +1455,7 @@ qlcnic_process_rcv(struct qlcnic_adapter *adapter,
|
||||
skb->protocol = eth_type_trans(skb, netdev);
|
||||
|
||||
if ((vid != 0xffff) && adapter->vlgrp)
|
||||
vlan_hwaccel_receive_skb(skb, adapter->vlgrp, vid);
|
||||
vlan_gro_receive(&sds_ring->napi, adapter->vlgrp, vid, skb);
|
||||
else
|
||||
napi_gro_receive(&sds_ring->napi, skb);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user