linux/include/linux/qed/iwarp_common.h

/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
/* QLogic qed NIC Driver
 * Copyright (c) 2015-2017  QLogic Corporation
 * Copyright (c) 2019-2020 Marvell International Ltd.
 */

#ifndef __IWARP_COMMON__
#define __IWARP_COMMON__

#include <linux/qed/rdma_common.h>

/************************/
/* IWARP FW CONSTANTS	*/
/************************/

#define IWARP_ACTIVE_MODE
#define IWARP_PASSIVE_MODE

#define IWARP_SHARED_QUEUE_PAGE_SIZE
#define IWARP_SHARED_QUEUE_PAGE_RQ_PBL_OFFSET
#define IWARP_SHARED_QUEUE_PAGE_RQ_PBL_MAX_SIZE
#define IWARP_SHARED_QUEUE_PAGE_SQ_PBL_OFFSET
#define IWARP_SHARED_QUEUE_PAGE_SQ_PBL_MAX_SIZE

#define IWARP_REQ_MAX_INLINE_DATA_SIZE
#define IWARP_REQ_MAX_SINGLE_SQ_WQE_SIZE

#define IWARP_MAX_QPS

#endif /* __IWARP_COMMON__ */