diff options
author | Bart Van Assche <bvanassche@acm.org> | 2018-12-17 22:20:32 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-12-19 21:07:25 +0100 |
commit | feafa20433466d6193d5686b188999391c873165 (patch) | |
tree | fa349b4c5017cd5a6a9bb4bfa74ce22ca6666151 /include/scsi | |
parent | IB/mlx5: Fix compile issue when ODP disabled (diff) | |
download | linux-feafa20433466d6193d5686b188999391c873165.tar.xz linux-feafa20433466d6193d5686b188999391c873165.zip |
include/scsi/srp.h: Move response flag definitions into this file
This patch moves all constants that come from the SRP standard into the
include/scsi/srp.h header file.
Cc: Sergey Gorenko <sergeygo@mellanox.com>
Cc: Max Gurtovoy <maxg@mellanox.com>
Cc: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/srp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/scsi/srp.h b/include/scsi/srp.h index c16a3c9a4d9b..15cb8cf8a604 100644 --- a/include/scsi/srp.h +++ b/include/scsi/srp.h @@ -146,6 +146,13 @@ struct srp_login_req_rdma { u8 target_port_id[16]; }; +/* srp_login_rsp.rsp_flags */ +enum { + SRP_LOGIN_RSP_MULTICHAN_NO_CHAN = 0x0, + SRP_LOGIN_RSP_MULTICHAN_TERMINATED = 0x1, + SRP_LOGIN_RSP_MULTICHAN_MAINTAINED = 0x2, +}; + /* * The SRP spec defines the size of the LOGIN_RSP structure to be 52 * bytes, so it needs to be packed to avoid having it padded to 56 |