ibmvnic: Update driver queues after change in ring size support
authorThomas Falcon <tlfalcon@linux.ibm.com>
Wed, 21 Nov 2018 17:17:59 +0000 (11:17 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Nov 2018 19:53:25 +0000 (11:53 -0800)
commit5bf032ef08e6a110edc1e3bfb3c66a208fb55125
treefcd3293be5b650116d47c5f758a64acb75e2e625
parentb7cdec3d699db2e5985ad39de0f25d3b6111928e
ibmvnic: Update driver queues after change in ring size support

During device reset, queue memory is not being updated to accommodate
changes in ring buffer sizes supported by backing hardware. Track
any differences in ring buffer sizes following the reset and update
queue memory when possible.

Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c