fixed bug in attaching nics to hosts, changed documentation format and generator (buggy but usable)
This commit is contained in:
7
docs/network/switch/routing_alg.md
Normal file
7
docs/network/switch/routing_alg.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# network/switch/routing_alg.h
|
||||
## `dofs::hash_ecmp`
|
||||
`PortId hash_ecmp(NodeId src_node, PortId src_port, NodeId dst_node, PortId dst_port, uint32_t differentiator, uint16_t port_count) noexcept;`
|
||||
## `dofs::hash_ecmp`
|
||||
`inline PortId hash_ecmp(NodeId src_node, NodeId dst_node, uint32_t differentiator, uint16_t port_count) noexcept{`
|
||||
## `dofs::hash_ecmp`
|
||||
`return hash_ecmp(src_node, static_cast<PortId>(0), dst_node, static_cast<PortId>(0), differentiator, port_count);`
|
||||
Reference in New Issue
Block a user