Home
last modified time | relevance | path

Searched refs:opfcs (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dcounters.c489 const struct mlx5_ib_op_fc *opfcs; in do_get_op_stat() local
496 opfcs = cnts->opfcs; in do_get_op_stat()
501 if (!opfcs[type].fc) in do_get_op_stat()
504 ret = mlx5_fc_query(dev->mdev, opfcs[type].fc, in do_get_op_stat()
897 *opfc = &opfcs[shared_fc_type]; in mlx5r_is_opfc_shared_and_in_use()
927 if (!dev->port[i].cnts.opfcs[j].fc) in mlx5_ib_dealloc_counters()
931 dev->port[i].cnts.opfcs, j, &in_use_opfc)) in mlx5_ib_dealloc_counters()
935 &dev->port[i].cnts.opfcs[j], j); in mlx5_ib_dealloc_counters()
937 dev->port[i].cnts.opfcs[j].fc); in mlx5_ib_dealloc_counters()
939 dev->port[i].cnts.opfcs[j].fc = NULL; in mlx5_ib_dealloc_counters()
[all …]
H A Dcounters.h30 bool mlx5r_is_opfc_shared_and_in_use(struct mlx5_ib_op_fc *opfcs, u32 type,
H A Dfs.c38 struct mlx5_ib_op_fc opfcs[MLX5_IB_OPCOUNTER_MAX]; member
910 return &dev->flow_db->opfcs[prio_type]; in get_opfc_prio()
1041 struct mlx5_ib_op_fc *opfc = &per_qp_opfc->opfcs[type], *in_use_opfc; in add_op_fc_rules()
1051 if (mlx5r_is_opfc_shared_and_in_use(per_qp_opfc->opfcs, type, in add_op_fc_rules()
1377 if (!per_qp_opfc->opfcs[i].fc) in mlx5r_fs_unbind_op_fc()
1380 if (mlx5r_is_opfc_shared_and_in_use(per_qp_opfc->opfcs, i, in mlx5r_fs_unbind_op_fc()
1382 per_qp_opfc->opfcs[i].fc = NULL; in mlx5r_fs_unbind_op_fc()
1387 if (!per_qp_opfc->opfcs[i].rule[j]) in mlx5r_fs_unbind_op_fc()
1389 mlx5_del_flow_rules(per_qp_opfc->opfcs[i].rule[j]); in mlx5r_fs_unbind_op_fc()
1393 per_qp_opfc->opfcs[i].fc = NULL; in mlx5r_fs_unbind_op_fc()
[all …]
H A Dmlx5_ib.h321 struct mlx5_ib_flow_prio opfcs[MLX5_IB_OPCOUNTER_MAX]; member
890 struct mlx5_ib_op_fc opfcs[MLX5_IB_OPCOUNTER_MAX]; member