Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls.c45 &inet->inet_daddr, MLX5_FLD_SZ_BYTES(ipv4_layout, ipv4)); in mlx5e_tls_set_ipv4_flow()
47 &inet->inet_rcv_saddr, MLX5_FLD_SZ_BYTES(ipv4_layout, ipv4)); in mlx5e_tls_set_ipv4_flow()
57 &sk->sk_v6_daddr, MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6)); in mlx5e_tls_set_ipv6_flow()
59 &np->saddr, MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6)); in mlx5e_tls_set_ipv6_flow()
68 MLX5_FLD_SZ_BYTES(tls_flow, src_port)); in mlx5e_tls_set_flow_tcp_ports()
70 MLX5_FLD_SZ_BYTES(tls_flow, dst_port)); in mlx5e_tls_set_flow_tcp_ports()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dmad.c60 memcpy(data, inb, MLX5_FLD_SZ_BYTES(mad_ifc_in, mad)); in mlx5_core_mad_ifc()
68 MLX5_FLD_SZ_BYTES(mad_ifc_out, response_mad_packet)); in mlx5_core_mad_ifc()
Dpagealloc.c281 inlen += npages * MLX5_FLD_SZ_BYTES(manage_pages_in, pas[0]); in give_pages()
378 outlen += npages * MLX5_FLD_SZ_BYTES(manage_pages_out, pas[0]); in reclaim_pages()
482 MLX5_FLD_SZ_BYTES(manage_pages_out, pas[0]); in optimal_reclaimed_pages()
Dfs_core.h169 MLX5_FLD_SZ_BYTES(fte_match_param, \
Den_fs_ethtool.c152 u8 ip6_sz = MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6); in set_ip6()
386 int size = MLX5_FLD_SZ_BYTES(fte_match_param, outer_headers); in outer_header_zero()
Dfw.c66 MLX5_FLD_SZ_BYTES(query_adapter_out, in mlx5_query_board_id()
Den_tc.c1194 &mask->src, MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6)); in parse_tunnel_attr()
1197 &key->src, MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6)); in parse_tunnel_attr()
1201 &mask->dst, MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6)); in parse_tunnel_attr()
1204 &key->dst, MLX5_FLD_SZ_BYTES(ipv6_layout, ipv6)); in parse_tunnel_attr()
Deq.c682 MLX5_FLD_SZ_BYTES(create_eq_in, pas[0]) * eq->buf.npages; in mlx5_create_map_eq()
Dmain.c210 int driver_ver_sz = MLX5_FLD_SZ_BYTES(set_driver_version_in, in mlx5_set_driver_version()
Den_main.c2627 size_t len = MLX5_FLD_SZ_BYTES(tirc, in mlx5e_build_indir_tir_ctx_hash()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcmd.c152 MLX5_FLD_SZ_BYTES(fpga_create_qp_in, fpga_qpc)); in mlx5_fpga_create_qp()
159 MLX5_FLD_SZ_BYTES(fpga_create_qp_out, fpga_qpc)); in mlx5_fpga_create_qp()
175 MLX5_FLD_SZ_BYTES(fpga_modify_qp_in, fpga_qpc)); in mlx5_fpga_modify_qp()
195 MLX5_FLD_SZ_BYTES(fpga_query_qp_out, fpga_qpc)); in mlx5_fpga_query_qp()
Dipsec.c566 if (!is_full_mask(s_ipv4_c, MLX5_FLD_SZ_BYTES(ipv4_layout, in validate_fpga_full_mask()
568 !is_full_mask(d_ipv4_c, MLX5_FLD_SZ_BYTES(ipv4_layout, in validate_fpga_full_mask()
579 if (!is_full_mask(s_ipv6_c, MLX5_FLD_SZ_BYTES(ipv6_layout, in validate_fpga_full_mask()
581 !is_full_mask(d_ipv6_c, MLX5_FLD_SZ_BYTES(ipv6_layout, in validate_fpga_full_mask()
588 MLX5_FLD_SZ_BYTES(fte_match_set_misc, outer_esp_spi))) in validate_fpga_full_mask()
Dconn.c569 MLX5_FLD_SZ_BYTES(create_qp_in, pas[0]) * in mlx5_fpga_conn_create_qp()
742 MLX5_FLD_SZ_BYTES(qpc, primary_address_path.rgid_rip)); in mlx5_fpga_conn_rtr_qp()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dgid.c134 int gidsz = MLX5_FLD_SZ_BYTES(roce_addr_layout, source_l3_address); in mlx5_core_roce_gid_set()
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dcq.c824 MLX5_FLD_SZ_BYTES(create_cq_in, pas[0]) * ncont; in create_cq_user()
936 MLX5_FLD_SZ_BYTES(create_cq_in, pas[0]) * in create_cq_kernel()
1380 MLX5_FLD_SZ_BYTES(modify_cq_in, pas[0]) * npas; in mlx5_ib_resize_cq()
Ddevx.c687 MLX5_FLD_SZ_BYTES(attach_to_mcg_in, multicast_gid)); in devx_obj_build_destroy_cmd()
Dqp.c846 MLX5_FLD_SZ_BYTES(create_qp_in, pas[0]) * ncont; in create_user_qp()
964 MLX5_FLD_SZ_BYTES(create_qp_in, pas[0]) * qp->buf.npages; in create_kernel_qp()
1496 size_t len = MLX5_FLD_SZ_BYTES(tirc, rx_hash_toeplitz_key); in create_rss_raw_qp_tir()
Dmain.c2364 0, MLX5_FLD_SZ_BYTES(fte_match_param, headers))) \
/Linux-v4.19/include/linux/mlx5/
Ddevice.h63 #define MLX5_FLD_SZ_BYTES(typ, fld) (__mlx5_bit_sz(typ, fld) / 8) macro
288 #define MLX5_USER_INDEX_LEN (MLX5_FLD_SZ_BYTES(qpc, user_index) * 8)