Searched refs:old_dest (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_fs.c | 500 struct mlx5_flow_destination old_dest, new_dest; in handle_ipsec_rx_bringup() local 502 old_dest = mlx5_ttc_get_default_dest(mlx5e_fs_get_ttc(ipsec->fs, false), in handle_ipsec_rx_bringup() 505 mlx5_ipsec_fs_roce_rx_create(ipsec->mdev, ipsec->roce, ns, &old_dest, family, in handle_ipsec_rx_bringup() 510 mlx5_modify_rule_destination(rx->status.rule, &new_dest, &old_dest); in handle_ipsec_rx_bringup() 511 mlx5_modify_rule_destination(rx->sa.rule, &new_dest, &old_dest); in handle_ipsec_rx_bringup() 517 struct mlx5_flow_destination old_dest, new_dest; in handle_ipsec_rx_cleanup() local 519 old_dest.ft = mlx5_ipsec_fs_roce_ft_get(ipsec->roce, family); in handle_ipsec_rx_cleanup() 520 old_dest.type = MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE; in handle_ipsec_rx_cleanup() 523 mlx5_modify_rule_destination(rx->sa.rule, &new_dest, &old_dest); in handle_ipsec_rx_cleanup() 524 mlx5_modify_rule_destination(rx->status.rule, &new_dest, &old_dest); in handle_ipsec_rx_cleanup()
|
/linux-6.12.1/include/linux/mlx5/ |
D | fs.h | 297 struct mlx5_flow_destination *old_dest);
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.c | 1228 struct mlx5_flow_destination *old_dest) in mlx5_modify_rule_destination() argument 1232 if (!old_dest) { in mlx5_modify_rule_destination() 1240 if (mlx5_flow_dests_cmp(old_dest, &handle->rule[i]->dest_attr)) in mlx5_modify_rule_destination()
|
D | eswitch_offloads.c | 4414 struct mlx5_flow_destination old_dest = {}; in mlx5_eswitch_restore_ipsec_rule() local 4419 esw_setup_dest_fwd_ipsec(&old_dest, NULL, esw, esw_attr, attr_idx, 0, false); in mlx5_eswitch_restore_ipsec_rule() 4422 return mlx5_modify_rule_destination(rule, &new_dest, &old_dest); in mlx5_eswitch_restore_ipsec_rule()
|