Home
last modified time | relevance | path

Searched refs:MLX5_GET64 (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcmd.c223 data->rx_ack_packets = MLX5_GET64(fpga_query_qp_counters_out, out, in mlx5_fpga_query_qp_counters()
225 data->rx_send_packets = MLX5_GET64(fpga_query_qp_counters_out, out, in mlx5_fpga_query_qp_counters()
227 data->tx_ack_packets = MLX5_GET64(fpga_query_qp_counters_out, out, in mlx5_fpga_query_qp_counters()
229 data->tx_send_packets = MLX5_GET64(fpga_query_qp_counters_out, out, in mlx5_fpga_query_qp_counters()
231 data->rx_total_drop = MLX5_GET64(fpga_query_qp_counters_out, out, in mlx5_fpga_query_qp_counters()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.h284 #define VPORT_COUNTER_GET(vstats, c) MLX5_GET64(query_vport_counter_out, \
292 MLX5_GET64(ppcnt_reg, pstats->IEEE_802_3_counters, \
295 MLX5_GET64(ppcnt_reg, pstats->RFC_2863_counters, \
298 MLX5_GET64(ppcnt_reg, pstats->RFC_2819_counters, \
301 MLX5_GET64(ppcnt_reg, (pstats)->phy_statistical_counters, \
304 MLX5_GET64(ppcnt_reg, pstats->per_prio_counters[prio], \
308 MLX5_GET64(ppcnt_reg, (pstats)->eth_ext_counters, \
328 MLX5_GET64(mpcnt_reg, (pcie_stats)->pcie_perf_counters, \
Dvport.c434 *system_image_guid = MLX5_GET64(query_nic_vport_context_out, out, in mlx5_query_nic_vport_system_image_guid()
453 *node_guid = MLX5_GET64(query_nic_vport_context_out, out, in mlx5_query_nic_vport_node_guid()
1016 *rx_discard_vport_down = MLX5_GET64(query_vnic_env_out, out, in mlx5_query_vport_down_stats()
1018 *tx_discard_vport_down = MLX5_GET64(query_vnic_env_out, out, in mlx5_query_vport_down_stats()
Dfs_counters.c166 u64 packets = MLX5_GET64(traffic_counter, stats, packets); in update_counter_cache()
167 u64 bytes = MLX5_GET64(traffic_counter, stats, octets); in update_counter_cache()
Dpagealloc.c402 free_4k(dev, MLX5_GET64(manage_pages_in, in, pas[i]), function); in give_pages()
547 free_4k(dev, MLX5_GET64(manage_pages_out, out, pas[i]), function); in reclaim_pages()
Dfs_cmd.c810 *packets = MLX5_GET64(traffic_counter, stats, packets); in mlx5_cmd_fc_query()
811 *bytes = MLX5_GET64(traffic_counter, stats, octets); in mlx5_cmd_fc_query()
Deswitch.c1873 MLX5_GET64(query_vport_counter_out, p, x) in mlx5_eswitch_get_vport_stats()
/linux-6.1.9/include/linux/mlx5/
Ddevice.h120 #define MLX5_GET64(typ, p, fld) be64_to_cpu(*((__be64 *)(p) + __mlx5_64_off(typ, fld))) macro
123 u64 ___t = MLX5_GET64(typ, p, fld); \
1243 MLX5_GET64(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1252 MLX5_GET64(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap)
1285 MLX5_GET64(flow_table_nic_cap, (mdev)->caps.hca[MLX5_CAP_FLOW_TABLE]->cur, cap)
1357 MLX5_GET64(flow_table_eswitch_cap, \
1433 MLX5_GET64(fpga_cap, (mdev)->caps.fpga, cap)
1439 MLX5_GET64(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap)
1452 MLX5_GET64(virtio_emulation_cap, \
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dstd_types.c58 icm_rx = MLX5_GET64( in fill_vport_icm_addr()
62 icm_tx = MLX5_GET64( in fill_vport_icm_addr()
Dmad.c80 (MLX5_GET64(query_vport_counter_out, p, cntr1) + \ in pma_cnt_ext_assign()
81 MLX5_GET64(query_vport_counter_out, p, cntr2)) in pma_cnt_ext_assign()
Ddm.c79 MLX5_GET64(alloc_memic_out, out, memic_start_addr); in mlx5_cmd_alloc_memic()
146 MLX5_GET64(modify_memic_out, out, memic_operation_addr); in mlx5_cmd_alloc_memic_op()
Dsrq_cmd.c65 in->db_record = MLX5_GET64(wq, wq, dbr_addr); in get_wq()
78 in->db_record = MLX5_GET64(srqc, srqc, dbr_addr); in get_srqc()
Dodp.c901 offset = io_virt - MLX5_GET64(query_mkey_out, out, in pagefault_single_data_segment()
Dqp.c1314 MLX5_SET64(wq, wq, dbr_addr, MLX5_GET64(qpc, qpc, dbr_addr)); in create_raw_packet_qp_sq()
1402 MLX5_SET64(wq, wq, dbr_addr, MLX5_GET64(qpc, qpc, dbr_addr)); in create_raw_packet_qp_rq()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c26 MLX5_GET64(query_esw_vport_context_out, out, in mlx5dr_cmd_query_esw_vport_context()
29 MLX5_GET64(query_esw_vport_context_out, out, in mlx5dr_cmd_query_esw_vport_context()
232 output->sw_owner_icm_root_1 = MLX5_GET64(query_flow_table_out, out, in mlx5dr_cmd_query_flow_table()
234 output->sw_owner_icm_root_0 = MLX5_GET64(query_flow_table_out, out, in mlx5dr_cmd_query_flow_table()
262 *rx_icm_addr = MLX5_GET64(sampler_obj, attr, in mlx5dr_cmd_query_flow_sampler()
264 *tx_icm_addr = MLX5_GET64(sampler_obj, attr, in mlx5dr_cmd_query_flow_sampler()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_offload.c174 modify_field_select = MLX5_GET64(ipsec_obj, obj, modify_field_select); in mlx5_modify_ipsec_obj()
Dmacsec.c1347 modify_field_select = MLX5_GET64(macsec_offload_obj, obj, modify_field_select); in mlx5e_macsec_modify_obj()
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c2740 *received_desc = MLX5_GET64(virtio_q_counters, ctx, received_desc); in counter_set_query()
2741 *completed_desc = MLX5_GET64(virtio_q_counters, ctx, completed_desc); in counter_set_query()