1. 20 4月, 2022 1 次提交
  2. 12 4月, 2022 1 次提交
  3. 16 3月, 2022 3 次提交
  4. 16 2月, 2022 1 次提交
  5. 08 2月, 2022 1 次提交
  6. 07 10月, 2021 1 次提交
  7. 28 9月, 2021 2 次提交
  8. 24 9月, 2021 1 次提交
  9. 02 8月, 2021 1 次提交
  10. 16 7月, 2021 1 次提交
  11. 25 6月, 2021 1 次提交
  12. 23 6月, 2021 4 次提交
  13. 17 6月, 2021 3 次提交
  14. 04 6月, 2021 1 次提交
  15. 09 4月, 2021 1 次提交
  16. 31 3月, 2021 1 次提交
  17. 17 2月, 2021 1 次提交
  18. 09 2月, 2021 1 次提交
  19. 21 1月, 2021 1 次提交
    • M
      Revert "RDMA/rxe: Remove VLAN code leftovers from RXE" · f1b0a8ea
      Martin Wilck 提交于
      This reverts commit b2d24404.
      
      It's true that creating rxe on top of 802.1q interfaces doesn't work.
      Thus, commit fd49ddaf ("RDMA/rxe: prevent rxe creation on top of vlan
      interface") was absolutely correct.
      
      But b2d24404 was incorrect assuming that with this change, RDMA and
      VLAN don't work togehter at all. It just has to be set up
      differently. Rather than creating rxe on top of the VLAN interface, rxe
      must be created on top of the physical interface.  RDMA then works just
      fine through VLAN interfaces on top of that physical interface, via the
      "upper device" logic.
      
      This is hard to see in the rxe logic because it never talks about vlan,
      but instead rxe carefully selects upper vlan netdevices when working with
      packets which in turn imply certain vlan tagging. This is all done
      correctly and interacts with the gid table with VLAN support the same as
      real HW does.
      
      b2d24404 broke this setup deliberately and should thus be
      reverted. Also, b2d24404 removed rxe_dma_device(), so adapt the revert
      to discard that hunk.
      
      Fixes: b2d24404 ("RDMA/rxe: Remove VLAN code leftovers from RXE")
      Link: https://lore.kernel.org/r/20210120161913.7347-1-mwilck@suse.comSigned-off-by: NMartin Wilck <mwilck@suse.com>
      Signed-off-by: NJason Gunthorpe <jgg@nvidia.com>
      f1b0a8ea
  20. 12 11月, 2020 1 次提交
  21. 31 8月, 2020 1 次提交
  22. 10 12月, 2019 1 次提交
  23. 09 7月, 2019 1 次提交
  24. 22 1月, 2019 1 次提交
  25. 09 11月, 2018 2 次提交
  26. 07 11月, 2018 2 次提交
  27. 31 8月, 2018 2 次提交
    • V
      IB/rxe: fix for duplicate request processing and ack psns · b97db585
      Vijay Immanuel 提交于
      Don't reset the resp opcode for a replayed read response.
      The resp opcode could be in the middle of a write or send
      sequence, when the duplicate read request was received.
      An example sequence is as follows:
      - Receive read request for 12KB PSN 20. Transmit read response
        first, middle and last with PSNs 20,21,22.
      - Receive write first PSN 23.
        At this point the resp psn is 24 and resp opcode is write first.
      - The sender notices that PSN 20 is dropped and retransmits.
        Receive read request for 12KB PSN 20. Transmit read response
        first, middle and last with PSNs 20,21,22. The resp opcode is
        set to -1, the resp psn remains 24.
      - Receive write first PSN 23. This is processed by duplicate_request().
        The resp opcode remains -1 and resp psn remains 24.
      - Receive write middle PSN 24. check_op_seq() reports a missing
        first error since the resp opcode is -1.
      
      When sending an ack for a duplicate send or write request,
      use the psn of the previous ack sent. Do not use the psn
      of a read response for the ack.
      An example sequence is as follows:
      - Receive write PSN 30. Transmit ACK for PSN 30.
      - Receive read request 4KB PSN 31. Transmit read response with
        PSN 31. The resp psn is now 32.
      - The sender notices that PSN 30 is dropped and retransmits.
        Receive write PSN 30. duplicate_request() sends an ACK with
        PSN 31. That is incorrect since PSN 31 was a read request.
      Signed-off-by: NVijay Immanuel <vijayi@attalasystems.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      b97db585
    • P
      IB/rxe: Simplify rxe_find_route() to avoid GID query for netdev · 3db2bceb
      Parav Pandit 提交于
      rxe_prepare() is called on an skb which has ndev already initialized by
      rxe_init_packet().
      Therefore avoid querying the GID attribute again and use the available
      netdevice from the skb->dev.
      Signed-off-by: NParav Pandit <parav@mellanox.com>
      Reviewed-by: NDaniel Jurgens <danielj@mellanox.com>
      Reviewed-by: NYuval Shaia <yuval.shaia@oracle.com>
      Tested-by: NYuval Shaia <yuval.shaia@oracle.com>
      Signed-off-by: NZhu Yanjun <yanjun.zhu@oracle.com>
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      3db2bceb
  28. 19 6月, 2018 1 次提交
  29. 28 4月, 2018 1 次提交
    • Z
      IB/rxe: avoid double kfree_skb · 9fd4350b
      Zhu Yanjun 提交于
      When skb is sent, it will pass the following functions in soft roce.
      
      rxe_send [rdma_rxe]
          ip_local_out
              __ip_local_out
              ip_output
                  ip_finish_output
                      ip_finish_output2
                          dev_queue_xmit
                              __dev_queue_xmit
                                  dev_hard_start_xmit
      
      In the above functions, if error occurs in the above functions or
      iptables rules drop skb after ip_local_out, kfree_skb will be called.
      So it is not necessary to call kfree_skb in soft roce module again.
      Or else crash will occur.
      
      The steps to reproduce:
      
           server                       client
          ---------                    ---------
          |1.1.1.1|<----rxe-channel--->|1.1.1.2|
          ---------                    ---------
      
      On server: rping -s -a 1.1.1.1 -v -C 10000 -S 512
      On client: rping -c -a 1.1.1.1 -v -C 10000 -S 512
      
      The kernel configs CONFIG_DEBUG_KMEMLEAK and
      CONFIG_DEBUG_OBJECTS are enabled on both server and client.
      
      When rping runs, run the following command in server:
      
      iptables -I OUTPUT -p udp  --dport 4791 -j DROP
      
      Without this patch, crash will occur.
      
      CC: Srinivas Eeda <srinivas.eeda@oracle.com>
      CC: Junxiao Bi <junxiao.bi@oracle.com>
      Signed-off-by: NZhu Yanjun <yanjun.zhu@oracle.com>
      Reviewed-by: NYuval Shaia <yuval.shaia@oracle.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      9fd4350b