]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
qlcnic: vlan gro support
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Thu, 16 Sep 2010 19:14:40 +0000 (19:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Sep 2010 18:29:33 +0000 (11:29 -0700)
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>
drivers/net/qlcnic/qlcnic_init.c

index 10cebb15ccd485d6ff4b27fa6bffca1c11dd537f..9f994b968f4adb496c2ba58f7c808c7e12a28acf 100644 (file)
@@ -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);