Searched refs:opfcs (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | counters.c | 501 const struct mlx5_ib_op_fc *opfcs; in do_get_op_stat() local 508 opfcs = cnts->opfcs; in do_get_op_stat() 513 if (!opfcs[type].fc) in do_get_op_stat() 516 ret = mlx5_fc_query(dev->mdev, opfcs[type].fc, in do_get_op_stat() 883 bool mlx5r_is_opfc_shared_and_in_use(struct mlx5_ib_op_fc *opfcs, u32 type, in mlx5r_is_opfc_shared_and_in_use() argument 917 *opfc = &opfcs[shared_fc_type]; in mlx5r_is_opfc_shared_and_in_use() 947 if (!dev->port[i].cnts.opfcs[j].fc) in mlx5_ib_dealloc_counters() 951 dev->port[i].cnts.opfcs, j, &in_use_opfc)) in mlx5_ib_dealloc_counters() 955 &dev->port[i].cnts.opfcs[j], j); in mlx5_ib_dealloc_counters() 957 dev->port[i].cnts.opfcs[j].fc); in mlx5_ib_dealloc_counters() [all …]
|
| H A D | fs.c | 38 struct mlx5_ib_op_fc opfcs[MLX5_IB_OPCOUNTER_MAX]; member 905 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() 1378 if (!per_qp_opfc->opfcs[i].fc) in mlx5r_fs_unbind_op_fc() 1381 if (mlx5r_is_opfc_shared_and_in_use(per_qp_opfc->opfcs, i, in mlx5r_fs_unbind_op_fc() 1383 per_qp_opfc->opfcs[i].fc = NULL; in mlx5r_fs_unbind_op_fc() 1388 if (!per_qp_opfc->opfcs[i].rule[j]) in mlx5r_fs_unbind_op_fc() 1390 mlx5_del_flow_rules(per_qp_opfc->opfcs[i].rule[j]); in mlx5r_fs_unbind_op_fc() 1394 per_qp_opfc->opfcs[i].fc = NULL; in mlx5r_fs_unbind_op_fc() [all …]
|