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
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 =
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,
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 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
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
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
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