rdma_common.h (b70366e5d31788650b2a5cec5cd13ea80ac7e44a) rdma_common.h (9c79ddaa0f962d1f26537a670b0652ff509a6fe0)
1/* QLogic qed NIC Driver
2 * Copyright (c) 2015-2017 QLogic Corporation
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 38 unchanged lines hidden (view full) ---

47#define RDMA_REQ_RD_ATOMIC_ELM_SIZE (0x50)
48#define RDMA_RESP_RD_ATOMIC_ELM_SIZE (0x20)
49
50#define RDMA_MAX_CQS (64 * 1024)
51#define RDMA_MAX_TIDS (128 * 1024 - 1)
52#define RDMA_MAX_PDS (64 * 1024)
53
54#define RDMA_NUM_STATISTIC_COUNTERS MAX_NUM_VPORTS
1/* QLogic qed NIC Driver
2 * Copyright (c) 2015-2017 QLogic Corporation
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 38 unchanged lines hidden (view full) ---

47#define RDMA_REQ_RD_ATOMIC_ELM_SIZE (0x50)
48#define RDMA_RESP_RD_ATOMIC_ELM_SIZE (0x20)
49
50#define RDMA_MAX_CQS (64 * 1024)
51#define RDMA_MAX_TIDS (128 * 1024 - 1)
52#define RDMA_MAX_PDS (64 * 1024)
53
54#define RDMA_NUM_STATISTIC_COUNTERS MAX_NUM_VPORTS
55#define RDMA_NUM_STATISTIC_COUNTERS_BB MAX_NUM_VPORTS_BB
55#define RDMA_NUM_STATISTIC_COUNTERS_K2 MAX_NUM_VPORTS_K2
56#define RDMA_NUM_STATISTIC_COUNTERS_BB MAX_NUM_VPORTS_BB
56
57#define RDMA_TASK_TYPE (PROTOCOLID_ROCE)
58
59struct rdma_srq_id {
60 __le16 srq_idx;
61 __le16 opaque_fid;
62};
63
64struct rdma_srq_producers {
65 __le32 sge_prod;
66 __le32 wqe_prod;
67};
68
69#endif /* __RDMA_COMMON__ */
57
58#define RDMA_TASK_TYPE (PROTOCOLID_ROCE)
59
60struct rdma_srq_id {
61 __le16 srq_idx;
62 __le16 opaque_fid;
63};
64
65struct rdma_srq_producers {
66 __le32 sge_prod;
67 __le32 wqe_prod;
68};
69
70#endif /* __RDMA_COMMON__ */