Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A 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/include/linux/mlx5/
H A Ddevice.h121 #define MLX5_GET64(typ, p, fld) be64_to_cpu(*((__be64 *)(p) + __mlx5_64_off(typ, fld))) macro
124 u64 ___t = MLX5_GET64(typ, p, fld); \
1301 MLX5_GET64(cmd_hca_cap, mdev->caps.hca[MLX5_CAP_GENERAL]->cur, cap)
1310 MLX5_GET64(cmd_hca_cap_2, mdev->caps.hca[MLX5_CAP_GENERAL_2]->cur, cap)
1339 MLX5_GET64(flow_table_nic_cap, (mdev)->caps.hca[MLX5_CAP_FLOW_TABLE]->cur, cap)
1389 MLX5_GET64(flow_table_eswitch_cap, \
1465 MLX5_GET64(fpga_cap, (mdev)->caps.fpga, cap)
1471 MLX5_GET64(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap)
1484 MLX5_GET64(virtio_emulation_cap, \
1492 MLX5_GET64(tlp_dev_emu_capabilities, \
/linux/drivers/infiniband/hw/mlx5/
H A 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()
157 MLX5_GET64(ib_ext_port_cntrs_grp_data_layout, \ in pma_cnt_ext_assign_ppcnt()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c82 u64 packets = MLX5_GET64(traffic_counter, stats, packets); in update_counter_cache()
83 u64 bytes = MLX5_GET64(traffic_counter, stats, octets); in update_counter_cache()
H A Dhwmon.c356 mlx5_hwmon_init_sensors_indexes(hwmon, MLX5_GET64(mtcap_reg, mtcap_out, sensor_map)); in mlx5_hwmon_dev_init()
H A Deswitch.c2850 MLX5_GET64(query_vport_counter_out, p, x) in mlx5_eswitch_get_vport_stats()
H A Den_stats.c1606 hist->values[i].sum = MLX5_GET64(rs_histogram_cntrs, in fec_rs_histogram_fill_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.c116 *icm_addr_0 = MLX5_GET64(flow_table_context, ft_ctx, sws.sw_owner_icm_root_0); in mlx5hws_cmd_flow_table_query()
117 *icm_addr_1 = MLX5_GET64(flow_table_context, ft_ctx, sws.sw_owner_icm_root_1); in mlx5hws_cmd_flow_table_query()
999 MLX5_GET64(query_hca_cap_out, out, in mlx5hws_cmd_query_caps()
H A Ddefiner.c110 MLX5_GET64(fte_match_param, match_param, hdr)
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_offload.c273 modify_field_select = MLX5_GET64(ipsec_obj, obj, modify_field_select); in mlx5_modify_ipsec_obj()
H A Dmacsec.c1342 modify_field_select = MLX5_GET64(macsec_offload_obj, obj, modify_field_select); in mlx5e_macsec_modify_obj()
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c3548 *received_desc = MLX5_GET64(virtio_q_counters, ctx, received_desc); in counter_set_query()
3549 *completed_desc = MLX5_GET64(virtio_q_counters, ctx, completed_desc); in counter_set_query()