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 <>
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: <> # v2.6.14+
    Reviewed-by: Steve Wise <>
    Signed-off-by: Mustafa Ismail <>
    Tested-by: Mike Marciniszyn <>
    Signed-off-by: Doug Ledford <>

** 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.

  Infiniband: add missing values in queue pair attributes

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to