aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/cxgb3_ctl_defs.h
diff options
context:
space:
mode:
authorKaren Xie <kxie@chelsio.com>2008-12-19 01:56:20 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-19 01:56:20 -0500
commita109a5b916bc180e14fad0d1e9c37a08c85652c0 (patch)
tree03bf2fffff72aeb2dc881091bb728c83251598c8 /drivers/net/cxgb3/cxgb3_ctl_defs.h
parent221b3d60cbb2740ec7d46a4f1ea6d3318a112e51 (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/cxgb3_ctl_defs.h')
-rw-r--r--drivers/net/cxgb3/cxgb3_ctl_defs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/cxgb3_ctl_defs.h b/drivers/net/cxgb3/cxgb3_ctl_defs.h
index 1d8d46eb3c96..55099eb3c70e 100644
--- a/drivers/net/cxgb3/cxgb3_ctl_defs.h
+++ b/drivers/net/cxgb3/cxgb3_ctl_defs.h
@@ -57,6 +57,7 @@ enum {
57 RDMA_GET_MIB = 19, 57 RDMA_GET_MIB = 19,
58 58
59 GET_RX_PAGE_INFO = 50, 59 GET_RX_PAGE_INFO = 50,
60 GET_ISCSI_IPV4ADDR = 51,
60}; 61};
61 62
62/* 63/*
@@ -86,6 +87,12 @@ struct iff_mac {
86 u16 vlan_tag; 87 u16 vlan_tag;
87}; 88};
88 89
90/* Structure used to request a port's iSCSI IPv4 address */
91struct iscsi_ipv4addr {
92 struct net_device *dev; /* the net_device */
93 __be32 ipv4addr; /* the return iSCSI IPv4 address */
94};
95
89struct pci_dev; 96struct pci_dev;
90 97
91/* 98/*