Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_stats.h246 #define VPORT_COUNTER_GET(vstats, c) MLX5_GET64(query_vport_counter_out, \
254 MLX5_GET64(ppcnt_reg, pstats->IEEE_802_3_counters, \
257 MLX5_GET64(ppcnt_reg, pstats->RFC_2863_counters, \
260 MLX5_GET64(ppcnt_reg, pstats->RFC_2819_counters, \
263 MLX5_GET64(ppcnt_reg, (pstats)->phy_statistical_counters, \
266 MLX5_GET64(ppcnt_reg, pstats->per_prio_counters[prio], \
270 MLX5_GET64(ppcnt_reg, (pstats)->eth_ext_counters, \
290 MLX5_GET64(mpcnt_reg, (pcie_stats)->pcie_perf_counters, \
Dmr.c55 mkey->iova = MLX5_GET64(mkc, mkc, start_addr); in mlx5_core_create_mkey()
56 mkey->size = MLX5_GET64(mkc, mkc, len); in mlx5_core_create_mkey()
Dvport.c430 *system_image_guid = MLX5_GET64(query_nic_vport_context_out, out, in mlx5_query_nic_vport_system_image_guid()
450 *node_guid = MLX5_GET64(query_nic_vport_context_out, out, in mlx5_query_nic_vport_node_guid()
1015 *rx_discard_vport_down = MLX5_GET64(query_vnic_env_out, out, in mlx5_query_vport_down_stats()
1017 *tx_discard_vport_down = MLX5_GET64(query_vnic_env_out, out, in mlx5_query_vport_down_stats()
Dfs_counters.c158 u64 packets = MLX5_GET64(traffic_counter, stats, packets); in update_counter_cache()
159 u64 bytes = MLX5_GET64(traffic_counter, stats, octets); in update_counter_cache()
Dpagealloc.c387 free_4k(dev, MLX5_GET64(manage_pages_in, in, pas[i]), func_id); in give_pages()
517 free_4k(dev, MLX5_GET64(manage_pages_out, out, pas[i]), func_id); in reclaim_pages()
Dfs_cmd.c663 *packets = MLX5_GET64(traffic_counter, stats, packets); in mlx5_cmd_fc_query()
664 *bytes = MLX5_GET64(traffic_counter, stats, octets); in mlx5_cmd_fc_query()
Deswitch.c2393 MLX5_GET64(query_vport_counter_out, p, x) in mlx5_eswitch_get_vport_stats()
/Linux-v5.10/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); \
1193 MLX5_GET64(cmd_hca_cap, mdev->caps.hca_cur[MLX5_CAP_GENERAL], cap)
1226 MLX5_GET64(flow_table_nic_cap, (mdev)->caps.hca_cur[MLX5_CAP_FLOW_TABLE], cap)
1298 MLX5_GET64(flow_table_eswitch_cap, \
1352 MLX5_GET64(fpga_cap, (mdev)->caps.fpga, cap)
1358 MLX5_GET64(device_mem_cap, mdev->caps.hca_cur[MLX5_CAP_DEV_MEM], cap)
1371 MLX5_GET64(virtio_emulation_cap, \
/Linux-v5.10/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()
152 output->sw_owner_icm_root_1 = MLX5_GET64(query_flow_table_out, out, in mlx5dr_cmd_query_flow_table()
154 output->sw_owner_icm_root_0 = MLX5_GET64(query_flow_table_out, out, in mlx5dr_cmd_query_flow_table()
/Linux-v5.10/drivers/vdpa/mlx5/core/
Dresources.c201 mkey->iova = MLX5_GET64(mkc, mkc, start_addr); in mlx5_vdpa_create_mkey()
202 mkey->size = MLX5_GET64(mkc, mkc, len); in mlx5_vdpa_create_mkey()
/Linux-v5.10/drivers/infiniband/hw/mlx5/
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()
Dcmd.c117 MLX5_GET64(alloc_memic_out, out, memic_start_addr); in mlx5_cmd_alloc_memic()
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()
Ddevx.c1217 mkey->iova = MLX5_GET64(mkc, mkc, start_addr); in devx_handle_mkey_indirect()
1218 mkey->size = MLX5_GET64(mkc, mkc, len); in devx_handle_mkey_indirect()
Dodp.c978 offset = io_virt - MLX5_GET64(query_mkey_out, out, in pagefault_single_data_segment()
Dqp.c1248 MLX5_SET64(wq, wq, dbr_addr, MLX5_GET64(qpc, qpc, dbr_addr)); in create_raw_packet_qp_sq()
1338 MLX5_SET64(wq, wq, dbr_addr, MLX5_GET64(qpc, qpc, dbr_addr)); in create_raw_packet_qp_rq()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dipsec_offload.c312 modify_field_select = MLX5_GET64(ipsec_obj, obj, modify_field_select); in mlx5_modify_ipsec_obj()