]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Fix the resource-type enum in res tracker to conform to FW spec
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Thu, 27 Oct 2016 13:27:13 +0000 (16:27 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Oct 2016 20:23:48 +0000 (16:23 -0400)
commit12eb403f7143697420759b08fcad659391c18665
tree451b7d07a53e6751f376755be636cc97a840fca9
parentc7d63284f375319b671670736a50c7d892f2757d
net/mlx4_core: Fix the resource-type enum in res tracker to conform to FW spec

The resource type enum in the resource tracker was incorrect.
RES_EQ was put in the position of RES_NPORT_ID (a FC resource).

Since the remaining resources maintain their current values,
and RES_EQ is not passed from slaves to the hypervisor in any
FW command, this change affects only the hypervisor.
Therefore, there is no backwards-compatibility issue.

Fixes: 770fe203fcd3 ("mlx4_core: initial header-file changes for SRIOV support")
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
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/mlx4.h