diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-09-16 15:14:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-17 14:26:09 -0400 |
commit | d57906633efd58ccd93f056ed436ffde5cb31aa8 (patch) | |
tree | 59a319066931683e8b9ed0feeef0c483fcb5b068 /drivers/net/qlcnic/qlcnic.h | |
parent | 0c796f91a518480fd6696ba2affed1167e840823 (diff) |
qlcnic: support vlan rx accleration
Implemented vlan rx accleration in driver.
This helps in increasing significant performance and
reduces cpu utilization with GRO and LRO.
Eric Dumazet:
"Its a bit strange you use dev_kfree_skb_any(skb) here."
"We run in NAPI mode, so you can use dev_kfree_skb()."
Amit:
Done. Using dev_kfree_skb();
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/qlcnic/qlcnic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h index cc8385a6727e..c8caec90b31b 100644 --- a/drivers/net/qlcnic/qlcnic.h +++ b/drivers/net/qlcnic/qlcnic.h | |||
@@ -1013,6 +1013,7 @@ struct qlcnic_adapter { | |||
1013 | 1013 | ||
1014 | u64 dev_rst_time; | 1014 | u64 dev_rst_time; |
1015 | 1015 | ||
1016 | struct vlan_group *vlgrp; | ||
1016 | struct qlcnic_npar_info *npars; | 1017 | struct qlcnic_npar_info *npars; |
1017 | struct qlcnic_eswitch *eswitch; | 1018 | struct qlcnic_eswitch *eswitch; |
1018 | struct qlcnic_nic_template *nic_ops; | 1019 | struct qlcnic_nic_template *nic_ops; |