Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c604 struct mlx5_flow_destination *old_dest, in ipsec_rx_update_default_dest() argument
607 mlx5_modify_rule_destination(rx->pol_miss_rule, new_dest, old_dest); in ipsec_rx_update_default_dest()
609 new_dest, old_dest); in ipsec_rx_update_default_dest()
617 struct mlx5_flow_destination old_dest, new_dest; in handle_ipsec_rx_bringup() local
619 old_dest = ipsec_rx_decrypted_pkt_def_dest(ttc, family); in handle_ipsec_rx_bringup()
621 mlx5_ipsec_fs_roce_rx_create(ipsec->mdev, ipsec->roce, ns, &old_dest, family, in handle_ipsec_rx_bringup()
626 ipsec_rx_update_default_dest(rx, &old_dest, &new_dest); in handle_ipsec_rx_bringup()
633 struct mlx5_flow_destination old_dest, new_dest; in handle_ipsec_rx_cleanup() local
635 old_dest.ft = mlx5_ipsec_fs_roce_ft_get(ipsec->roce, family); in handle_ipsec_rx_cleanup()
636 old_dest.type = MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE; in handle_ipsec_rx_cleanup()
[all …]
/linux/include/linux/mlx5/
H A Dfs.h325 struct mlx5_flow_destination *old_dest);
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c1241 struct mlx5_flow_destination *old_dest) in mlx5_modify_rule_destination() argument
1245 if (!old_dest) { in mlx5_modify_rule_destination()
1253 if (mlx5_flow_dests_cmp(old_dest, &handle->rule[i]->dest_attr)) in mlx5_modify_rule_destination()
H A Deswitch_offloads.c4678 struct mlx5_flow_destination old_dest = {}; in mlx5_eswitch_restore_ipsec_rule() local
4683 esw_setup_dest_fwd_ipsec(&old_dest, NULL, esw, esw_attr, attr_idx, 0, false); in mlx5_eswitch_restore_ipsec_rule()
4686 return mlx5_modify_rule_destination(rule, &new_dest, &old_dest); in mlx5_eswitch_restore_ipsec_rule()