lkml.org 
[lkml]   [2017]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.16 039/370] IB/IPoIB: Remove can't use GFP_NOIO warning
    3.16.42-rc1 review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Kamal Heib <kamalh@mellanox.com>

    commit 0b59970e7d96edcb3c7f651d9d48e1a59af3c3b0 upstream.

    Remove the warning print of "can't use of GFP_NOIO" to avoid prints in
    each QP creation when devices aren't supporting IB_QP_CREATE_USE_GFP_NOIO.

    This print become more annoying when the IPoIB interface is configured
    to work in connected mode.

    Fixes: 09b93088d750 ('IB: Add a QP creation flag to use GFP_NOIO allocations')
    Signed-off-by: Kamal Heib <kamalh@mellanox.com>
    Signed-off-by: Leon Romanovsky <leon@kernel.org>
    Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
    Signed-off-by: Doug Ledford <dledford@redhat.com>
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    drivers/infiniband/ulp/ipoib/ipoib_cm.c | 2 --
    1 file changed, 2 deletions(-)

    --- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c
    +++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c
    @@ -1038,8 +1038,6 @@ static struct ib_qp *ipoib_cm_create_tx_

    tx_qp = ib_create_qp(priv->pd, &attr);
    if (PTR_ERR(tx_qp) == -EINVAL) {
    - ipoib_warn(priv, "can't use GFP_NOIO for QPs on device %s, using GFP_KERNEL\n",
    - priv->ca->name);
    attr.create_flags &= ~IB_QP_CREATE_USE_GFP_NOIO;
    tx_qp = ib_create_qp(priv->pd, &attr);
    }
    \
     
     \ /
      Last update: 2017-03-10 15:25    [W:4.067 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site