git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: E-Switch, Add default drop rule for unmatched packets
[sfrench/cifs-2.6.git]
/
drivers
/
net
/
ethernet
/
mellanox
/
mlx5
/
core
/
eswitch.h
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
index 87ce5a208cb52e4b7fbecc5b66be0543c0f777a4..d7fc665deab2d6813f8e03dba4a431f08bed1229 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
@@
-244,6
+244,8
@@
struct mlx5_esw_offload {
struct mlx5_flow_table *ft_offloads;
struct mlx5_flow_group *vport_rx_group;
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;
struct xarray vport_reps;
struct list_head peer_flows;
struct mutex peer_mutex;