Supports IB listening to RDMA traffic

This commit is contained in:
songmw
2025-04-08 11:38:28 +08:00
parent ee9a5cee0a
commit 1c86dffb51

View File

@@ -37,7 +37,7 @@ static bool checkNicType(std::string_view nic, Address::Type type) {
case Address::IPoIB:
return nic.starts_with("ib");
case Address::RDMA:
return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond") || nic.starts_with("xgbe");
return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond") || nic.starts_with("xgbe") || nic.starts_with("ib");
case Address::LOCAL:
return nic.starts_with("lo");
default: