]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Adjust the schedule queue port for single ported IB VFs
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 21 May 2015 12:14:08 +0000 (15:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2015 03:05:09 +0000 (23:05 -0400)
commit33084a35864cb521ea3b181232c7452e96a178d2
tree0597c6593908eb668a6317198f596ce89fe0ab58
parent586b0eb722063ad4eb9049699b1479fd3c3acf72
net/mlx4_core: Adjust the schedule queue port for single ported IB VFs

Some VF drivers flow set the schedule queue in the QP context but
without setting none of OPTPAR_SCHED_QUEUE or OPTPAR_PRIMARY_ADDR_PATH.

To allow for such non-modified drivers to function as single ported
IB VFs, we must adjust the schedule queue port whenever being set,
e.g as currently done for single ported Eth VFs.

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