Searched refs:max_encap_size (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A 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() 344 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_update_header_ipv4() local 369 if (max_encap_size < ipv4_encap_size) { in mlx5e_tc_tun_update_header_ipv4() 371 ipv4_encap_size, max_encap_size); in mlx5e_tc_tun_update_header_ipv4() 499 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv6() local 524 if (max_encap_size < ipv6_encap_size) { in mlx5e_tc_tun_create_header_ipv6() 526 ipv6_encap_size, max_encap_size); in mlx5e_tc_tun_create_header_ipv6() 614 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_update_header_ipv6() local [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A 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()
|