Searched refs:max_encap_size (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 227 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv4() local 253 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() local 368 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() local 522 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() 611 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_update_header_ipv6() local [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_cmd.c | 879 int max_encap_size; in mlx5_cmd_packet_reformat_alloc() local 887 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()
|