24 Feb, 2016
1 commit
-
iscsi_port_speed and iscsi_port_speed_names have new entries for
25Gbps and 40Gbps link speeds.Signed-off-by: Jitendra Bhivare
Reviewed-by: Hannes Reinicke
Signed-off-by: Martin K. Petersen
01 Aug, 2014
1 commit
-
When a iscsi nop as ping timedout we were failing with the
common connection error code, ISCSI_ERR_CONN_FAILED. This
patch adds a new error code for this problem so can properly
track/distinguish in userspace.Signed-off-by: Mike Christie
Acked-by: Vikas Chaudhary
Reviewed-by: Hannes Reinecke
Signed-off-by: Christoph Hellwig
20 Dec, 2013
2 commits
-
This attribute specifies the local IP address used to establish connection.
Signed-off-by: Adheer Chandravanshi
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
Add transport_iscsi hooks to get aggregate host statistics.
The statistics include MAC, TCP/IP & iSCSI statistics.Signed-off-by: Lalit Chandivade
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley
17 Dec, 2013
2 commits
-
Added support to display and update additional network parameters
through iscsiadm.Signed-off-by: Harish Zunjarrao
Signed-off-by: Adheer Chandravanshi
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
Remove explicit values assignment for net param enums.
Signed-off-by: Harish Zunjarrao
Signed-off-by: Adheer Chandravanshi
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley
25 Oct, 2013
1 commit
-
For offload iSCSI like qla4xxx, CHAP entries are stored in adapter's
flash.
This patch adds support to add/update CHAP entries in adapter's flash
using iscsi tools, like Open-iSCSI.Signed-off-by: Adheer Chandravanshi
Signed-off-by: Vikas Chaudhary
Signed-off-by: James Bottomley
24 Aug, 2013
1 commit
-
Signed-off-by: Adheer Chandravanshi
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley
27 Jun, 2013
1 commit
-
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_root - holds the name of the /sys/firmware/ibft or iscsi_rootN
boot_nic - holds the ethernetN name
boot_target - holds the targetN nameSigned-off-by: Eddie Wai
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley
12 Apr, 2013
2 commits
-
Signed-off-by: Adheer Chandravanshi
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
This patch allows iscsiadm to manage iSCSI target information stored on
adapter flash on per host basis.The sysfs entries will look as cited below:
/sys/bus/iscsi_flashnode/devices/flashnode_sess-:/
/sys/bus/iscsi_flashnode/devices/flashnode_conn-::/Signed-off-by: Adheer Chandravanshi
Signed-off-by: Manish Rangankar
Signed-off-by: Vikas Chaudhary
Signed-off-by: James Bottomley
27 Mar, 2012
2 commits
-
We don't need to pack 'struct iscsi_chap_rec' as buffer is built
locally in the driver and pass to the user-space.Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
Defined error codes for ping completion status.
This patch take care of Mike Christie's commets
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley
01 Mar, 2012
2 commits
-
Signed-off-by: Mike Christie
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
For offload iSCSI like qla4xxx CHAP entries are stored in FLASH.
This patch adds support to list CHAP entries stored in FLASH and
delete specified CHAP entry from FLASH using iscsi tools.Signed-off-by: Nilesh Javali
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley
19 Feb, 2012
3 commits
-
Added ping support for iscsi adapter, application can use this
interface for diagnostic network connection.Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
Added support to post kernel host event to application using
netlink interface.Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
sysfs patch to view port_state:
/sys/class/iscsi_host/host*/port_statesysfs patch to view port_speed:
/sys/class/iscsi_host/host*/port_speedSigned-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley
20 Oct, 2011
1 commit
-
Userspace was sending the priority/id part of the vlan tag
and sysfs was displaying the id in the vlan file. This
renames the vlan sysfs file to vlan_id to reflect that it
was showing the id and to match the vlan_priority file.
This also adds a ISCSI_NET_PARAM_VLAN_TAG iscsi nl command
to relfect that we are sending down the vlan/priority
part of the tag.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley
27 Aug, 2011
9 commits
-
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
Signed-off-by: Vikas Chaudhary
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
Offload drivers like qla4xxx will offload the sending of the login/logout
pdus still, so this patch adds iscsi_conn_login_event which is
used by these types of drivers to notify userspace that the connection
has changed state.It also adds a iscsi_is_session_online helper so the lld
can query the sessions state field.Signed-off-by: Manish Rangankar
Signed-off-by: Lalit Chandivade
Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
Add support to set vlan priority and enable/disble a vlan.
Patch based on code from Vikas Chaudhary.
Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
The iscsi class currently does not support writable sysfs
attrs for LLD sysfs settings. This patch converts the
iscsi class and driver's host attrs to use the attribute
container sysfs group and the sysfs group's is_visible callout
to be able to support readable or writable sysfs attrs.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
We can replace the iface param mask with the
attr_is_visible callback.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
The iscsi class currently does not support writable sysfs
attrs for LLD sysfs settings. This patch converts the
iscsi class and driver's session attrs to use the attribute
container sysfs group and the sysfs group's is_visible callout
to be able to support readable or writable sysfs attrs.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
A iscsi host can have multiple interfaces. This patch
adds a new iface iscsi class for this. It exports the
network settings now, and will be extended to also
export iscsi initiator port settings like the isid
and initiator name for drivers that can support multiple
initiator ports.Based on patch from Lalit Chandivade.
Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
Allows user space (iscsiadm) to send down network configuration
parameters for LLD to set private network configuration on the iSCSI
adapters.Based on patch from Lalit Chandivade.
Signed-off-by: Mike Christie
Signed-off-by: James Bottomley
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
31 Dec, 2010
1 commit
-
This adds a more informative error code and message
for the iscsi scsi eh session drop paths. This allows
you to distinguish if the session was dropped due to
a connection failure vs the iscsi layer dropping
the session due to scsi eh failure processing.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley
28 Jul, 2010
1 commit
-
Signed-off-by: Vikas Chaudhary
Signed-off-by: Ravi Anand
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley
05 Dec, 2009
1 commit
-
This implements warm target reset tmf support for
the scsi-ml target reset callback. Previously we would
just drop the session in that callback. This patch will
now try a target reset and if that fails drop the session.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley
05 Sep, 2009
1 commit
-
If a target closed the connection, we will detect it in the
state_changed or data_ready callout. This adds a new conn
error value to use for this problem, so it is not confused
with when the initiator throws a conn error and drops
the connection.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley
09 Jun, 2009
1 commit
-
Add ISCSI_NETLINK messages for iSCSI NICs to get information such as
path from userspace. Original iscsid messages are now always sent as
multicast to group 1. The new messages are sent to group 2.The multicast changes were made by Mike Christie.
Signed-off-by: Michael Chan
Signed-off-by: Benjamin Li
Signed-off-by: Mike Christie
Signed-off-by: James Bottomley
24 May, 2009
1 commit
-
When we create the tcp/ip connection by calling ep_connect, we currently
just go by the routing table info.I think there are two problems with this.
1. Some drivers do not have access to a routing table. Some drivers like
qla4xxx do not even know about other ports.2. If you have two initiator ports on the same subnet, the user may have
set things up so that session1 was supposed to be run through port1. and
session2 was supposed to be run through port2. It looks like we could
end with both sessions going through one of the ports.Fixes for cxgb3i from Karen Xie.
Signed-off-by: Mike Christie
Signed-off-by: James Bottomley
30 Dec, 2008
2 commits
-
cxgb3i does not offload the processing of the header,
but it will always process the padding. This patch
adds a padding offload flag to detect when the LLD
supports this.The patch also modifies the header processing so that
we do not try to read/bypass the header dugest in the
skb. cxgb3i will not include it with the header like
with other offload cards.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
cxgb3i is unlike qla4xxx and bnx2i in that it does not offload entire
scsi commands or iscsi sequences. Instead it only offloads the transfer
of a ISCSI DATA_IN pdu's data, the digests and padding. This patch fixes up the
iscsi tcp recv path so that it exports its skb recv processing so
cxgb3i and other drivers can call them. All they have to do is pass
the function the skb with the hdr or data pdu header and this function
will do the rest.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley
13 Oct, 2008
2 commits
-
The segment->done functions return a iscsi error value which gives
a lot more info than conn failed, so this patch has us return
that value. I also add a new one for xmit failures.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
If the driver knows when hardware is removed like with cxgb3i,
bnx2i, qla4xxx and iser then we will want to remove the sessions/devices
that are bound to that device before removing the host.cxgb3i and in the future bnx2i will remove the host and that will
remove all the sessions on the hba. iser can call iscsi_kill_session
when it gets an event that indicates that a hca is removed.
And when qla4xxx is hooked in to the lib (it is only hooked into
the class right now) it can call iscsi remove host like the
partial offload card drivers.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley
12 Jul, 2008
1 commit
-
This adds two new attrs used for creating initiator ports and
binding sessions to hardware.The session level initiatorname:
Since bnx2i does a scsi_host per host device, we need to add the
iface initiator port settings on the session, so we can create
multiple initiator ports (each with different inames) per device/scsi_host.The current iname reflects that qla4xxx can have one iname per hba, and we are
allocating a host per session for software. The iname on the host will
remain so we can export and set the hba level qla4xxx setting.The ifacename attr:
To bind a session to a some peice of hardware in userspace we maintain
some mappings, but during boot or iscsid restart (iscsid contains the user
space part of the driver) we need to be able to figure out which of those
host mappings abstractions maps to certain sessions. This patch adds
a ifacename attr, which userspace can set to id the host side of the
endpoint across pivot_roots and iscsid restarts.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley