Home
last modified time | relevance | path

Searched refs:on_esw (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/mlx5/
H A Deswitch.h73 mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *on_esw,
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c928 mlx5_eswitch_add_send_to_vport_rule(struct mlx5_eswitch *on_esw, in mlx5_eswitch_add_send_to_vport_rule() argument
957 if (mlx5_eswitch_vport_match_metadata_enabled(on_esw)) { in mlx5_eswitch_add_send_to_vport_rule()
971 if (MLX5_CAP_ESW(on_esw->dev, merged_eswitch)) in mlx5_eswitch_add_send_to_vport_rule()
978 if (MLX5_CAP_ESW(on_esw->dev, merged_eswitch)) in mlx5_eswitch_add_send_to_vport_rule()
992 on_esw == from_esw && on_esw->offloads.ft_ipsec_tx_pol) { in mlx5_eswitch_add_send_to_vport_rule()
993 dest.ft = on_esw->offloads.ft_ipsec_tx_pol; in mlx5_eswitch_add_send_to_vport_rule()
1003 if (MLX5_CAP_ESW_FLOWTABLE(on_esw->dev, flow_source) && in mlx5_eswitch_add_send_to_vport_rule()
1007 flow_rule = mlx5_add_flow_rules(mlx5_eswitch_get_slow_fdb(on_esw), in mlx5_eswitch_add_send_to_vport_rule()
1010 esw_warn(on_esw->dev, "FDB: Failed to add send to vport rule err %ld\n", in mlx5_eswitch_add_send_to_vport_rule()