Searched refs:max_encap_size (Results 1 – 2 of 2) sorted by relevance
227 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv4() local253 if (max_encap_size < ipv4_encap_size) { in mlx5e_tc_tun_create_header_ipv4()255 ipv4_encap_size, max_encap_size); in mlx5e_tc_tun_create_header_ipv4()343 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_update_header_ipv4() local368 if (max_encap_size < ipv4_encap_size) { in mlx5e_tc_tun_update_header_ipv4()370 ipv4_encap_size, max_encap_size); in mlx5e_tc_tun_update_header_ipv4()497 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv6() local522 if (max_encap_size < ipv6_encap_size) { in mlx5e_tc_tun_create_header_ipv6()524 ipv6_encap_size, max_encap_size); in mlx5e_tc_tun_create_header_ipv6()636 if (max_encap_size < ipv6_encap_size) { in mlx5e_tc_tun_update_header_ipv6()[all …]
879 int max_encap_size; in mlx5_cmd_packet_reformat_alloc() local887 max_encap_size = MLX5_CAP_ESW(dev, max_encap_header_size); in mlx5_cmd_packet_reformat_alloc()889 max_encap_size = MLX5_CAP_FLOWTABLE(dev, max_encap_header_size); in mlx5_cmd_packet_reformat_alloc()891 if (params->size > max_encap_size) { in mlx5_cmd_packet_reformat_alloc()893 params->size, max_encap_size); in mlx5_cmd_packet_reformat_alloc()