]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net/mlx4_core: Fix namespace misalignment in QinQ VST support commit
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Tue, 1 Aug 2017 13:43:45 +0000 (16:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Aug 2017 17:44:09 +0000 (10:44 -0700)
commitf9fb9d0b8519a795eeaca5108205593b66068cce
treedfcffaceefcd364656269fd1c36d1163be304fee
parent5886259c127026ee4a6a7093d6c320440d833fda
net/mlx4_core: Fix namespace misalignment in QinQ VST support commit

The cited commit introduced the following new enum value in file
include/linux/mlx4/device.h:

    MLX4_DEV_CAP_FLAG2_SVLAN_BY_QP

However the value of MLX4_DEV_CAP_FLAG2_SVLAN_BY_QP needs to stay
consistent with the value used in another namespace in
function dump_dev_cap_flags2(), which is manually kept in sync.
The change here restores that consistency.

Fixes: 7c3d21c8153c ("net/mlx4_core: Preparation for VF vlan protocol 802.1ad")
Reported-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c