src/dpdk/drivers/net/qede/base/ecore_cxt.c
static void ecore_cxt_set_proto_cid_count(struct ecore_hwfn *p_hwfn,
				   enum protocol_type type,
				   u32 cid_count, u32 vf_cid_cnt)
{
	struct ecore_cxt_mngr *p_mgr = p_hwfn->p_cxt_mngr;
	struct ecore_conn_type_cfg *p_conn = &p_mgr->conn_cfg[type];

	p_conn->cid_count = ROUNDUP(cid_count, DQ_RANGE_ALIGN);
	p_conn->cids_per_vf = ROUNDUP(vf_cid_cnt, DQ_RANGE_ALIGN);
}
/* set the iids (cid/tid) count per protocol */
set the iids (cid/tid) count per protocol
set the iids ( cid / tid ) count per protocol
static void ecore_cxt_set_proto_cid_count(struct ecore_hwfn *p_hwfn,
				   enum protocol_type type,
				   u32 cid_count, u32 vf_cid_cnt)
{
	struct ecore_cxt_mngr *p_mgr = p_hwfn->p_cxt_mngr;
	struct ecore_conn_type_cfg *p_conn = &p_mgr->conn_cfg[type];
	p_conn->cid_count = ROUNDUP(cid_count, DQ_RANGE_ALIGN);
	p_conn->cids_per_vf = ROUNDUP(vf_cid_cnt, DQ_RANGE_ALIGN);
}
static void ecore_cxt_set_proto_cid_count ( struct ecore_hwfn * p_hwfn , enum protocol_type type , u32 cid_count , u32 vf_cid_cnt ) { struct ecore_cxt_mngr * p_mgr = p_hwfn -> p_cxt_mngr ; struct ecore_conn_type_cfg * p_conn = & p_mgr -> conn_cfg [ type ] ; p_conn -> cid_count = ROUNDUP ( cid_count , DQ_RANGE_ALIGN ) ; p_conn -> cids_per_vf = ROUNDUP ( vf_cid_cnt , DQ_RANGE_ALIGN ) ; }
set the iids (cid/tid) count per protocol
set the iids ( cid / tid ) count per protocol