diff options
author | Mohamad Haj Yahia | 2016-05-03 16:13:58 +0200 |
---|---|---|
committer | David S. Miller | 2016-05-04 20:04:47 +0200 |
commit | dfcb1ed3c3315902e33da0fc5b0ae4c6d5086a23 (patch) | |
tree | 595dce0fc71cb768e57dfcd9e9ed909dc6ea4cb9 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c | |
parent | net/mlx5: E-Switch, Introduce VST vport ingress/egress ACLs (diff) | |
download | kernel-qcow2-linux-dfcb1ed3c3315902e33da0fc5b0ae4c6d5086a23.tar.gz kernel-qcow2-linux-dfcb1ed3c3315902e33da0fc5b0ae4c6d5086a23.tar.xz kernel-qcow2-linux-dfcb1ed3c3315902e33da0fc5b0ae4c6d5086a23.zip |
net/mlx5: E-Switch, Vport ingress/egress ACLs rules for VST mode
Configure ingress and egress vport ACL rules according to
vlan and qos admin parameters.
Ingress ACL flow table rules:
1) drop any tagged packet sent from the VF
2) allow other traffic (default behavior)
Egress ACL flow table rules:
1) allow only tagged traffic with vlan_tag=vst_vid.
2) drop other traffic.
Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions