Home
last modified time | relevance | path

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

/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.c233 u32 counter_id) in parse_fs_dst() argument
251 trace_seq_printf(p, "counter_id=%u\n", counter_id); in parse_fs_dst()
/drivers/infiniband/core/
Dcounters.c432 u32 counter_id) in rdma_get_counter_by_id() argument
437 res = rdma_restrack_get_byid(dev, RDMA_RESTRACK_COUNTER, counter_id); in rdma_get_counter_by_id()
452 u32 qp_num, u32 counter_id) in rdma_counter_bind_qpn() argument
467 counter = rdma_get_counter_by_id(dev, counter_id); in rdma_counter_bind_qpn()
497 u32 qp_num, u32 *counter_id) in rdma_counter_bind_qpn_alloc() argument
533 if (counter_id) in rdma_counter_bind_qpn_alloc()
534 *counter_id = counter->id; in rdma_counter_bind_qpn_alloc()
552 u32 qp_num, u32 counter_id) in rdma_counter_unbind_qpn() argument
571 if (!qp->counter || qp->counter->id != counter_id || in rdma_counter_unbind_qpn()
/drivers/net/ethernet/intel/ice/
Dice_switch.h213 u16 *counter_id);
216 u16 counter_id);
Dice_switch.c2688 u16 *counter_id) in ice_alloc_res_cntr() argument
2709 *counter_id = le16_to_cpu(buf->elem[0].e.sw_resp); in ice_alloc_res_cntr()
2726 u16 counter_id) in ice_free_res_cntr() argument
2741 buf->elem[0].e.sw_resp = cpu_to_le16(counter_id); in ice_free_res_cntr()
/drivers/infiniband/hw/mlx5/
Dfs.c987 dest_arr[dest_num].counter_id = in _create_flow_rule()
1478 u32 counter_id, void *cmd_in, int inlen, int dest_id, int dest_type) in raw_fs_rule_add() argument
1527 dst[dst_num].counter_id = counter_id; in raw_fs_rule_add()
1902 static bool is_flow_counter(void *obj, u32 offset, u32 *counter_id) in is_flow_counter() argument
1912 *counter_id = MLX5_GET(dealloc_flow_counter_in, in is_flow_counter()
1915 *counter_id += offset; in is_flow_counter()
1928 u32 *offset_attr, offset = 0, counter_id = 0; in UVERBS_HANDLER() local
1980 if (!is_flow_counter(devx_obj, offset, &counter_id)) in UVERBS_HANDLER()
2020 counter_id, cmd_in, inlen, dest_id, dest_type); in UVERBS_HANDLER()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5dr.h103 mlx5dr_action_create_flow_counter(u32 counter_id);
Dfs_dr.c454 id = dst->dest_attr.counter_id; in mlx5_cmd_dr_create_fte()
Ddr_action.c1124 mlx5dr_action_create_flow_counter(u32 counter_id) in mlx5dr_action_create_flow_counter() argument
1132 action->ctr.ctr_id = counter_id; in mlx5dr_action_create_flow_counter()
Ddr_cmd.c671 fte->dest_arr[i].counter_id); in mlx5dr_cmd_set_fte()
Ddr_types.h1110 u32 counter_id; member
/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Degress_lgcy.c133 drop_ctr_dst.counter_id = mlx5_fc_id(drop_counter); in esw_acl_egress_lgcy_setup()
Dingress_lgcy.c241 drop_ctr_dst.counter_id = mlx5_fc_id(counter); in esw_acl_ingress_lgcy_setup()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h634 u8 counter_id; member
Dhclge_main.c5106 HCLGE_FD_AD_COUNTER_NUM_S, action->counter_id); in hclge_fd_ad_config()
5109 action->counter_id); in hclge_fd_ad_config()
5356 ad_data.counter_id = 0; in hclge_config_action()
/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c545 dst->dest_attr.counter_id); in mlx5_cmd_set_fte()
Deswitch_offloads.c384 dest[i].counter_id = mlx5_fc_id(attr->counter); in mlx5_eswitch_add_offloaded_rule()
Den_tc.c1017 dest[dest_ix].counter_id = mlx5_fc_id(attr->counter); in mlx5e_add_offloaded_nic_rule()
/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c1302 dest[1].counter_id = mlx5_fc_id(ndev->rx_counter); in add_fwd_to_tir()