Public bug reported:

On Azure, the RDMA device is exposed as a iWARP device. There is only
one such device in each VM, they are set at port 1.

A recent patch 5ecce4c9b17b("Check port number supplied by user verbs
cmds") starts checking on port_num in qp attributes passed from user
mode libraries. This requires that this value is correctly populated
when calling verb ib_modify_qp. Otherwise this call will fail.

The following patch fixed it. Please pick it up for linux-azure.

commit a62ab66b13a0f9bcb17b7b761f6670941ed5cd62
Author: Ismail, Mustafa <mustafa.ism...@intel.com>
Date:   Fri Jul 14 09:41:31 2017 -0500

    RDMA/core: Initialize port_num in qp_attr

    Initialize the port_num for iWARP in rdma_init_qp_attr.

    Fixes: 5ecce4c9b17b("Check port number supplied by user verbs cmds")
    Cc: <sta...@vger.kernel.org> # v2.6.14+
    Reviewed-by: Steve Wise <sw...@opengridcomputing.com>
    Signed-off-by: Mustafa Ismail <mustafa.ism...@intel.com>
    Tested-by: Mike Marciniszyn <mike.marcinis...@intel.com>
    Signed-off-by: Doug Ledford <dledf...@redhat.com>

** Affects: linux-azure (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1709681

Title:
  Infiniband: add missing values in queue pair attributes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1709681/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to