1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2016 - 2018 Cavium Inc.
7 #ifndef __ECORE_CXT_API_H__
8 #define __ECORE_CXT_API_H__
12 struct ecore_cxt_info {
15 enum protocol_type type;
18 #define MAX_TID_BLOCKS 512
19 struct ecore_tid_mem {
21 u32 num_tids_per_block;
23 u8 *blocks[MAX_TID_BLOCKS]; /* 4K */
27 * @brief ecoreo_cid_get_cxt_info - Returns the context info for a specific cid
31 * @param p_info in/out
33 * @return enum _ecore_status_t
35 enum _ecore_status_t ecore_cxt_get_cid_info(struct ecore_hwfn *p_hwfn,
36 struct ecore_cxt_info *p_info);