aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRick Farrington <[email protected]>2017-05-16 11:14:50 -0700
committerDavid S. Miller <[email protected]>2017-05-17 14:48:29 -0400
commite1e3ce623699d0cd594fa69f69371a9dbc55aa9a (patch)
treebe097d666f31a22fb11267bebdbf28cf8ddd0d97 /tools/perf/scripts/python
parent8b0d3ea555876533b6aa61479335be2c9bdb47e7 (diff)
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 <[email protected]> Signed-off-by: Felix Manlunas <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions