Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c601 int num_encap = 0; in mlx5dr_cmd_set_extended_dest() local
614 num_encap++; in mlx5dr_cmd_set_extended_dest()
618 if (num_fwd_destinations > 1 && num_encap > 0) in mlx5dr_cmd_set_extended_dest()
625 if (num_encap > (1 << fw_log_max_fdb_encap_uplink)) { in mlx5dr_cmd_set_extended_dest()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_cmd.c455 int num_encap = 0; in mlx5_set_extended_dest() local
468 num_encap++; in mlx5_set_extended_dest()
471 if (num_fwd_destinations > 1 && num_encap > 0) in mlx5_set_extended_dest()
478 if (num_encap > (1 << fw_log_max_fdb_encap_uplink)) { in mlx5_set_extended_dest()