| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_counter.c | 82 u32 counter_id) in prestera_counter_stats_clear() argument 84 memset(&block->stats[counter_id - block->offset], 0, in prestera_counter_stats_clear() 251 struct prestera_counter_block **bl, u32 *counter_id) in prestera_counter_get() argument 277 *counter_id = id; in prestera_counter_get() 284 struct prestera_counter_block *block, u32 counter_id) in prestera_counter_put() argument 290 idr_remove(&block->counter_idr, counter_id); in prestera_counter_put() 292 prestera_counter_stats_clear(block, counter_id); in prestera_counter_put() 295 prestera_hw_counter_clear(counter->sw, block->id, counter_id); in prestera_counter_put() 417 u32 counter_id, u64 *packets, u64 *bytes) in prestera_counter_stats_get() argument 419 if (!block || !prestera_counter_is_ready(block, counter_id)) { in prestera_counter_stats_get() [all …]
|
| H A D | prestera_counter.h | 23 u32 *counter_id); 25 struct prestera_counter_block *block, u32 counter_id); 28 u32 counter_id, u64 *packets, u64 *bytes);
|
| H A D | prestera_hw.h | 245 u32 counter_id);
|
| H A D | prestera_hw.c | 2374 u32 counter_id) in prestera_hw_counter_clear() argument 2378 .num_counters = __cpu_to_le32(counter_id) in prestera_hw_counter_clear()
|
| /linux/include/rdma/ |
| H A D | rdma_counter.h | 59 u32 qp_num, u32 counter_id); 61 u32 qp_num, u32 *counter_id); 63 u32 qp_num, u32 counter_id);
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | smfs.c | 39 mlx5_smfs_action_create_flow_counter(u32 counter_id) in mlx5_smfs_action_create_flow_counter() argument 41 return mlx5dr_action_create_flow_counter(counter_id); in mlx5_smfs_action_create_flow_counter()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_counters.c | 570 mlx5_fc_local_create(u32 counter_id, u32 offset, u32 bulk_size) in mlx5_fc_local_create() argument 585 counter->id = counter_id; in mlx5_fc_local_create() 587 mlx5_fc_bulk_init(fc_bulk, counter_id - offset); in mlx5_fc_local_create()
|
| /linux/drivers/net/ethernet/microchip/vcap/ |
| H A D | vcap_api_private.h | 36 u32 counter_id; /* counter id (if a dedicated counter is available) */ member
|
| H A D | vcap_api_client.h | 186 void vcap_rule_set_counter_id(struct vcap_rule *rule, u32 counter_id);
|
| H A D | vcap_api_kunit.c | 1468 .counter_id = 1002, in vcap_api_set_rule_counter_test() 1477 .counter_id = 2002, in vcap_api_set_rule_counter_test() 1521 .counter_id = 1011, in vcap_api_get_rule_counter_test() 1530 .counter_id = 2012, in vcap_api_get_rule_counter_test()
|
| H A D | vcap_api.c | 1556 ri->counter_id, 0); in vcap_read_rule() 1598 ri->counter_id, 0); in vcap_write_counter() 2930 ri->counter_id, 0); in vcap_read_counter() 3252 void vcap_rule_set_counter_id(struct vcap_rule *rule, u32 counter_id) in vcap_rule_set_counter_id() argument 3256 ri->counter_id = counter_id; in vcap_rule_set_counter_id()
|
| H A D | vcap_api_debugfs.c | 246 ri->counter_id, ri->counter.value, ri->counter.sticky); in vcap_show_admin_rule()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_switch.h | 341 u16 *counter_id); 344 u16 counter_id);
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | mlx5dr.h | 113 mlx5dr_action_create_flow_counter(u32 counter_id);
|
| H A D | dr_action.c | 1321 mlx5dr_action_create_flow_counter(u32 counter_id) in mlx5dr_action_create_flow_counter() argument 1329 action->ctr->ctr_id = counter_id; in mlx5dr_action_create_flow_counter()
|
| H A D | dr_types.h | 1515 u32 counter_id; member
|
| H A D | dr_ste_v1.c | 249 MLX5_SET(ste_match_bwc_v1, hw_ste_p, counter_id, ctr_id); in dr_ste_v1_set_counter_id()
|
| /linux/drivers/infiniband/hw/ionic/ |
| H A D | ionic_hw_stats.c | 318 u32 counter_id) in ionic_get_qp_stats() argument 328 cntr = xa_load(&cs->xa_counters, counter_id); in ionic_get_qp_stats()
|
| /linux/drivers/ptp/ |
| H A D | ptp_vmclock.c | 343 st->clk->counter_id == VMCLOCK_COUNTER_ARM_VCNT) { in vmclock_ptp_register() 347 st->clk->counter_id == VMCLOCK_COUNTER_X86_TSC) { in vmclock_ptp_register()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.h | 775 u8 counter_id; member
|
| H A D | hclge_main.c | 5685 action->counter_id >= HCLGE_FD_COUNTER_MAX_SIZE_DEV_V2 ? in hclge_fd_ad_config() 5695 HCLGE_FD_AD_COUNTER_NUM_L_S, action->counter_id); in hclge_fd_ad_config() 5913 ad_data.counter_id = rule->vf_id % in hclge_config_action() 5917 ad_data.counter_id = 0; in hclge_config_action()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | mae.c | 379 rc = TABLE_HOOK_RESP(meta_ct, counter_id, COUNTER_ID); in efx_mae_table_hook_ct() 2008 rc = TABLE_POPULATE_RESP_U24(resp, ct, counter_id, conn->cnt->fw_id); in efx_mae_insert_ct()
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 5900 for (int counter_id = 0; counter_id < counter_info_num; ++counter_id) { in free_fd_cstate() local 5901 if (ccstate_counter_info[counter_id].fd_perf_core != -1) in free_fd_cstate() 5902 close(ccstate_counter_info[counter_id].fd_perf_core); in free_fd_cstate() 5904 if (ccstate_counter_info[counter_id].fd_perf_pkg != -1) in free_fd_cstate() 5905 close(ccstate_counter_info[counter_id].fd_perf_pkg); in free_fd_cstate()
|