net/mlx5: E-Switch, Add default drop rule for unmatched packets
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / eswitch.h
index 87ce5a208cb52e4b7fbecc5b66be0543c0f777a4..d7fc665deab2d6813f8e03dba4a431f08bed1229 100644 (file)
@@ -244,6 +244,8 @@ struct mlx5_esw_offload {
 
        struct mlx5_flow_table *ft_offloads;
        struct mlx5_flow_group *vport_rx_group;
+       struct mlx5_flow_group *vport_rx_drop_group;
+       struct mlx5_flow_handle *vport_rx_drop_rule;
        struct xarray vport_reps;
        struct list_head peer_flows;
        struct mutex peer_mutex;