summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qed/qed_sriov.c
diff options
context:
space:
mode:
authorMintz, Yuval <Yuval.Mintz@cavium.com>2017-06-01 15:29:10 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-01 19:17:20 +0300
commitebbdcc669c7f9d8632d358a739d814485f8917dc (patch)
tree29c4c0228a64fe5eb7890a9eaf65f456cc67bb61 /drivers/net/ethernet/qlogic/qed/qed_sriov.c
parent50a207147fceb64ad24c1e08e4a2a75535922e81 (diff)
downloadlinux-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/ethernet/qlogic/qed/qed_sriov.c')
0 files changed, 0 insertions, 0 deletions