diff options
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2018-02-19 13:30:39 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-21 14:21:48 -0500 |
commit | 86f669b2b7491b5697d9e63538c960ad7e94c6cc (patch) | |
tree | 19deb0931eaccc8a8164f74bde86a2e7287f144a /net | |
parent | ibmvnic: Free and re-allocate scrqs when tx/rx scrqs change (diff) | |
download | linux-dev-86f669b2b7491b5697d9e63538c960ad7e94c6cc.tar.xz linux-dev-86f669b2b7491b5697d9e63538c960ad7e94c6cc.zip |
ibmvnic: Make napi usage dynamic
In order to handle the number of rx sub crqs changing during a driver
reset, the ibmvnic driver also needs to update the number of napi.
To do this the code to init and free napi's is moved to their own
routines so they can be called during the reset process.
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions