Re: [PATCH] BNX2I: Removed the individual PCI DEVICE ID checking

2012-10-24 Thread Mike Christie
On 10/15/2012 07:31 PM, Eddie Wai wrote: Removed the individual PCI DEVICE ID checking inside bnx2i. The device type can easily be read from the corresponding cnic-flags. This will free bnx2i from having to get updated for every new device ID that gets added. Signed-off-by: Eddie Wai

Re: [PATCH 3/4] ISCSID: Added the extraction of the session boot_nic info

2012-10-24 Thread Eddie Wai
On Wed, 2012-10-24 at 01:27 -0500, Mike Christie wrote: On 10/22/2012 05:13 PM, Eddie Wai wrote: @@ -920,6 +921,28 @@ int iscsi_sysfs_get_sessioninfo_by_id(struct session_info *info, char *session) iscsi_sysfs_read_iface(info-iface, host_no, session, NULL); + ret =

Re: [PATCH 3/4] ISCSID: Added the extraction of the session boot_nic info

2012-10-24 Thread Mike Christie
On 10/24/2012 01:03 PM, Eddie Wai wrote: On Wed, 2012-10-24 at 01:27 -0500, Mike Christie wrote: On 10/22/2012 05:13 PM, Eddie Wai wrote: @@ -920,6 +921,28 @@ int iscsi_sysfs_get_sessioninfo_by_id(struct session_info *info, char *session) iscsi_sysfs_read_iface(info-iface,

[PATCH v2 0/3] ISCSITOOLS: Patchset to add the extraction of ibft net attributes

2012-10-24 Thread Eddie Wai
Version 2: - Added boot_initiator to hold the ibft initiator name - Added boot_targetN to hold the corresponding ibft target name - Moved the boot_nic net param extraction to the iscsi_sysfs_read_iface routine - Added extra check before eluding to use the boot_nic info For the case when

[PATCH v2 3/3] ISCSID: Added iface content override fix

2012-10-24 Thread Eddie Wai
Patch provided by Mike Christie. This patch fixes the unconditional overwrite of the iface struct even when the corresponding iface info from the node config was found and extracted. Signed-off-by: Eddie Wai eddie@broadcom.com --- usr/iscsid.c |8 +++- 1 files changed, 3

[PATCH v2 2/3] ISCSID: Added the extraction of the session boot info

2012-10-24 Thread Eddie Wai
This patch does the work to extract the corresponding ibft-ethernetN net params as specified from the kernel session boot_nic sysfs entry. Signed-off-by: Eddie Wai eddie@broadcom.com --- usr/iscsi_sysfs.c | 40 1 files changed, 40 insertions(+), 0

[PATCH v2 1/3] ISCSISTART: Saved ibft boot info to the session sysfs

2012-10-24 Thread Eddie Wai
Three new session sysfs parameters are introduced: boot_initiator - holds the ibft boot initiator name boot_nic - holds the ibft boot ethernetN name boot_target- holds the ibft boot targetN name This patch copies over the ibft-initiator/ethernetN/targetN info from the boot context to

[PATCH] LIBISCSI: Added new boot entries in the session sysfs

2012-10-24 Thread Eddie Wai
This is the kernel part of the modification to extract the net params from the ibft sysfs to the iface struct used for the connection request upon sync_session in the open-iscsi util. Three new session sysfs params are defined: boot_initiator boot_nic boot_target Each of which will hold the name