| /linux-6.15/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() 252 struct prestera_counter_block **bl, u32 *counter_id) in prestera_counter_get() argument 278 *counter_id = id; in prestera_counter_get() 285 struct prestera_counter_block *block, u32 counter_id) in prestera_counter_put() argument 291 idr_remove(&block->counter_idr, counter_id); in prestera_counter_put() 293 prestera_counter_stats_clear(block, counter_id); in prestera_counter_put() 419 u32 counter_id, u64 *packets, u64 *bytes) in prestera_counter_stats_get() argument 428 *packets = block->stats[counter_id - block->offset].packets; in prestera_counter_stats_get() 429 *bytes = block->stats[counter_id - block->offset].bytes; 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);
|
| /linux-6.15/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-6.15/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| H A D | fs_tracepoint.h | 57 #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 = 300 __parse_fs_dst(__entry->destination, __entry->counter_id))
|
| H A D | fs_tracepoint.c | 244 u32 counter_id) in parse_fs_dst() argument 268 trace_seq_printf(p, "counter_id=%u\n", counter_id); in parse_fs_dst()
|
| /linux-6.15/drivers/infiniband/core/ |
| H A D | counters.c | 475 u32 counter_id) in rdma_get_counter_by_id() argument 480 res = rdma_restrack_get_byid(dev, RDMA_RESTRACK_COUNTER, counter_id); in rdma_get_counter_by_id() 495 u32 qp_num, u32 counter_id) in rdma_counter_bind_qpn() argument 510 counter = rdma_get_counter_by_id(dev, counter_id); in rdma_counter_bind_qpn() 545 u32 qp_num, u32 *counter_id) in rdma_counter_bind_qpn_alloc() argument 577 if (counter_id) in rdma_counter_bind_qpn_alloc() 578 *counter_id = counter->id; in rdma_counter_bind_qpn_alloc() 592 u32 qp_num, u32 counter_id) in rdma_counter_unbind_qpn() argument 611 if (!qp->counter || qp->counter->id != counter_id || in rdma_counter_unbind_qpn()
|
| /linux-6.15/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()
|
| H A D | smfs.h | 23 mlx5_smfs_action_create_flow_counter(u32 counter_id);
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | mlx5_ifc_dr_ste_v1.h | 113 u8 counter_id[0x18]; member 144 u8 counter_id[0x18]; member 170 u8 counter_id[0x18]; member
|
| 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()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | vmclock-abi.h | 69 __u8 counter_id; /* Matches VIRTIO_RTC_COUNTER_xxx except INVALID */ member
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_counters.c | 547 mlx5_fc_local_create(u32 counter_id, u32 offset, u32 bulk_size) in mlx5_fc_local_create() argument 562 counter->id = counter_id; in mlx5_fc_local_create() 563 fc_bulk->base_id = counter_id - offset; in mlx5_fc_local_create()
|
| /linux-6.15/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-6.15/drivers/net/ethernet/intel/ice/ |
| H A D | ice_switch.h | 341 u16 *counter_id); 344 u16 counter_id);
|
| H A D | ice_switch.c | 4562 u16 *counter_id) in ice_alloc_res_cntr() argument 4576 *counter_id = le16_to_cpu(buf->elem[0].e.sw_resp); in ice_alloc_res_cntr() 4590 u16 counter_id) in ice_free_res_cntr() argument 4599 buf->elem[0].e.sw_resp = cpu_to_le16(counter_id); in ice_free_res_cntr()
|
| /linux-6.15/drivers/ptp/ |
| H A D | ptp_vmclock.c | 336 st->clk->counter_id == VMCLOCK_COUNTER_ARM_VCNT) { in vmclock_ptp_register() 340 st->clk->counter_id == VMCLOCK_COUNTER_X86_TSC) { in vmclock_ptp_register()
|
| /linux-6.15/include/linux/mlx5/ |
| H A D | fs.h | 309 struct mlx5_fc *mlx5_fc_local_create(u32 counter_id, u32 offset, u32 bulk_size);
|
| /linux-6.15/drivers/infiniband/hw/mlx5/ |
| H A D | fs.c | 2437 is_flow_counter(void *obj, u32 offset, u32 *counter_id, u32 *fc_bulk_size) in is_flow_counter() argument 2448 *counter_id = MLX5_GET(dealloc_flow_counter_in, in is_flow_counter() 2451 *counter_id += offset; in is_flow_counter() 2497 u32 *offset_attr, fc_bulk_size, offset = 0, counter_id = 0; in UVERBS_HANDLER() local 2517 if (!is_flow_counter(devx_obj, offset, &counter_id, &fc_bulk_size)) in UVERBS_HANDLER() 2519 counter = mlx5_fc_local_create(counter_id, offset, fc_bulk_size); in UVERBS_HANDLER()
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.h | 775 u8 counter_id; member
|