]>
git.proxmox.com Git - ceph.git/blob - ceph/src/seastar/dpdk/drivers/net/qede/base/ecore_cxt_api.h
2 * Copyright (c) 2016 QLogic Corporation.
6 * See LICENSE.qede_pmd for copyright and licensing details.
9 #ifndef __ECORE_CXT_API_H__
10 #define __ECORE_CXT_API_H__
14 struct ecore_cxt_info
{
17 enum protocol_type type
;
20 #define MAX_TID_BLOCKS 512
21 struct ecore_tid_mem
{
23 u32 num_tids_per_block
;
25 u8
*blocks
[MAX_TID_BLOCKS
]; /* 4K */
29 * @brief ecoreo_cid_get_cxt_info - Returns the context info for a specific cid
33 * @param p_info in/out
35 * @return enum _ecore_status_t
37 enum _ecore_status_t
ecore_cxt_get_cid_info(struct ecore_hwfn
*p_hwfn
,
38 struct ecore_cxt_info
*p_info
);