diff options
author | David S. Miller <davem@davemloft.net> | 2018-02-21 14:21:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-21 14:21:56 -0500 |
commit | 960103ff8dd176511d3735d22c14fb0a5ce3183e (patch) | |
tree | 26204bbc63591609f03f6b141c5e81c7cce84399 /mm/page-writeback.c | |
parent | f905311356ecb9c88aceeb4fa63ee0a244fc2d72 (diff) | |
parent | abcae546f7b49f02f4b73d6cc8b33c2fc5f2f8a4 (diff) | |
download | linux-960103ff8dd176511d3735d22c14fb0a5ce3183e.tar.bz2 |
Merge branch 'ibmvnic-Make-driver-resources-dynamic'
Nathan Fontenot says:
====================
ibmvnic: Make driver resources dynamic
The ibmvnic driver needs to be able to handle the number of tx/rx
sub-crqs changing during a reset of the driver. To do this several
changes need to be made. First the num_active_[tx|rx]_pools
counters need to be re-named to num_active_[tc|rx]_scrqs, and
updated after resource initialization.
With this change we can now release and init the sub crqs and napi
(for rx sub crqs) when the number of sub crqs change.
Lastly, the stats buffer allocation is updated to always allocate
the maximum number of sub-crqs count of stats buffers.
-Nathan
---
Updates for V3:
Patch 3/5 - Make do_h_free parameter a bool
Updates for V2:
Patch 3/5 - Use correct queue count when driver is in probed state
for releasing sub crqs.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions