1. 05 7月, 2018 1 次提交
  2. 23 5月, 2018 2 次提交
  3. 08 5月, 2018 2 次提交
  4. 30 3月, 2018 2 次提交
  5. 03 1月, 2018 3 次提交
  6. 03 7月, 2017 3 次提交
  7. 10 6月, 2017 1 次提交
    • M
      qed*: LL2 callback operations · 0518c12f
      Michal Kalderon 提交于
      LL2 today is interrupt driven - when tx/rx completion arrives [or any
      other indication], qed needs to operate on the connection and pass
      the information to the protocol-driver [or internal qed consumer].
      Since we have several flavors of ll2 employeed by the driver,
      each handler needs to do an if-else to determine the right functionality
      to use based on the connection type.
      
      In order to make things more scalable [given that we're going to add
      additional types of ll2 flavors] move the infrastrucutre into using
      a callback-based approach - the callbacks would be provided as part
      of the connection's initialization parameters.
      Signed-off-by: NMichal Kalderon <Michal.Kalderon@cavium.com>
      Signed-off-by: NYuval Mintz <Yuval.Mintz@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0518c12f
  8. 05 6月, 2017 2 次提交
  9. 02 6月, 2017 1 次提交
    • M
      qed: Hold a single array for SBs · 50a20714
      Mintz, Yuval 提交于
      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: NYuval Mintz <Yuval.Mintz@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      50a20714
  10. 25 5月, 2017 3 次提交
  11. 22 5月, 2017 1 次提交
  12. 19 5月, 2017 1 次提交
  13. 01 5月, 2017 2 次提交
  14. 28 4月, 2017 2 次提交
  15. 25 4月, 2017 2 次提交
  16. 18 4月, 2017 1 次提交
  17. 07 4月, 2017 1 次提交
  18. 04 4月, 2017 1 次提交
  19. 29 3月, 2017 4 次提交
    • M
      qed: Use BDQ resource for storage protocols · d0d40a73
      Mintz, Yuval 提交于
      Until now, qed used some port-defined value as BDQ index for both iSCSI
      and FCoE.
      
      As management firmware now treats BDQ as a resource and tells each PF
      its BDQ-range, start using a valure from that range instead.
      Signed-off-by: NYuval Mintz <Yuval.Mintz@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d0d40a73
    • T
      qed: Utilize resource-lock based scheme · 9c8517c4
      Tomer Tayar 提交于
      Management firmware is used as an arbiter between the various PFs
      in matters of resources, but some of the resources that need to
      be divided are dependent on the non-management firmware used,
      so management firmware first needs to be told how many resources
      there are before trying to divide them.
      
      As part of the initialization sequence, driver would first inform
      the management firmware of the available resources under
      a dedicated resource lock, and afterwards request for various
      resources which might be based on the previous set values.
      Signed-off-by: NTomer Tayar <Tomer.Tayar@cavium.com>
      Signed-off-by: NYuval Mintz <Yuval.Mintz@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9c8517c4
    • T
      qed: Move to new load request scheme · 5d24bcf1
      Tomer Tayar 提交于
      Management firmware is used as an arbiter between the various PFs
      in regard to loading - it causes the various PFs to load/unload
      sequentially and informs each of its appropriate rule in the init.
      
      But the existing flow is too weak to handle some scenarios where
      PFs aren't properly cleaned prior to loading.
      The significant scenarios falling under this criteria:
        a. Preboot drivers in some environment can't properly unload.
        b. Unexpected driver replacement [kdump, PDA].
      
      Modern management firmware supports a more intricate loading flow,
      where the driver has the ability to overcome previous limitations.
      This moves qed into using this newer scheme.
      
      Notice new scheme is backward compatible, so new drivers would
      still be able to load properly on top of older management firmwares
      and vice versa.
      Signed-off-by: NTomer Tayar <Tomer.Tayar@cavium.com>
      Signed-off-by: NYuval Mintz <Yuval.Mintz@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5d24bcf1
    • T
      qed: Correct HW stop flow · 1226337a
      Tomer Tayar 提交于
      Management firmware is used as arbiter between different PFs
      which are loading/unloading, but in order to use the synchronization
      it offers the contending configurations need to be applied either
      between their LOAD_REQ <-> LOAD_DONE or UNLOAD_REQ <-> UNLOAD_DONE
      management firmware commands.
      
      Existing HW stop flow utilizes 2 different functions: qed_hw_stop() and
      qed_hw_reset() which don't abide this requirement; Most of the closure
      is doing outside the scope of the unload request.
      
      This patch removes qed_hw_reset() and places the relevant stop
      functionality underneath the management firmware protection.
      Signed-off-by: NTomer Tayar <Tomer.Tayar@cavium.com>
      Signed-off-by: NYuval Mintz <Yuval.Mintz@cavium.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1226337a
  20. 15 3月, 2017 1 次提交
  21. 14 3月, 2017 1 次提交
  22. 27 2月, 2017 1 次提交
  23. 20 2月, 2017 1 次提交
  24. 16 2月, 2017 1 次提交