diff options
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2017-06-01 15:29:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-01 12:17:19 -0400 |
commit | 50a207147fceb64ad24c1e08e4a2a75535922e81 (patch) | |
tree | c06a33a03a9864786d541849f2cb99e143632036 /drivers/net/ethernet/qlogic/qed/qed.h | |
parent | 09b6b14749523e3660b72be2ed91b3c0b852f58f (diff) | |
download | linux-stable-50a207147fceb64ad24c1e08e4a2a75535922e81.tar.gz linux-stable-50a207147fceb64ad24c1e08e4a2a75535922e81.tar.bz2 linux-stable-50a207147fceb64ad24c1e08e4a2a75535922e81.zip |
qed: Hold a single array for SBs
A PF today holds 2 different arrays - one holding information
about the HW configuration and one holding information about
the SBs that are used by the protocol drivers.
These arrays aren't really connected - e.g., protocol driver
initializing a given SB would not mark the same SB as occupied
in the HW shadow array.
Move into a single array [at least for PFs] - hold the mapping
of the driver-protocol SBs on the HW entry which they configure.
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.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed.h b/drivers/net/ethernet/qlogic/qed/qed.h index e0becec17b09..ffc080795be7 100644 --- a/drivers/net/ethernet/qlogic/qed/qed.h +++ b/drivers/net/ethernet/qlogic/qed/qed.h @@ -495,10 +495,6 @@ struct qed_hwfn { bool b_rdma_enabled_in_prs; u32 rdma_prs_search_reg; - /* Array of sb_info of all status blocks */ - struct qed_sb_info *sbs_info[MAX_SB_PER_PF_MIMD]; - u16 num_sbs; - struct qed_cxt_mngr *p_cxt_mngr; /* Flag indicating whether interrupts are enabled or not*/ |