diff options
author | Leon Romanovsky <leon@kernel.org> | 2023-01-15 13:22:36 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-01-15 13:22:36 +0300 |
commit | 1ca49d26afc2609542be4a57e336191b525ca698 (patch) | |
tree | 36624298c11de91a7a25f0c92d07faeff0d96292 /drivers/infiniband/ulp | |
parent | ccdbefcf661e537a3126719f4f11484cd85404d7 (diff) | |
parent | 9b2e3723728efe03433be5c13b31da451d88ee3d (diff) | |
download | linux-1ca49d26afc2609542be4a57e336191b525ca698.tar.xz |
Merge branch 'mlx5-next' into HEAD
Bring HW bits for mlx5 QP events series.
Link: https://lore.kernel.org/all/cover.1672821186.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h index 00b0068fda20..5d94db453df3 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.h +++ b/drivers/infiniband/ulp/srp/ib_srp.h @@ -62,9 +62,6 @@ enum { SRP_DEFAULT_CMD_SQ_SIZE = SRP_DEFAULT_QUEUE_SIZE - SRP_RSP_SQ_SIZE - SRP_TSK_MGMT_SQ_SIZE, - SRP_TAG_NO_REQ = ~0U, - SRP_TAG_TSK_MGMT = 1U << 31, - SRP_MAX_PAGES_PER_MR = 512, SRP_MAX_ADD_CDB_LEN = 16, @@ -79,6 +76,11 @@ enum { sizeof(struct srp_imm_buf), }; +enum { + SRP_TAG_NO_REQ = ~0U, + SRP_TAG_TSK_MGMT = BIT(31), +}; + enum srp_target_state { SRP_TARGET_SCANNING, SRP_TARGET_LIVE, |