diff options
author | Rony Efraim <ronye@mellanox.com> | 2013-05-08 22:22:35 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-11 16:12:44 -0700 |
commit | 7677fc965fba41d1386fa3b76a1f00303f02bb2d (patch) | |
tree | 1324b8af989563dea62f9bc7f952c411f8d8a2dd /net/ipv4/ip_output.c | |
parent | 4e8cf5b8a1da8dbe1ece5f084b99f5c902ea709b (diff) | |
download | op-kernel-dev-7677fc965fba41d1386fa3b76a1f00303f02bb2d.zip op-kernel-dev-7677fc965fba41d1386fa3b76a1f00303f02bb2d.tar.gz |
net/mlx4: Strengthen VLAN tags/priorities enforcement in VST mode
Make sure that the following steps are taken:
- drop packets sent by the VF with vlan tag
- block packets with vlan tag which are steered to the VF
- drop/block tagged packets when the policy is priority-tagged
- make sure VLAN stripping for received packets is set
- make sure force UP bit for the VF QP is set
Use enum values for all the above instead of numerical bit offsets.
Signed-off-by: Rony Efraim <ronye@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_output.c')
0 files changed, 0 insertions, 0 deletions