net/mlx4_core: Adjust the schedule queue port in reset-to-init too
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 21 May 2015 12:14:09 +0000 (15:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2015 03:05:10 +0000 (23:05 -0400)
commite5dfbf9a7904b3e21e665bed923eda49ced732d4
treec7d2a8ba5c62ee1a224930cc57502f1be9b986df
parentf40e99e927c00356025c70adf2060eaaf35151a6
net/mlx4_core: Adjust the schedule queue port in reset-to-init too

It's legal for drivers to provide the QP port through the
QPC schedule-queue field on the reset-to-init QP state change.

Add adjusting of the schedule queue port in the SRIOV wrapper
for that operation too.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c