Home
last modified time | relevance | path

Searched refs:max_encap_size (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c212 int max_encap_size = MLX5_CAP_ESW(priv->mdev, max_encap_header_size); in mlx5e_tc_tun_create_header_ipv4() local
239 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() local
358 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()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c703 int max_encap_size; in mlx5_cmd_packet_reformat_alloc() local
710 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()