]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Fix QUERY FUNC CAP flags
authorMoshe Shemesh <moshe@mellanox.com>
Thu, 22 Sep 2016 09:11:12 +0000 (12:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Sep 2016 12:01:26 +0000 (08:01 -0400)
commit398006035cd52d6dfd4049dfa65c07a683134282
tree95e25cf5593978a8ce33c82e3aa4a52e5e673e55
parente599becb61e008d25fdea9b56524c55013839364
net/mlx4_core: Fix QUERY FUNC CAP flags

Separate QUERY_FUNC_CAP flags0 from QUERY_FUNC_CAP flags, as 'flags' is
already used for another set of flags in FUNC CAP, while phv bit should be
part of a different set of flags.
Remove QUERY_FUNC_CAP port_flags field, as it is not in use.

Fixes: 6447cec02749 ('net/mlx4_core: Preparations for 802.1ad VLAN support')
Fixes: 2fe3cb22a4c8 ('mlx4_core: Added FW commands and their wrappers for supporting SRIOV')
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/fw.h