| H A D | eswitch_offloads.c | 435 int attr_idx) in esw_setup_uplink_fwd_ipsec_needed() 438 esw_attr->dests[attr_idx].vport_valid && in esw_setup_uplink_fwd_ipsec_needed() 439 esw_attr->dests[attr_idx].vport == MLX5_VPORT_UPLINK && in esw_setup_uplink_fwd_ipsec_needed() 441 (esw_attr->dests[attr_idx].flags & MLX5_ESW_DEST_ENCAP_VALID) && in esw_setup_uplink_fwd_ipsec_needed() 442 esw_attr->dests[attr_idx].vport != esw_attr->in_rep->vport && in esw_setup_uplink_fwd_ipsec_needed() 443 esw_same_vhca_id(esw_attr->dests[attr_idx].mdev, esw->dev)) in esw_setup_uplink_fwd_ipsec_needed() 472 int attr_idx, int dest_idx, bool pkt_reformat) in esw_setup_dest_fwd_vport() 475 dest[dest_idx].vport.num = esw_attr->dests[attr_idx].vport; in esw_setup_dest_fwd_vport() 478 MLX5_CAP_GEN(esw_attr->dests[attr_idx].mdev, vhca_id); in esw_setup_dest_fwd_vport() 484 if (esw_attr->dests[attr_idx] in esw_setup_dest_fwd_vport() 433 esw_setup_uplink_fwd_ipsec_needed(struct mlx5_eswitch * esw,struct mlx5_esw_flow_attr * esw_attr,int attr_idx) esw_setup_uplink_fwd_ipsec_needed() argument 470 esw_setup_dest_fwd_vport(struct mlx5_flow_destination * dest,struct mlx5_flow_act * flow_act,struct mlx5_eswitch * esw,struct mlx5_esw_flow_attr * esw_attr,int attr_idx,int dest_idx,bool pkt_reformat) esw_setup_dest_fwd_vport() argument 495 esw_setup_dest_fwd_ipsec(struct mlx5_flow_destination * dest,struct mlx5_flow_act * flow_act,struct mlx5_eswitch * esw,struct mlx5_esw_flow_attr * esw_attr,int attr_idx,int dest_idx,bool pkt_reformat) esw_setup_dest_fwd_ipsec() argument 509 esw_setup_vport_dest(struct mlx5_flow_destination * dest,struct mlx5_flow_act * flow_act,struct mlx5_eswitch * esw,struct mlx5_esw_flow_attr * esw_attr,int attr_idx,int dest_idx,bool pkt_reformat) esw_setup_vport_dest() argument 4842 mlx5_eswitch_restore_ipsec_rule(struct mlx5_eswitch * esw,struct mlx5_flow_handle * rule,struct mlx5_esw_flow_attr * esw_attr,int attr_idx) mlx5_eswitch_restore_ipsec_rule() argument [all...] |