-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netlink tile #4049
base: main
Are you sure you want to change the base?
Netlink tile #4049
Conversation
ebeee1a
to
1e5f22d
Compare
# the additional addresses can be specified here, and packets | ||
# addressed to them will be accepted. | ||
multihome_ip_addrs = [] | ||
# The netlink tile forwards Linux network configuration to net tiles. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These docs are operator facing so please expand a little bit, and explain things in language for operators not developers. At least a paragraph describing the tile, e.g. see net
above.
multihome_ip_addrs = [] | ||
# The netlink tile forwards Linux network configuration to net tiles. | ||
[tiles.netlink] | ||
# The maximum number of routes per route table. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per above, lengthen docs, e.g. describe why you might need to increase this, what's a route table, ..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd probably note that these are advanced configuration and don't need to be changed except for unique / custom networking configurations?
src/app/fdctl/config/default.toml
Outdated
# See `ip route show table all` | ||
max_routes = 128 | ||
|
||
# The maximum number of Ethernet neighbors (aka ARP table entries). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would simplify this summary a little bit, for operators that might not know what ARP is, but have decent networking knowledge, with a bit more detail below.
c7e6369
to
73f65cd
Compare
@mmcgee-jump Thanks for the review. I addressed all the code concerns. I'll need some help with documentation for the config. I suggest we update the default config file later? |
If fib is not in ACTIVE state, retval->rtype is set to | ||
FD_FIB4_RTYPE_BLACKHOLE. | ||
|
||
Thread safe; Gracefully handles concurrent route updates by other |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just double checking it's indeed supposed to say updates, rather than lookups?
4b02d01
to
ef2189f
Compare
Adds a simple pure FIB implementation compatible with Linux
ef2189f
to
4bfee16
Compare
Relates to #692
Closes #3619