diff options
author | Paul Blakey <paulb@mellanox.com> | 2020-02-16 12:01:33 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-02-19 17:49:49 -0800 |
commit | 7f2fd0a5f8d859d71e710a664a113c4a2620dc4f (patch) | |
tree | fb2236552c2ace52cad70120a61e1508a3d82d4f /lib/mpi/mpi-pow.c | |
parent | ea4cd837b99df6693c3aa067ade528f62544c18d (diff) |
net/mlx5e: Disallow inserting vxlan/vlan egress rules without decap/pop
Currently, rules on tunnel devices can be offloaded without decap action
when a vlan pop action exists. Similarly, the driver will offload rules
on vlan interfaces with no pop action when a decap action exists.
Disallow the faulty behavior by checking that vlan egress rules do pop or
drop and vxlan egress rules do decap, as intended.
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions