]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ibmvnic-reset-behavior-fixes'
authorDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 20:46:56 +0000 (15:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 20:46:56 +0000 (15:46 -0500)
commit7ee33a65c2e0028e0f388c6a0c1c51cc46ebf215
treedbccddd469066137cb152eb96789184fc591267d
parent02ab07da06e072c9b1431b52ee70a876c521e4c7
parent63de61238516de446136c0a1213b2ae781534921
Merge branch 'ibmvnic-reset-behavior-fixes'

John Allen says:

====================
ibmvnic: Reset behavior fixes

This patchset fixes a number of issues related to ibmvnic reset uncovered
from testing new Power9 machines with Everglades adapters and the new
functionality to change mtu and other parameters in the driver.

Changes since v1:
-In patch 1/3, added the line to free the long term buffers before
allocating a new one. This change inadvertently uncovered the problem
that the number of queues can change after a failover as well. To fix
this, we check whether or not the number of queues has changed in
do_reset and if they have, we do a full release and init of the queues.
-In patch 1/3, added variables to the adapter struct to track how
many rx/tx pools have actually been allocated and modify the release
pools routines to use these values rather than the possibly incorrect
req_rx/tx_queues values.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>