netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2 0/3] ibmvnic: Reset behavior fixes
@ 2018-01-18 22:25 John Allen
  2018-01-18 22:26 ` [PATCH net v2 1/3] ibmvnic: Modify buffer size and number of queues on failover John Allen
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: John Allen @ 2018-01-18 22:25 UTC (permalink / raw)
  To: netdev; +Cc: Thomas Falcon, Nathan Fontenot

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.

John Allen (3):
  ibmvnic: Modify buffer size and number of queues on failover
  ibmvnic: Revert to previous mtu when unsupported value requested
  ibmvnic: Allocate and request vpd in init_resources

 drivers/net/ethernet/ibm/ibmvnic.c | 73 ++++++++++++++++++++++++++++++--------
 drivers/net/ethernet/ibm/ibmvnic.h |  2 ++
 2 files changed, 60 insertions(+), 15 deletions(-)

-- 
2.9.5

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-22 20:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-18 22:25 [PATCH net v2 0/3] ibmvnic: Reset behavior fixes John Allen
2018-01-18 22:26 ` [PATCH net v2 1/3] ibmvnic: Modify buffer size and number of queues on failover John Allen
2018-01-19 19:22   ` Nathan Fontenot
2018-01-18 22:27 ` [PATCH net v2 2/3] ibmvnic: Revert to previous mtu when unsupported value requested John Allen
2018-01-19 19:23   ` Nathan Fontenot
2018-01-18 22:27 ` [PATCH net v2 3/3] ibmvnic: Allocate and request vpd in init_resources John Allen
2018-01-19 19:24   ` Nathan Fontenot
2018-01-22 20:47 ` [PATCH net v2 0/3] ibmvnic: Reset behavior fixes David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).