Home
last modified time | relevance | path

Searched refs:MLX5_FLD_SZ_BYTES (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcmd.c151 MLX5_FLD_SZ_BYTES(fpga_create_qp_in, fpga_qpc)); in mlx5_fpga_create_qp()
158 MLX5_FLD_SZ_BYTES(fpga_create_qp_out, fpga_qpc)); in mlx5_fpga_create_qp()
173 MLX5_FLD_SZ_BYTES(fpga_modify_qp_in, fpga_qpc)); in mlx5_fpga_modify_qp()
193 MLX5_FLD_SZ_BYTES(fpga_query_qp_out, fpga_qpc)); in mlx5_fpga_query_qp()
Dconn.c553 MLX5_FLD_SZ_BYTES(create_qp_in, pas[0]) * in mlx5_fpga_conn_create_qp()
723 MLX5_FLD_SZ_BYTES(qpc, primary_address_path.rgid_rip)); in mlx5_fpga_conn_rtr_qp()
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dcmd.c207 memcpy(data, inb, MLX5_FLD_SZ_BYTES(mad_ifc_in, mad)); in mlx5_cmd_mad_ifc()
215 MLX5_FLD_SZ_BYTES(mad_ifc_out, response_mad_packet)); in mlx5_cmd_mad_ifc()
Dcq.c780 MLX5_FLD_SZ_BYTES(create_cq_in, pas[0]) * ncont; in create_cq_user()
910 MLX5_FLD_SZ_BYTES(create_cq_in, pas[0]) * in create_cq_kernel()
1337 MLX5_FLD_SZ_BYTES(modify_cq_in, pas[0]) * npas; in mlx5_ib_resize_cq()
Ddevx.c1287 MLX5_FLD_SZ_BYTES(attach_to_mcg_in, multicast_gid)); in devx_obj_build_destroy_cmd()
1333 MLX5_FLD_SZ_BYTES(create_mkey_in, in devx_handle_mkey_create()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dhwmon.c186 MLX5_FLD_SZ_BYTES(mtmp_reg, sensor_name_hi) + in mlx5_hwmon_init_channels_names()
187 MLX5_FLD_SZ_BYTES(mtmp_reg, sensor_name_lo)); in mlx5_hwmon_init_channels_names()
Dpagealloc.c366 inlen += npages * MLX5_FLD_SZ_BYTES(manage_pages_in, pas[0]); in give_pages()
532 outlen += npages * MLX5_FLD_SZ_BYTES(manage_pages_out, pas[0]); in reclaim_pages()
695 MLX5_FLD_SZ_BYTES(manage_pages_out, pas[0]); in optimal_reclaimed_pages()
Dfs_core.h229 MLX5_FLD_SZ_BYTES(fte_match_param, \
Den_fs_ethtool.c178 u8 ip6_sz = MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6); in set_ip6()
413 int size = MLX5_FLD_SZ_BYTES(fte_match_param, outer_headers); in outer_header_zero()
Dfw.c89 MLX5_FLD_SZ_BYTES(query_adapter_out, in mlx5_query_board_id()
Deq.c300 MLX5_FLD_SZ_BYTES(create_eq_in, pas[0]) * eq->frag_buf.npages; in create_map_eq()
Dfs_cmd.c1065 memcpy(ptr, match_mask, MLX5_FLD_SZ_BYTES(match_definer, match_mask)); in mlx5_cmd_create_match_definer()
Dmain.c224 int driver_ver_sz = MLX5_FLD_SZ_BYTES(set_driver_version_in, in mlx5_set_driver_version()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dgid.c128 int gidsz = MLX5_FLD_SZ_BYTES(roce_addr_layout, source_l3_address); in mlx5_core_roce_gid_set()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_cmd.c792 memcpy(ptr, def_attr->match_mask, MLX5_FLD_SZ_BYTES(definer, match_mask)); in mlx5hws_cmd_definer_create()
824 cmd_data_sz = MLX5_FLD_SZ_BYTES(packet_reformat_context_in, reformat_data); in mlx5hws_cmd_packet_reformat_create()
973 memcpy(ptr, attr->wqe_ctrl, MLX5_FLD_SZ_BYTES(generate_wqe_in, wqe_ctrl)); in mlx5hws_cmd_generate_wqe()
976 memcpy(ptr, attr->gta_ctrl, MLX5_FLD_SZ_BYTES(generate_wqe_in, wqe_gta_ctrl)); in mlx5hws_cmd_generate_wqe()
979 memcpy(ptr, attr->gta_data_0, MLX5_FLD_SZ_BYTES(generate_wqe_in, wqe_gta_data_0)); in mlx5hws_cmd_generate_wqe()
983 memcpy(ptr, attr->gta_data_1, MLX5_FLD_SZ_BYTES(generate_wqe_in, wqe_gta_data_1)); in mlx5hws_cmd_generate_wqe()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dct_fs_smfs.c67 MLX5_FLD_SZ_BYTES(fte_match_set_lyr_2_4, in mlx5_ct_fs_smfs_fill_mask()
72 MLX5_FLD_SZ_BYTES(fte_match_set_lyr_2_4, in mlx5_ct_fs_smfs_fill_mask()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c887 &match.mask->src, MLX5_FLD_SZ_BYTES(ipv6_layout, in mlx5e_tc_tun_parse()
891 &match.key->src, MLX5_FLD_SZ_BYTES(ipv6_layout, in mlx5e_tc_tun_parse()
896 &match.mask->dst, MLX5_FLD_SZ_BYTES(ipv6_layout, in mlx5e_tc_tun_parse()
900 &match.key->dst, MLX5_FLD_SZ_BYTES(ipv6_layout, in mlx5e_tc_tun_parse()
Dtir.c124 const size_t len = MLX5_FLD_SZ_BYTES(tirc, rx_hash_toeplitz_key); in mlx5e_tir_builder_build_rss()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c545 cmd_data_sz = MLX5_FLD_SZ_BYTES(alloc_packet_reformat_context_in, in mlx5dr_cmd_create_reformat_ctx()
642 memcpy(ptr, match_mask, MLX5_FLD_SZ_BYTES(match_definer, match_mask)); in mlx5dr_cmd_create_definer()
Ddr_ste_v1.c612 memset(action, 0, MLX5_FLD_SZ_BYTES(ste_mask_and_match_v1, action)); in dr_ste_v1_arr_init_next_match()
1049 MLX5_FLD_SZ_BYTES(ste_double_action_insert_with_inline_v1, inline_data); in dr_ste_v1_set_action_decap_l3_list()
Ddr_send.c296 MLX5_FLD_SZ_BYTES(create_qp_in, pas[0]) * in dr_create_rc_qp()
Ddr_action.c1079 u8 match_mask[MLX5_FLD_SZ_BYTES(match_definer, match_mask)] = {}; in dr_action_create_range_definer()
/linux-6.12.1/include/linux/mlx5/
Ddevice.h64 #define MLX5_FLD_SZ_BYTES(typ, fld) (__mlx5_bit_sz(typ, fld) / 8) macro
300 #define MLX5_USER_INDEX_LEN (MLX5_FLD_SZ_BYTES(qpc, user_index) * 8)
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c307 match_definer_mask = kvzalloc(MLX5_FLD_SZ_BYTES(match_definer, in mlx5_lag_create_definer()
/linux-6.12.1/drivers/vfio/pci/mlx5/
Dcmd.c1119 MLX5_FLD_SZ_BYTES(create_cq_in, pas[0]) * in mlx5vf_create_cq()
1196 MLX5_FLD_SZ_BYTES(create_qp_in, pas[0]) * in mlx5vf_create_rc_qp()

12