diff options
author | Karen Xie <kxie@chelsio.com> | 2008-12-19 01:56:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-19 01:56:20 -0500 |
commit | a109a5b916bc180e14fad0d1e9c37a08c85652c0 (patch) | |
tree | 03bf2fffff72aeb2dc881091bb728c83251598c8 /drivers/net/cxgb3/adapter.h | |
parent | 221b3d60cbb2740ec7d46a4f1ea6d3318a112e51 (diff) |
cxgb3: manage private iSCSI IP address
The accelerated iSCSI traffic could use a private IP address unknown to the OS:
- The IP address is required in both drivers to manage ARP requests and connection set up.
- Added an control call to retrieve the ip address.
- Reply to ARP requests dedicated to the private IP address.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Karen Xie <kxie@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/adapter.h')
-rw-r--r-- | drivers/net/cxgb3/adapter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/adapter.h b/drivers/net/cxgb3/adapter.h index c190a69c4d71..5b346f9eaa8b 100644 --- a/drivers/net/cxgb3/adapter.h +++ b/drivers/net/cxgb3/adapter.h | |||
@@ -63,6 +63,7 @@ struct port_info { | |||
63 | struct link_config link_config; | 63 | struct link_config link_config; |
64 | struct net_device_stats netstats; | 64 | struct net_device_stats netstats; |
65 | int activity; | 65 | int activity; |
66 | __be32 iscsi_ipv4addr; | ||
66 | }; | 67 | }; |
67 | 68 | ||
68 | enum { /* adapter flags */ | 69 | enum { /* adapter flags */ |