]> 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)
commit91040d9c20a5aba1f257e71c6bbebf88ee514fbf
treedbccddd469066137cb152eb96789184fc591267d
parent11a1a76e085fd3257f004fe5fd2db92ab08f1b02
parent81366ae2ad4734abf69e6c79a54d2dfdc12aae49
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>