Searched refs:opfc (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/infiniband/hw/mlx5/ ! |
H A D | counters.c | 886 struct mlx5_ib_op_fc **opfc) in mlx5r_is_opfc_shared_and_in_use() argument 919 *opfc = &opfcs[shared_fc_type]; in mlx5r_is_opfc_shared_and_in_use() 920 if (!(*opfc)->fc) in mlx5r_is_opfc_shared_and_in_use() 1154 struct mlx5_ib_op_fc *opfc, *in_use_opfc; in mlx5_ib_modify_stat() local 1173 opfc = &cnts->opfcs[type]; in mlx5_ib_modify_stat() 1176 if (opfc->fc) in mlx5_ib_modify_stat() 1181 opfc->fc = in_use_opfc->fc; in mlx5_ib_modify_stat() 1182 opfc->rule[0] = in_use_opfc->rule[0]; in mlx5_ib_modify_stat() 1186 opfc->fc = mlx5_fc_create(dev->mdev, false); in mlx5_ib_modify_stat() 1187 if (IS_ERR(opfc in mlx5_ib_modify_stat() [all...] |
H A D | counters.h | 18 struct mlx5_ib_op_fc **opfc);
|
H A D | fs.c | 1042 struct mlx5_ib_op_fc *opfc = &per_qp_opfc->opfcs[type], *in_use_opfc; in add_op_fc_rules() local 1049 if (opfc->fc) in add_op_fc_rules() 1054 opfc->fc = in_use_opfc->fc; in add_op_fc_rules() 1055 opfc->rule[0] = in_use_opfc->rule[0]; in add_op_fc_rules() 1059 opfc->fc = fc_arr[type]; in add_op_fc_rules() 1137 dst.counter = opfc->fc; in add_op_fc_rules() 1143 opfc->rule[i] = mlx5_add_flow_rules(prio->flow_table, &spec[i], in add_op_fc_rules() 1145 if (IS_ERR(opfc->rule[i])) { in add_op_fc_rules() 1146 err = PTR_ERR(opfc->rule[i]); in add_op_fc_rules() 1162 mlx5_del_flow_rules(opfc in add_op_fc_rules() 1223 mlx5_ib_fs_add_op_fc(struct mlx5_ib_dev * dev,u32 port_num,struct mlx5_ib_op_fc * opfc,enum mlx5_ib_optional_counter_type type) mlx5_ib_fs_add_op_fc() argument 1346 mlx5_ib_fs_remove_op_fc(struct mlx5_ib_dev * dev,struct mlx5_ib_op_fc * opfc,enum mlx5_ib_optional_counter_type type) mlx5_ib_fs_remove_op_fc() argument 1407 struct mlx5_ib_op_fc *opfc; mlx5r_fs_bind_op_fc() local [all...] |
H A D | mlx5_ib.h | 890 struct mlx5_ib_op_fc *opfc, 894 struct mlx5_ib_op_fc *opfc,
|