diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2015-03-02 18:22:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-02 15:27:19 -0500 |
commit | f5956fafb00afab474c3886b6297f9b5e7aff722 (patch) | |
tree | 9ab0d31f313444d0ec99563705e4a78435557c78 /drivers/md/dm-builtin.c | |
parent | 38674a49f33a9b3ce4eafb8bbd4b18744b3943f9 (diff) |
net/mlx4_core: Fix wrong mask and error flow for the update-qp command
The bit mask for currently supported driver features (MLX4_UPDATE_QP_SUPPORTED_ATTRS)
of the update-qp command was defined twice (using enum value and pre-processor
define directive) and wrong.
The return value of the call to mlx4_update_qp() from within the SRIOV
resource-tracker was wrongly voided down.
Fix both issues.
issue: none
Fixes: 09e05c3f78e9 ('net/mlx4: Set vlan stripping policy by the right command')
Fixes: ce8d9e0d6746 ('net/mlx4_core: Add UPDATE_QP SRIOV wrapper support')
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 'drivers/md/dm-builtin.c')
0 files changed, 0 insertions, 0 deletions