diff options
author | Li Zhijian <lizhijian@fujitsu.com> | 2024-01-09 16:32:53 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-01-25 11:49:50 +0200 |
commit | 190a7affeece58f7727b5cad51d4d51461ece146 (patch) | |
tree | c4e04e83bb2537271725c3abf4d40f3adaac1902 /drivers/infiniband/sw | |
parent | 6482718086bf69f9616d0b86d03514b17afaeb08 (diff) | |
download | linux-stable-190a7affeece58f7727b5cad51d4d51461ece146.tar.gz linux-stable-190a7affeece58f7727b5cad51d4d51461ece146.tar.bz2 linux-stable-190a7affeece58f7727b5cad51d4d51461ece146.zip |
RDMA/rxe: Remove rxe_info from rxe_set_mtu
commit 9ac01f434a1e ("RDMA/rxe: Extend dbg log messages to err and info")
newly added this info. But it did only show null device when
the rdma_rxe is being loaded because dev_name(rxe->ib_dev->dev)
has not yet been assigned at the moment:
"(null): rxe_set_mtu: Set mtu to 1024"
Remove it to silent this message, check the mtu from it backend link
instead if needed.
CC: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Link: https://lore.kernel.org/r/20240109083253.3629967-2-lizhijian@fujitsu.com
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/sw')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe.c b/drivers/infiniband/sw/rxe/rxe.c index a086d588e159..ae466e72fc43 100644 --- a/drivers/infiniband/sw/rxe/rxe.c +++ b/drivers/infiniband/sw/rxe/rxe.c @@ -160,8 +160,6 @@ void rxe_set_mtu(struct rxe_dev *rxe, unsigned int ndev_mtu) port->attr.active_mtu = mtu; port->mtu_cap = ib_mtu_enum_to_int(mtu); - - rxe_info_dev(rxe, "Set mtu to %d\n", port->mtu_cap); } /* called by ifc layer to create new rxe device. |