All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ISCSID: Added vlan field to the iface struct
@ 2011-03-11  2:21 Eddie Wai
  2011-03-13  8:11 ` Mike Christie
  0 siblings, 1 reply; 3+ messages in thread
From: Eddie Wai @ 2011-03-11  2:21 UTC (permalink / raw)
  To: James Bottomley
  Cc: Mike Christie, open-iscsi, linux-scsi, Michael Chan,
	Anil Veerabhadrappa, Ben Li, Eddie Wai

Hello,

This patch adds the iface.vlan field to the iface struct so that it
can be defined in the iface file.  This vlan field will then propagate
to both brcm_iscsiuio for nic_iface creation and bnx2i via the
iscsi_host_set_net_param path for ep_connect usage.

Another way is to do without the iscsi_host_set_net_param augmentation
and just keep track of it in brcm_iscsiuio.  So when the path req comes
through, brcm_iscsiuio will not need to search and just key off of the
current nic_iface.  But this approach might present a danger if we ever
goto separate out the threads in iscsid; hence losing synchronization.

For this, bnx2i will also need to be changed to accept set_host_param
callback for proper handling of the vlan message.

Please let me know what you think.  Thanks.

Eddie


Eddie Wai (2):
  ISCSID: Added vlan field to the iface struct
  ISCSID: Added ISCSI_HOST_PARAM_VLAN setting

 include/iscsi_if.h     |    1 +
 usr/config.h           |    4 ++++
 usr/iface.c            |   19 +++++++++++++++++--
 usr/iface.h            |    1 +
 usr/initiator_common.c |   10 ++++++++++
 usr/iscsi_settings.h   |    1 +
 6 files changed, 34 insertions(+), 2 deletions(-)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-13 21:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-11  2:21 [PATCH 0/2] ISCSID: Added vlan field to the iface struct Eddie Wai
2011-03-13  8:11 ` Mike Christie
2011-03-13 21:44   ` Eddie Wai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.