commit | fdde49e00b9d2041086568b52670043a8def96ff | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Mon Oct 28 23:35:03 2019 +0000 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Nov 01 14:40:26 2019 -0700 |
tree | e404f80f55e090aff25df01c5b93e05f24712efe | |
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>