• Jason Gunthorpe's avatar
    Merge branch 'mlx5_ipoib_qpn' into rdma.git for-next · f11f3f76
    Jason Gunthorpe authored
    Michael Guralnik says:
    
    ====================
    This series handles IPoIB child interface creation with setting
    interface's HW address.
    
    In current implementation, lladdr requested by user is ignored and
    overwritten. Child interface gets the same GID as the parent interface and
    a QP number which is assigned by the underlying drivers.
    
    In this series we fix this behavior so that user's requested address is
    assigned to the newly created interface.
    
    As specific QP number request is not supported for all vendors, QP number
    requested by user will still be overwritten when this is not supported.
    
    Behavior of creation of child interfaces through the sysfs mechanism or
    without specifying a requested address, stays the same.
    ====================
    
    Based on the mlx5-next branch at
          git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux
    due to dependencies.
    
    * branch 'mlx5_ipoib_qpn':
      RDMA/ipoib: Handle user-supplied address when creating child
      net/mlx5: Enable QP number request when creating IPoIB underlay QP
    Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
    f11f3f76
ipoib_main.c 66.2 KB