OSDN Git Service

Merge branch 'ibmvnic-LPM-bug-fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:29:01 +0000 (14:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:29:01 +0000 (14:29 -0400)
commit18b6e7955d8f85613478ac1edd01dc1fb4c2a305
treefb0e1abc90a1e1bd09cab91a0781e4c60e4e1232
parent7e9191c54a36c864b901ea8ce56dc42f10c2f5ae
parent21ecba6c48f903781d844b62854bedd8137df470
Merge branch 'ibmvnic-LPM-bug-fixes'

Thomas Falcon says:

====================
ibmvnic: LPM bug fixes

This series of small patches is meant to resolve a number of
bugs, mostly occurring during an ibmvnic driver reset when
recovering from a logical partition migration (LPM).

The first patch ensures that RX buffer pools are properly
activated following an adapter reset by setting the proper
flag in the pool data structure.

The second patch uses netif_tx_disable to stop TX queues when
closing the device during a reset.

Third, fixup a typo that resulted in partial sanitization of
TX/RX descriptor queues following a device reset.

Fourth, remove an ambiguous conditional check that was resulting
in a kernel panic as null RX/TX completion descriptors were being
processed during napi polling while the device is closing.

Finally, fix a condition where the napi polling routine exits
before it has completed its work budget without notifying the
upper network layers. This omission could result in the
napi_disable function sleeping indefinitely under certain conditions.

v2: Attempt to provide a proper cover letter
====================

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