Home
last modified time | relevance | path

Searched refs:old_dest (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c589 struct mlx5_flow_destination *old_dest, in ipsec_rx_update_default_dest() argument
592 mlx5_modify_rule_destination(rx->pol_miss_rule, new_dest, old_dest); in ipsec_rx_update_default_dest()
594 new_dest, old_dest); in ipsec_rx_update_default_dest()
601 struct mlx5_flow_destination old_dest, new_dest; in handle_ipsec_rx_bringup() local
603 old_dest = mlx5_ttc_get_default_dest(mlx5e_fs_get_ttc(ipsec->fs, false), in handle_ipsec_rx_bringup()
606 mlx5_ipsec_fs_roce_rx_create(ipsec->mdev, ipsec->roce, ns, &old_dest, family, in handle_ipsec_rx_bringup()
611 ipsec_rx_update_default_dest(rx, &old_dest, &new_dest); in handle_ipsec_rx_bringup()
617 struct mlx5_flow_destination old_dest, new_dest; in handle_ipsec_rx_cleanup() local
619 old_dest.ft = mlx5_ipsec_fs_roce_ft_get(ipsec->roce, family); in handle_ipsec_rx_cleanup()
620 old_dest in handle_ipsec_rx_cleanup()
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c1240 struct mlx5_flow_destination *old_dest) in mlx5_modify_rule_destination() argument
1244 if (!old_dest) { in mlx5_modify_rule_destination()
1252 if (mlx5_flow_dests_cmp(old_dest, &handle->rule[i]->dest_attr)) in mlx5_modify_rule_destination()
H A Deswitch_offloads.c4409 struct mlx5_flow_destination old_dest = {}; in mlx5_eswitch_restore_ipsec_rule() local
4414 esw_setup_dest_fwd_ipsec(&old_dest, NULL, esw, esw_attr, attr_idx, 0, false); in mlx5_eswitch_restore_ipsec_rule()
4417 return mlx5_modify_rule_destination(rule, &new_dest, &old_dest); in mlx5_eswitch_restore_ipsec_rule()