Searched refs:max_encap_size (Results 1 – 2 of 2) sorted by relevance
212 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv4() local239 if (max_encap_size < ipv4_encap_size) { in mlx5e_tc_tun_create_header_ipv4()241 ipv4_encap_size, max_encap_size); in mlx5e_tc_tun_create_header_ipv4()331 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv6() local358 if (max_encap_size < ipv6_encap_size) { in mlx5e_tc_tun_create_header_ipv6()360 ipv6_encap_size, max_encap_size); in mlx5e_tc_tun_create_header_ipv6()
703 int max_encap_size; in mlx5_cmd_packet_reformat_alloc() local710 max_encap_size = MLX5_CAP_ESW(dev, max_encap_header_size); in mlx5_cmd_packet_reformat_alloc()712 max_encap_size = MLX5_CAP_FLOWTABLE(dev, max_encap_header_size); in mlx5_cmd_packet_reformat_alloc()714 if (size > max_encap_size) { in mlx5_cmd_packet_reformat_alloc()716 size, max_encap_size); in mlx5_cmd_packet_reformat_alloc()