printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / qed / iwarp_common.h
blob14f9e4c0ddd9c46d955df5e9aaeb2c5d463d2b65
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2 /* QLogic qed NIC Driver
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
5 */
7 #ifndef __IWARP_COMMON__
8 #define __IWARP_COMMON__
10 #include <linux/qed/rdma_common.h>
12 /************************/
13 /* IWARP FW CONSTANTS */
14 /************************/
16 #define IWARP_ACTIVE_MODE 0
17 #define IWARP_PASSIVE_MODE 1
19 #define IWARP_SHARED_QUEUE_PAGE_SIZE (0x8000)
20 #define IWARP_SHARED_QUEUE_PAGE_RQ_PBL_OFFSET (0x4000)
21 #define IWARP_SHARED_QUEUE_PAGE_RQ_PBL_MAX_SIZE (0x1000)
22 #define IWARP_SHARED_QUEUE_PAGE_SQ_PBL_OFFSET (0x5000)
23 #define IWARP_SHARED_QUEUE_PAGE_SQ_PBL_MAX_SIZE (0x3000)
25 #define IWARP_REQ_MAX_INLINE_DATA_SIZE (128)
26 #define IWARP_REQ_MAX_SINGLE_SQ_WQE_SIZE (176)
28 #define IWARP_MAX_QPS (64 * 1024)
30 #endif /* __IWARP_COMMON__ */