| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
be2iscsi exports two ifaces per host port for ipv4 and ipv6 network
configurations. But, they need to have the same link level configuration
including vlan settings. If vlan setting are modified in only one iface
record, then whichever record is applied last (filesystem dependant I
think) will take effect and things may not work.
This change to iscsiadm applies vlan updates to all records with
matching MAC addresses if a flag is set on the transport.
The new transport flag is only set for be2iscsi.
|
|
|
|
|
|
| |
Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com>
Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Signed-off-by: Nilesh Javali <nilesh.javali@cavium.com>
|
|
|
|
|
|
|
| |
These changes are done in order to support ping operation for drivers
like bnx2i that use iscsiuio.
Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The changes in "retry login for ISCSI_ERR_HOST_NOT_FOUND" caused
sessions using the iscsi_tcp transport bound to a network iface to fail
to connect due to the host lookup failing (iscsi_tcp hosts are
dynamically allocated per-session).
This marks transports that use a host fixed to a hardware offload device
with "bind_ep_required" and only requires a host lookup before starting
the connection if this flag is set.
Signed-off-by: Chris Leech <cleech@redhat.com>
|
|
|
|
|
|
|
| |
that don't have a hard requirement on it.
v2: cxgb4i changed to NOT_REQ as set ipaddress is not supported
Signed-off-by: Anish Bhatt <anish@chelsio.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This patch does the work to extract the corresponding
<boot_root>->ethernetN net params as specified from the kernel
session boot_nic sysfs entry based on the transport param
use_boot_info.
This is only populated for iscsi_tcp and bnx2i.
Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From Eddie Wai:
This patch adds the communication path between iscsid->iscsiuio.
It utilizes the set_net_config func ptr in the iscsi_transport_template
to initiate the callbacks.
Two new files are introduced: uip_mgmt_ipc.h and uip_mgmt_ipc.c
Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
|
|
|
|
|
|
|
| |
This has iscsiadm load the offload modules that do not
have pci tables (bnx2i, cxgb3i, cxgb4i) when
iscsiadm -m iface
is run.
|
|
|
|
|
|
|
| |
Instead of having the init scripts load all the modules
this patch has iscsiadm/iscsistart/iscsid load the module
in the iface.transport_name field when the module is
requested.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were deciding if we need to set net params based on if
the iface ipaddress is set. This instead adds a flag, so
we can warn users about not setting the ip address properly
when needed.
This also fixes a bug in iscsid session sync up where we were
reading in the ip address and then it got used for binding, when
it was not requested. The binding would fail because we do not
support software binding by ip and the iscsid restart up
would fail.
|
|
|
|
|
|
| |
cxgb3i can only support 15360 or smaller. This patch adds a callback
to the transport so that drivers can override the default settings
or do any other setup they may need to do before we try to login.
|
|
|
|
|
|
|
|
|
|
| |
This patch moves the iface code to iface.c/.h. It also adds some
default ifaces for iser and bnx2i. Currently if those modules
are loaded then we will bind to them along with default/tcp when
discovery is run. The user can then set the startup flag or delete
the record.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
|
|
|
|
|
|
| |
iface (driver and hardware are bound). Also merge the -D and -I arguments so they are now -I driver,hwaddress. Also add some basic qla4xxx support. We can rescan/scan it and perform sendtargets through it but it stores the targets it finds in Flash and then logs into all of them autmatically (when we do discovery and later when reload the driver). So qla4xxx support is mostly to make sure we have the --interfae argument right. We will have to decide how to set other params, manage nodes, and if we should move scanning to the kernel and then also move some error recovery code to the kernel (today qla4xxx is calling block directly and is not able to export it iscsi state yet (the beginnings to fix that is in the git tree but we still need to reduce some code duplcation)). qla4xxx behavior and functionality is going to change as we learn more about the hw (what format the flash data is supposed to be in for example).
git-svn-id: svn://svn.berlios.de/open-iscsi@816 d7303112-9cec-0310-bdd2-e83a94d6c2b6
|
|
|
|
|
|
| |
some print output
git-svn-id: svn://svn.berlios.de/open-iscsi@815 d7303112-9cec-0310-bdd2-e83a94d6c2b6
|
|
|
|
| |
git-svn-id: svn://svn.berlios.de/open-iscsi@734 d7303112-9cec-0310-bdd2-e83a94d6c2b6
|
|
|
|
|
|
| |
to a broken loop in iscsid.c
git-svn-id: svn://svn.berlios.de/open-iscsi@691 d7303112-9cec-0310-bdd2-e83a94d6c2b6
|
|
git-svn-id: svn://svn.berlios.de/open-iscsi@541 d7303112-9cec-0310-bdd2-e83a94d6c2b6
|