]> err.no Git - linux-2.6/commit
IB/iser: Return error code when PDUs may not be sent
authorErez Zilber <erezz@voltaire.com>
Sun, 7 Jan 2007 10:28:02 +0000 (12:28 +0200)
committerRoland Dreier <rolandd@cisco.com>
Sun, 7 Jan 2007 18:15:15 +0000 (10:15 -0800)
commitf0938401f2252bf39615c0815734650eab9053c8
tree5b915a7569b7b25138eec1027a6fb40f7080b147
parent46707e96b7254663139225ab6c9ab9922cd8c435
IB/iser: Return error code when PDUs may not be sent

iSER limits the number of outstanding PDUs to send. When this threshold
is reached, it should return an error code (-ENOBUFS) instead of setting
the suspend_tx bit (which should be used only by libiscsi).

Signed-off-by: Erez Zilber <erezz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iser_initiator.c