OSDN Git Service

IB/IPoIB: Remove can't use GFP_NOIO warning
authorKamal Heib <kamalh@mellanox.com>
Thu, 10 Nov 2016 08:16:48 +0000 (10:16 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Nov 2016 01:04:48 +0000 (20:04 -0500)
commit0b59970e7d96edcb3c7f651d9d48e1a59af3c3b0
tree500e17a930a6fb5340ee9c2e713857be159e42ef
parent762f899ae7875554284af92b821be8c083227092
IB/IPoIB: Remove can't use GFP_NOIO warning

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>
drivers/infiniband/ulp/ipoib/ipoib_cm.c