diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2011-08-06 16:46:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-07 22:50:49 -0700 |
commit | 57569d0e12eaf31717e295960cd2a26f626c8e5b (patch) | |
tree | fd55f80ac7d6286541f4c8abe1400c76ca55c057 /drivers/net/netxen/netxen_nic.h | |
parent | 2ae40ee9872953b4f329a54c82970dfb6854e17e (diff) | |
download | op-kernel-dev-57569d0e12eaf31717e295960cd2a26f626c8e5b.zip op-kernel-dev-57569d0e12eaf31717e295960cd2a26f626c8e5b.tar.gz |
netxen: add vlan LRO support
o To support vlan lro, driver need to program ip address in device.
o Same ip addresses need to be program after fw recovery, so sotre them
in list.
o In case of vlan packet, include vlan header length while
calculating ip and tcp headers.
Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index f744d29..196b660 100644 --- a/drivers/net/netxen/netxen_nic.h +++ b/drivers/net/netxen/netxen_nic.h @@ -940,6 +940,11 @@ typedef struct nx_mac_list_s { uint8_t mac_addr[ETH_ALEN+2]; } nx_mac_list_t; +struct nx_vlan_ip_list { + struct list_head list; + u32 ip_addr; +}; + /* * Interrupt coalescing defaults. The defaults are for 1500 MTU. It is * adjusted based on configured MTU. @@ -1165,6 +1170,7 @@ struct netxen_adapter { struct net_device *netdev; struct pci_dev *pdev; struct list_head mac_list; + struct list_head vlan_ip_list; spinlock_t tx_clean_lock; |