diff options
author | Matan Barak | 2014-09-10 16:41:56 +0300 |
---|---|---|
committer | David S. Miller | 2014-09-10 15:21:34 -0700 |
commit | 09e05c3f78e9e82bda5958eb95bbf719f7a0ed6b (patch) | |
tree | 3c53380e7f88e1efaccab548a2e2f91527b5652b /mm/gup.c | |
parent | b7834758e6f33da401f584035f1b6b62d0672aab (diff) |
net/mlx4: Set vlan stripping policy by the right command
Changing the vlan stripping policy of the QP isn't supported by older
firmware versions for the INIT2RTR command. Nevertheless, we've used it.
Fix that by doing this policy change using INIT2RTR only if the firmware
supports it, otherwise, we call UPDATE_QP command to do the task.
Fixes: 7677fc9 ('net/mlx4: Strengthen VLAN tags/priorities enforcement in VST mode')
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions