diff options
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2017-06-01 15:29:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-01 19:17:20 +0300 |
commit | ebbdcc669c7f9d8632d358a739d814485f8917dc (patch) | |
tree | 29c4c0228a64fe5eb7890a9eaf65f456cc67bb61 /drivers/net/sb1000.c | |
parent | 50a207147fceb64ad24c1e08e4a2a75535922e81 (diff) | |
download | linux-ebbdcc669c7f9d8632d358a739d814485f8917dc.tar.xz |
qed: Reset IGU CAM to default on init
The IGU CAM contains an assocaition between hardware SBs
and interrupt lines, and it can be dynamically configured
to allow more interrupts in one entity over another, specifically
for Re-distibution of SBs between a PF and its child VFs.
While we don't yet use this functionality, there are other
clients that do and as such its possible the information
passed from management firmware during initialization in
regard to the possible number of SBs doesn't accurately reflect
the current HW configuration.
The following changes are going to apply to the driver init sequence:
a. PF is going to re-configure all entries belonging to itself and
its child VFs in IGU CAM based on the management firmware info
regarding the number of SBs that are supposed to exist there.
b. PF is going to stop using the SB resource [management firmware
provided information] for anything but the initialization.
Instead, it would use the live-time counters it maintains for
the numbers.
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sb1000.c')
0 files changed, 0 insertions, 0 deletions