1. 28 3月, 2018 8 次提交
  2. 24 3月, 2018 2 次提交
    • J
      RDMA/ocrdma: Fix structure layout for ocrdma_alloc_pd · f64705b8
      Jason Gunthorpe 提交于
      The udata's for alloc_pd cannot contain u64s due to alignment
      constraints. Switch the two never-used u64's to arrays of u32 to reduce
      the required struct alignment to 4 bytes.
      
      These reserved fields are totally unnecessary, never written and never
      read.
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      f64705b8
    • P
      IB/cma: Resolve route only while receiving CM requests · 114cc9c4
      Parav Pandit 提交于
      Currently CM request for RoCE follows following flow.
      rdma_create_id()
      rdma_resolve_addr()
      rdma_resolve_route()
      For RC QPs:
      rdma_connect()
      ->cma_connect_ib()
        ->ib_send_cm_req()
          ->cm_init_av_by_path()
            ->ib_init_ah_attr_from_path()
      For UD QPs:
      rdma_connect()
      ->cma_resolve_ib_udp()
        ->ib_send_cm_sidr_req()
          ->cm_init_av_by_path()
            ->ib_init_ah_attr_from_path()
      
      In both the flows, route is already resolved before sending CM requests.
      Therefore, code is refactored to avoid resolving route second time in
      ib_cm layer.
      ib_init_ah_attr_from_path() is extended to resolve route when it is not
      yet resolved for RoCE link layer. This is achieved by caller setting
      route_resolved field in path record whenever it has route already
      resolved.
      Signed-off-by: NParav Pandit <parav@mellanox.com>
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      114cc9c4
  3. 23 3月, 2018 2 次提交
  4. 20 3月, 2018 11 次提交
  5. 16 3月, 2018 12 次提交
  6. 15 3月, 2018 2 次提交
  7. 14 3月, 2018 3 次提交