diff options
author | Roi Dayan <[email protected]> | 2017-03-21 15:59:14 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-03-22 12:11:12 -0700 |
commit | 375f51e2b5b7b9a42b3139aea519cbb1bfc5d6ef (patch) | |
tree | 26c87f5a286d8f6289ad158bae4f0955756de1a3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d85cdccbb3fe9a632ec9d0f4e4526c8c84fc3523 (diff) |
net/mlx5: E-Switch, Don't allow changing inline mode when flows are configured
Changing the eswitch inline mode can potentially cause already configured
flows not to match the policy. E.g. set policy L4, add some L4 rules,
set policy to L2 --> bad! Hence we disallow it.
Keep track of how many offloaded rules are now set and refuse
inline mode changes if this isn't zero.
Fixes: bffaa916588e ("net/mlx5: E-Switch, Add control for inline mode")
Signed-off-by: Roi Dayan <[email protected]>
Reviewed-by: Or Gerlitz <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions