Home
last modified time | relevance | path

Searched refs:counter_id (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.4/include/rdma/
Drdma_counter.h56 u32 qp_num, u32 counter_id);
58 u32 qp_num, u32 *counter_id);
60 u32 qp_num, u32 counter_id);
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfs_tracepoint.h57 #define __parse_fs_dst(dst, counter_id) \ argument
58 parse_fs_dst(p, (const struct mlx5_flow_destination *)dst, counter_id)
62 u32 counter_id);
281 __field(u32, counter_id)
294 __entry->counter_id =
295 rule->dest_attr.counter_id;
300 __parse_fs_dst(__entry->destination, __entry->counter_id))
Dfs_tracepoint.c232 u32 counter_id) in parse_fs_dst() argument
250 trace_seq_printf(p, "counter_id=%u\n", counter_id); in parse_fs_dst()
/Linux-v5.4/drivers/infiniband/core/
Dcounters.c439 u32 counter_id) in rdma_get_counter_by_id() argument
444 res = rdma_restrack_get_byid(dev, RDMA_RESTRACK_COUNTER, counter_id); in rdma_get_counter_by_id()
464 u32 qp_num, u32 counter_id) in rdma_counter_bind_qpn() argument
474 counter = rdma_get_counter_by_id(dev, counter_id); in rdma_counter_bind_qpn()
504 u32 qp_num, u32 *counter_id) in rdma_counter_bind_qpn_alloc() argument
535 if (counter_id) in rdma_counter_bind_qpn_alloc()
536 *counter_id = counter->id; in rdma_counter_bind_qpn_alloc()
554 u32 qp_num, u32 counter_id) in rdma_counter_unbind_qpn() argument
573 if (!qp->counter || qp->counter->id != counter_id || in rdma_counter_unbind_qpn()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5dr.h91 mlx5dr_action_create_flow_counter(u32 counter_id);
183 mlx5dr_action_create_flow_counter(u32 counter_id) { return NULL; } in mlx5dr_action_create_flow_counter() argument
Dfs_dr.c364 id = dst->dest_attr.counter_id; in mlx5_cmd_dr_create_fte()
Ddr_action.c1002 mlx5dr_action_create_flow_counter(u32 counter_id) in mlx5dr_action_create_flow_counter() argument
1010 action->ctr.ctr_id = counter_id; in mlx5dr_action_create_flow_counter()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dqp.c683 int mlx5_core_alloc_q_counter(struct mlx5_core_dev *dev, u16 *counter_id) in mlx5_core_alloc_q_counter() argument
692 *counter_id = MLX5_GET(alloc_q_counter_out, out, in mlx5_core_alloc_q_counter()
698 int mlx5_core_dealloc_q_counter(struct mlx5_core_dev *dev, u16 counter_id) in mlx5_core_dealloc_q_counter() argument
705 MLX5_SET(dealloc_q_counter_in, in, counter_set_id, counter_id); in mlx5_core_dealloc_q_counter()
710 int mlx5_core_query_q_counter(struct mlx5_core_dev *dev, u16 counter_id, in mlx5_core_query_q_counter() argument
717 MLX5_SET(query_q_counter_in, in, counter_set_id, counter_id); in mlx5_core_query_q_counter()
Dfs_cmd.c548 dst->dest_attr.counter_id); in mlx5_cmd_set_fte()
Deswitch.c1308 drop_ctr_dst.counter_id = mlx5_fc_id(counter); in esw_vport_ingress_config()
1395 drop_ctr_dst.counter_id = mlx5_fc_id(counter); in esw_vport_egress_config()
Deswitch_offloads.c204 dest[i].counter_id = mlx5_fc_id(attr->counter); in mlx5_eswitch_add_offloaded_rule()
Den_tc.c942 dest[dest_ix].counter_id = mlx5_fc_id(counter); in mlx5e_tc_add_nic_flow()
/Linux-v5.4/include/linux/mlx5/
Dqp.h598 int mlx5_core_alloc_q_counter(struct mlx5_core_dev *dev, u16 *counter_id);
599 int mlx5_core_dealloc_q_counter(struct mlx5_core_dev *dev, u16 counter_id);
600 int mlx5_core_query_q_counter(struct mlx5_core_dev *dev, u16 counter_id,
Dfs.h122 u32 counter_id; member
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dcmd.h64 int mlx5_cmd_alloc_q_counter(struct mlx5_core_dev *dev, u16 *counter_id,
Dflow.c87 u32 counter_id = 0; in UVERBS_HANDLER() local
154 if (!mlx5_ib_devx_is_flow_counter(devx_obj, &counter_id)) in UVERBS_HANDLER()
198 counter_id, in UVERBS_HANDLER()
Dcmd.c332 int mlx5_cmd_alloc_q_counter(struct mlx5_core_dev *dev, u16 *counter_id, in mlx5_cmd_alloc_q_counter() argument
344 *counter_id = MLX5_GET(alloc_q_counter_out, out, in mlx5_cmd_alloc_q_counter()
Dmlx5_ib.h1349 struct mlx5_flow_act *flow_act, u32 counter_id,
1352 bool mlx5_ib_devx_is_flow_counter(void *obj, u32 *counter_id);
Ddevx.c195 bool mlx5_ib_devx_is_flow_counter(void *obj, u32 *counter_id) in mlx5_ib_devx_is_flow_counter() argument
201 *counter_id = MLX5_GET(dealloc_flow_counter_in, in mlx5_ib_devx_is_flow_counter()
Dmain.c3601 dest_arr[dest_num].counter_id = in _create_flow_rule()
4101 u32 counter_id, in mlx5_ib_raw_fs_rule_add() argument
4148 dst[dst_num].counter_id = counter_id; in mlx5_ib_raw_fs_rule_add()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h629 u8 counter_id; member
Dhclge_main.c4870 HCLGE_FD_AD_COUNTER_NUM_S, action->counter_id); in hclge_fd_ad_config()
4873 action->counter_id); in hclge_fd_ad_config()
5121 ad_data.counter_id = 0; in hclge_config_action()