Home
last modified time | relevance | path

Searched refs:res_alloc (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c325 res_alloc->allocated[slave]; in mlx4_grant_resource()
327 res_alloc->res_free; in mlx4_grant_resource()
329 res_alloc->res_reserved; in mlx4_grant_resource()
430 res_alloc->quota[vf] = (num_instances / 2) + res_alloc->guaranteed[vf]; in initialize_res_quotas()
535 res_alloc->allocated = in mlx4_init_resource_tracker()
540 res_alloc->allocated = in mlx4_init_resource_tracker()
547 if (!res_alloc->quota || !res_alloc->guaranteed || in mlx4_init_resource_tracker()
548 !res_alloc->allocated) in mlx4_init_resource_tracker()
598 res_alloc->quota[t] = in mlx4_init_resource_tracker()
616 res_alloc->quota[t]; in mlx4_init_resource_tracker()
[all …]
H A Dfw.c475 size = priv->mfunc.master.res_tracker.res_alloc[RES_QP].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
480 size = priv->mfunc.master.res_tracker.res_alloc[RES_SRQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
485 size = priv->mfunc.master.res_tracker.res_alloc[RES_CQ].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
509 size = priv->mfunc.master.res_tracker.res_alloc[RES_MPT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
514 size = priv->mfunc.master.res_tracker.res_alloc[RES_MTT].quota[slave]; in mlx4_QUERY_FUNC_CAP_wrapper()
H A Dmlx4.h563 struct resource_allocator res_alloc[MLX4_NUM_OF_RESOURCE_TYPE]; member