RDMA/ipoib: Print a message if only child interface is UP
authorJack Wang <jinpu.wang@ionos.com>
Thu, 8 Apr 2021 09:32:15 +0000 (11:32 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 13 Apr 2021 23:06:34 +0000 (20:06 -0300)
commit3ccbd9333f2783e27d8a631337fbd4d625ffea76
treefd5c2707601678861f27962d179dd351229d2301
parent719d13415f5977710afeb5f4e622c5c9c18976fa
RDMA/ipoib: Print a message if only child interface is UP

When "enhanced IPoIB" is enabled for CX-5 devices it requires the parent
device to be UP, otherwise the child devices won't work.

Thus add a debug message to give admin a hint when only the child
interface is UP but parent interface is not.

Link: https://lore.kernel.org/r/20210408093215.24023-1-jinpu.wang@ionos.com
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c