* [PATCH v2 2/2 scsi-post-merge] cxgb3i: support of private MAC address in iSCSI
@ 2009-09-25 22:25 kxie
2009-09-26 0:36 ` Mike Christie
0 siblings, 1 reply; 2+ messages in thread
From: kxie @ 2009-09-25 22:25 UTC (permalink / raw)
To: michaelc, James.Bottomley, davem
Cc: swise, divy, rakesh, kxie, linux-scsi, open-iscsi, linux-kernel, netdev
[PATCH v2 2/2 scsi-post-merge] cxgb3i: private MAC address for iSCSI
From: Karen Xie <kxie@chelsio.com>
This patch updated the use of private MAC address per port in iscsi.
This patch is generated against scsi-post-merge.
Signed-off-by: Karen Xie <kxie@chelsio.com>
---
drivers/scsi/cxgb3i/cxgb3i_offload.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/cxgb3i/cxgb3i_offload.h b/drivers/scsi/cxgb3i/cxgb3i_offload.h
index 6a1d86b..f585ece 100644
--- a/drivers/scsi/cxgb3i/cxgb3i_offload.h
+++ b/drivers/scsi/cxgb3i/cxgb3i_offload.h
@@ -234,9 +234,9 @@ struct sge_opaque_hdr {
* get and set private ip for iscsi traffic
*/
#define cxgb3i_get_private_ipv4addr(ndev) \
- (((struct port_info *)(netdev_priv(ndev)))->iscsi_ipv4addr)
+ (((struct port_info *)(netdev_priv(ndev)))->iscsic.ipv4_addr)
#define cxgb3i_set_private_ipv4addr(ndev, addr) \
- (((struct port_info *)(netdev_priv(ndev)))->iscsi_ipv4addr) = addr
+ (((struct port_info *)(netdev_priv(ndev)))->iscsic.ipv4_addr) = addr
/* max. connections per adapter */
#define CXGB3I_MAX_CONN 16384
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 2/2 scsi-post-merge] cxgb3i: support of private MAC address in iSCSI
2009-09-25 22:25 [PATCH v2 2/2 scsi-post-merge] cxgb3i: support of private MAC address in iSCSI kxie
@ 2009-09-26 0:36 ` Mike Christie
0 siblings, 0 replies; 2+ messages in thread
From: Mike Christie @ 2009-09-26 0:36 UTC (permalink / raw)
To: kxie
Cc: James.Bottomley, davem, swise, divy, rakesh, linux-scsi,
open-iscsi, linux-kernel, netdev
kxie@chelsio.com wrote:
> [PATCH v2 2/2 scsi-post-merge] cxgb3i: private MAC address for iSCSI
>
> From: Karen Xie <kxie@chelsio.com>
>
> This patch updated the use of private MAC address per port in iscsi.
>
> This patch is generated against scsi-post-merge.
>
> Signed-off-by: Karen Xie <kxie@chelsio.com>
> ---
> drivers/scsi/cxgb3i/cxgb3i_offload.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
>
> diff --git a/drivers/scsi/cxgb3i/cxgb3i_offload.h b/drivers/scsi/cxgb3i/cxgb3i_offload.h
> index 6a1d86b..f585ece 100644
> --- a/drivers/scsi/cxgb3i/cxgb3i_offload.h
> +++ b/drivers/scsi/cxgb3i/cxgb3i_offload.h
> @@ -234,9 +234,9 @@ struct sge_opaque_hdr {
> * get and set private ip for iscsi traffic
> */
> #define cxgb3i_get_private_ipv4addr(ndev) \
> - (((struct port_info *)(netdev_priv(ndev)))->iscsi_ipv4addr)
> + (((struct port_info *)(netdev_priv(ndev)))->iscsic.ipv4_addr)
> #define cxgb3i_set_private_ipv4addr(ndev, addr) \
> - (((struct port_info *)(netdev_priv(ndev)))->iscsi_ipv4addr) = addr
> + (((struct port_info *)(netdev_priv(ndev)))->iscsic.ipv4_addr) = addr
>
This looks ok.
Reviewed-by Mike Christie <michaelc@cs.wisc.edu>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-26 0:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-25 22:25 [PATCH v2 2/2 scsi-post-merge] cxgb3i: support of private MAC address in iSCSI kxie
2009-09-26 0:36 ` Mike Christie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).