diff options
author | Anish Bhatt <anish@chelsio.com> | 2014-10-17 00:59:19 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-10-28 09:57:00 +0100 |
commit | dd9ad67e9bcb71e2efeb5b2f38c9202c013aa74c (patch) | |
tree | d4d4343e5c1c0d72d533041854096ec7d1caf73c /drivers/scsi/cxgbi/libcxgbi.h | |
parent | scsi: set REQ_QUEUE for the blk-mq case (diff) | |
download | linux-dd9ad67e9bcb71e2efeb5b2f38c9202c013aa74c.tar.xz linux-dd9ad67e9bcb71e2efeb5b2f38c9202c013aa74c.zip |
libcxgbi : support ipv6 address host_param
libcxgbi was always returning an ipv4 address for ISCSI_HOST_PARAM_IPADDRESS,
return appropriate address based on address family
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: Karen Xie <kxie@chelsio.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/cxgbi/libcxgbi.h')
-rw-r--r-- | drivers/scsi/cxgbi/libcxgbi.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/cxgbi/libcxgbi.h b/drivers/scsi/cxgbi/libcxgbi.h index 1d98fad6a0ab..2c7cb1c0c453 100644 --- a/drivers/scsi/cxgbi/libcxgbi.h +++ b/drivers/scsi/cxgbi/libcxgbi.h @@ -700,11 +700,6 @@ static inline void cxgbi_set_iscsi_ipv4(struct cxgbi_hba *chba, __be32 ipaddr) chba->ndev->name); } -static inline __be32 cxgbi_get_iscsi_ipv4(struct cxgbi_hba *chba) -{ - return chba->ipv4addr; -} - struct cxgbi_device *cxgbi_device_register(unsigned int, unsigned int); void cxgbi_device_unregister(struct cxgbi_device *); void cxgbi_device_unregister_all(unsigned int flag); |