mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
msg/async/rdma: show port state with string
Show the port state with string is more easy to be read through value. Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
This commit is contained in:
parent
b61a48c197
commit
c86e927888
@ -143,7 +143,8 @@ void Device::binding_port(CephContext *cct, int port_num) {
|
||||
ldout(cct, 1) << __func__ << " found active port " << static_cast<int>(port_id) << dendl;
|
||||
break;
|
||||
} else {
|
||||
ldout(cct, 10) << __func__ << " port " << port_id << " is not what we want. state: " << port->get_port_attr()->state << ")"<< dendl;
|
||||
ldout(cct, 10) << __func__ << " port " << port_id << " is not what we want. state: "
|
||||
<< ibv_port_state_str(port->get_port_attr()->state) << dendl;
|
||||
delete port;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user