diff options
| author | Rick Farrington <ricardo.farrington@cavium.com> | 2017-05-16 21:14:50 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-05-17 21:48:29 +0300 |
| commit | e1e3ce623699d0cd594fa69f69371a9dbc55aa9a (patch) | |
| tree | be097d666f31a22fb11267bebdbf28cf8ddd0d97 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8b0d3ea555876533b6aa61479335be2c9bdb47e7 (diff) | |
| download | linux-e1e3ce623699d0cd594fa69f69371a9dbc55aa9a.tar.xz | |
liquidio: fix insmod failure when multiple NICs are plugged in
When multiple liquidio NICs are plugged in, the first insmod of the PF
driver succeeds. But after an rmmod, a subsequent insmod fails. Reason is
during rmmod, the PF driver resets the Octeon of only one of the NICs; it
neglects to reset the Octeons of the other NICs.
Fix the insmod failure by adding the missing Octeon resets at rmmod. Keep
a per-NIC refcount that indicates the number of active PFs in a given NIC.
When the refcount goes to zero, then reset the Octeon of that NIC.
Signed-off-by: Rick Farrington <ricardo.farrington@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
