1. 14 9月, 2021 1 次提交
  2. 02 12月, 2020 1 次提交
  3. 29 9月, 2020 9 次提交
  4. 11 9月, 2020 3 次提交
  5. 09 7月, 2020 1 次提交
  6. 30 4月, 2020 1 次提交
  7. 27 2月, 2020 1 次提交
    • H
      net/smc: improve peer ID in CLC decline for SMC-R · a082ec89
      Hans Wippel 提交于
      According to RFC 7609, all CLC messages contain a peer ID that consists
      of a unique instance ID and the MAC address of one of the host's RoCE
      devices. But if a SMC-R connection cannot be established, e.g., because
      no matching pnet table entry is found, the current implementation uses a
      zero value in the CLC decline message although the host's peer ID is set
      to a proper value.
      
      If no RoCE and no ISM device is usable for a connection, there is no LGR
      and the LGR check in smc_clc_send_decline() prevents that the peer ID is
      copied into the CLC decline message for both SMC-D and SMC-R. So, this
      patch modifies the check to also accept the case of no LGR. Also, only a
      valid peer ID is copied into the decline message.
      Signed-off-by: NHans Wippel <ndev@hwipl.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a082ec89
  8. 18 2月, 2020 2 次提交
  9. 14 2月, 2020 1 次提交
  10. 16 11月, 2019 1 次提交
  11. 03 6月, 2019 1 次提交
  12. 13 4月, 2019 1 次提交
  13. 02 2月, 2019 1 次提交
  14. 24 11月, 2018 3 次提交
  15. 24 10月, 2018 1 次提交
    • D
      iov_iter: Separate type from direction and use accessor functions · aa563d7b
      David Howells 提交于
      In the iov_iter struct, separate the iterator type from the iterator
      direction and use accessor functions to access them in most places.
      
      Convert a bunch of places to use switch-statements to access them rather
      then chains of bitwise-AND statements.  This makes it easier to add further
      iterator types.  Also, this can be more efficient as to implement a switch
      of small contiguous integers, the compiler can use ~50% fewer compare
      instructions than it has to use bitwise-and instructions.
      
      Further, cease passing the iterator type into the iterator setup function.
      The iterator function can set that itself.  Only the direction is required.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      aa563d7b
  16. 19 9月, 2018 1 次提交
  17. 26 7月, 2018 2 次提交
  18. 19 7月, 2018 1 次提交
  19. 30 6月, 2018 1 次提交
  20. 19 5月, 2018 1 次提交
  21. 16 5月, 2018 1 次提交
  22. 27 3月, 2018 1 次提交
  23. 17 3月, 2018 2 次提交
  24. 02 3月, 2018 2 次提交