diff options
author | Parav Pandit <parav@mellanox.com> | 2019-10-28 23:35:03 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-11-01 14:40:26 -0700 |
commit | fdde49e00b9d2041086568b52670043a8def96ff (patch) | |
tree | e404f80f55e090aff25df01c5b93e05f24712efe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b1a3380aa709082761c1dba89234ac16c19037c6 (diff) |
net/mlx5: E-switch, Introduce and use vlan rule config helper
Between legacy mode and switchdev mode, only two fields are changed,
vlan_tag and flow action.
Hence to avoid duplicte code between two modes, introduce and and use
helper function to configure allowed VLAN rule.
While at it, get rid of duplicate debug message.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Vu Pham <vuhuong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions