]> 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)
commit381bd80aa96338b9168f256c74e3aacc58047dad
tree95e25cf5593978a8ce33c82e3aa4a52e5e673e55
parent86c76cfb82d7bc9dc2081ac36e29a944732057e3
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: 37af3af5eeed ('net/mlx4_core: Preparations for 802.1ad VLAN support')
Fixes: f0c1d73b4148 ('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