Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c227 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()
636 if (max_encap_size < ipv6_encap_size) { in mlx5e_tc_tun_update_header_ipv6()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_cmd.c879 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()