deepseek-ai / deepseek-ai/3FS

Monitor service checkNicType()

Open
#181 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
10.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

```c++
static bool checkNicType(std::string_view nic, Address::Type type) {
switch (type) {
case Address::TCP:
return nic.starts_with("en") || nic.starts_with("eth") || nic.starts_with("bond");
case Address::RDMA:
return nic.starts_with("ib") || nic.starts_with("bond");
case Address::LOCAL:
return nic.starts_with("lo");
default:
return false;
}
}

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.