diff options
author | Kamal Heib <kamalh@mellanox.com> | 2016-11-10 03:16:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-26 02:24:35 -0500 |
commit | d622b626270ae58c0d40c55a97170ac464c9063a (patch) | |
tree | 4e9fb872b5edf91f18c4bce5f299fa13d4f9270a /drivers/infiniband | |
parent | 656a7d6575336348000bcf42e9827b3b4ff95102 (diff) |
IB/IPoIB: Remove can't use GFP_NOIO warning
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_cm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_cm.c b/drivers/infiniband/ulp/ipoib/ipoib_cm.c index 339a1eecdfe3..81a8080c18b3 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c | |||
@@ -1054,8 +1054,6 @@ static struct ib_qp *ipoib_cm_create_tx_qp(struct net_device *dev, struct ipoib_ | |||
1054 | 1054 | ||
1055 | tx_qp = ib_create_qp(priv->pd, &attr); | 1055 | tx_qp = ib_create_qp(priv->pd, &attr); |
1056 | if (PTR_ERR(tx_qp) == -EINVAL) { | 1056 | if (PTR_ERR(tx_qp) == -EINVAL) { |
1057 | ipoib_warn(priv, "can't use GFP_NOIO for QPs on device %s, using GFP_KERNEL\n", | ||
1058 | priv->ca->name); | ||
1059 | attr.create_flags &= ~IB_QP_CREATE_USE_GFP_NOIO; | 1057 | attr.create_flags &= ~IB_QP_CREATE_USE_GFP_NOIO; |
1060 | tx_qp = ib_create_qp(priv->pd, &attr); | 1058 | tx_qp = ib_create_qp(priv->pd, &attr); |
1061 | } | 1059 | } |