summaryrefslogtreecommitdiff
path: root/drivers/net/appletalk
diff options
context:
space:
mode:
authorRick Farrington <ricardo.farrington@cavium.com>2017-05-16 11:14:50 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-17 14:48:29 -0400
commite1e3ce623699d0cd594fa69f69371a9dbc55aa9a (patch)
treebe097d666f31a22fb11267bebdbf28cf8ddd0d97 /drivers/net/appletalk
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 <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 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions