Skip to content

Commit

Permalink
ksmbd: add debug print for rdma capable
Browse files Browse the repository at this point in the history
Add debug print to know if netdevice is RDMA-capable network adapter.

Signed-off-by: Namjae Jeon <[email protected]>
  • Loading branch information
namjaejeon committed Nov 18, 2024
1 parent 926a8c7 commit 006903b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions transport_rdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -2310,6 +2310,9 @@ bool ksmbd_rdma_capable_netdev(struct net_device *netdev)
}
}

ksmbd_debug(RDMA, "netdev(%s) rdma capable : %s\n",
netdev->name, rdma_capable ? "true" : "false");

return rdma_capable;
}

Expand Down

0 comments on commit 006903b

Please sign in to comment.