diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-09-16 15:14:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-17 14:29:33 -0400 |
commit | 5718d3b432757ac83f65c50dd61df9c1e0d88e61 (patch) | |
tree | 0155fd6032cbe2f1d7dd3094577477d9a2caf2e0 | |
parent | d57906633efd58ccd93f056ed436ffde5cb31aa8 (diff) |
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>
-rw-r--r-- | drivers/net/qlcnic/qlcnic_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_init.c b/drivers/net/qlcnic/qlcnic_init.c index 10cebb15ccd4..9f994b968f4a 100644 --- a/drivers/net/qlcnic/qlcnic_init.c +++ b/drivers/net/qlcnic/qlcnic_init.c | |||
@@ -1455,7 +1455,7 @@ qlcnic_process_rcv(struct qlcnic_adapter *adapter, | |||
1455 | skb->protocol = eth_type_trans(skb, netdev); | 1455 | skb->protocol = eth_type_trans(skb, netdev); |
1456 | 1456 | ||
1457 | if ((vid != 0xffff) && adapter->vlgrp) | 1457 | if ((vid != 0xffff) && adapter->vlgrp) |
1458 | vlan_hwaccel_receive_skb(skb, adapter->vlgrp, vid); | 1458 | vlan_gro_receive(&sds_ring->napi, adapter->vlgrp, vid, skb); |
1459 | else | 1459 | else |
1460 | napi_gro_receive(&sds_ring->napi, skb); | 1460 | napi_gro_receive(&sds_ring->napi, skb); |
1461 | 1461 | ||