Home
last modified time | relevance | path

Searched refs:new_dest (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/net/netfilter/ipvs/
H A Dip_vs_mh.c166 struct ip_vs_dest *dest, *new_dest; in ip_vs_mh_populate() local
209 new_dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_mh_populate()
210 if (dest != new_dest) { in ip_vs_mh_populate()
213 ip_vs_dest_hold(new_dest); in ip_vs_mh_populate()
214 RCU_INIT_POINTER(s->lookup[c].dest, new_dest); in ip_vs_mh_populate()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_ttc.h63 struct mlx5_flow_destination *new_dest);
H A Dfs_ttc.c769 struct mlx5_flow_destination *new_dest) in mlx5_ttc_fwd_dest() argument
771 return mlx5_modify_rule_destination(ttc->rules[type].rule, new_dest, in mlx5_ttc_fwd_dest()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c590 struct mlx5_flow_destination *new_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
609 new_dest.ft = mlx5_ipsec_fs_roce_ft_get(ipsec->roce, family); in handle_ipsec_rx_bringup()
610 new_dest.type = MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE; 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
621 new_dest = mlx5_ttc_get_default_dest(mlx5e_fs_get_ttc(ipsec->fs, false), in handle_ipsec_rx_cleanup()
623 ipsec_rx_update_default_dest(rx, &old_dest, &new_dest); in handle_ipsec_rx_cleanup()
/linux-6.15/include/linux/mlx5/
H A Dfs.h303 struct mlx5_flow_destination *new_dest,
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c1234 struct mlx5_flow_destination *new_dest, in mlx5_modify_rule_destination() argument
1243 new_dest); in mlx5_modify_rule_destination()
1249 new_dest); in mlx5_modify_rule_destination()
H A Deswitch_offloads.c4408 struct mlx5_flow_destination new_dest = {}; in mlx5_eswitch_restore_ipsec_rule() local
4415 esw_setup_dest_fwd_vport(&new_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()