[infiniband] Include the SRP login rejection reason in the error number

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2010-09-22 20:05:39 +01:00
parent 2a92697bda
commit 29ad8a922b
2 changed files with 54 additions and 5 deletions

View File

@@ -242,6 +242,10 @@ struct srp_login_rej {
/** RDMA channel limit reached for this initiator */
#define SRP_LOGIN_REJ_REASON_NO_MORE_CHANNELS 0x00010006UL
/** SRP login rejection reason is defined */
#define SRP_LOGIN_REJ_REASON_DEFINED( reason ) \
( ( (reason) & 0xfffffff0UL ) == 0x00010000UL )
/** Indirect data buffer descriptor format supported */
#define SRP_LOGIN_REJ_FMT_IDBD 0x04