1. 25 8月, 2020 3 次提交
  2. 21 7月, 2020 7 次提交
  3. 07 7月, 2020 2 次提交
    • A
      net: qed: sanitize BE/LE data processing · 5ab90341
      Alexander Lobakin 提交于
      Current code assumes that both host and device operates in Little Endian
      in lots of places. While this is true for x86 platform, this doesn't mean
      we should not care about this.
      
      This commit addresses all parts of the code that were pointed out by sparse
      checker. All operations with restricted (__be*/__le*) types are now
      protected with explicit from/to CPU conversions, even if they're noops on
      common setups.
      
      I'm sure there are more such places, but this implies a deeper code
      investigation, and is a subject for future works.
      Signed-off-by: NAlexander Lobakin <alobakin@marvell.com>
      Signed-off-by: NIgor Russkikh <irusskikh@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5ab90341
    • A
      net: qed: cleanup global structs declarations · c6b7314d
      Alexander Lobakin 提交于
      Fix several sparse warnings by moving structs declarations into
      the corresponding header files:
      
      drivers/net/ethernet/qlogic/qed/qed_dcbx.c:2402:32: warning:
      symbol 'qed_dcbnl_ops_pass' was not declared. Should it be static?
      
      drivers/net/ethernet/qlogic/qed/qed_ll2.c:2754:26: warning: symbol
      'qed_ll2_ops_pass' was not declared. Should it be static?
      
      drivers/net/ethernet/qlogic/qed/qed_ptp.c:449:30: warning: symbol
      'qed_ptp_ops_pass' was not declared. Should it be static?
      
      drivers/net/ethernet/qlogic/qed/qed_sriov.c:5265:29: warning:
      symbol 'qed_iov_ops_pass' was not declared. Should it be static?
      
      (some of them were declared twice in different header files)
      
      Also make qed_hw_err_type_descr[] const while at it.
      Signed-off-by: NAlexander Lobakin <alobakin@marvell.com>
      Signed-off-by: NIgor Russkikh <irusskikh@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c6b7314d
  4. 02 7月, 2020 1 次提交
  5. 01 7月, 2020 2 次提交
  6. 15 5月, 2020 2 次提交
  7. 24 4月, 2020 1 次提交
  8. 18 4月, 2020 1 次提交
  9. 30 3月, 2020 1 次提交
  10. 27 1月, 2020 1 次提交
  11. 31 10月, 2019 1 次提交
  12. 11 9月, 2019 2 次提交
  13. 01 9月, 2019 2 次提交
  14. 23 8月, 2019 1 次提交
  15. 16 8月, 2019 1 次提交
  16. 09 8月, 2019 1 次提交
  17. 27 5月, 2019 2 次提交
  18. 15 4月, 2019 1 次提交
    • D
      qed: Fix missing DORQ attentions · d4476b8a
      Denis Bolotin 提交于
      When the DORQ (doorbell block) is overflowed, all PFs get attentions at the
      same time. If one PF finished handling the attention before another PF even
      started, the second PF might miss the DORQ's attention bit and not handle
      the attention at all.
      If the DORQ attention is missed and the issue is not resolved, another
      attention will not be sent, therefore each attention is treated as a
      potential DORQ attention.
      As a result, the attention callback is called more frequently so the debug
      print was moved to reduce its quantity.
      The number of periodic doorbell recovery handler schedules was reduced
      because it was the previous way to mitigating the missed attention issue.
      Signed-off-by: NDenis Bolotin <dbolotin@marvell.com>
      Signed-off-by: NMichal Kalderon <mkalderon@marvell.com>
      Signed-off-by: NAriel Elior <aelior@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d4476b8a
  19. 09 2月, 2019 1 次提交
  20. 29 1月, 2019 1 次提交
  21. 26 1月, 2019 1 次提交
  22. 23 1月, 2019 1 次提交
  23. 01 12月, 2018 2 次提交
  24. 28 11月, 2018 1 次提交
  25. 14 11月, 2018 1 次提交