-
Notifications
You must be signed in to change notification settings - Fork 314
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
route: add nexthop type #332
Conversation
Hello, |
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.
thank you for your patch. I am sorry for the long time it took me to reply. If you lost interest, I understand :( Anyway. Some comments...
b648fd2
to
221d0ba
Compare
Hi Thomas, Thanks for the review. I tried to address all of them. Also I included another fix in the parser (in the previous patch only 2 group elements were allowed, I've increased it to 64). But unfortunately after rebasing github doesn't allow to compare the previous version with the current. But I've splitted the PR into 4 different commits (as you suggested), perhaps it makes the next review more easy. I've been using the feature introduced in this patch for almost a year (for parsing fdb nexthops in linux), so I'd like to have this patch merged into upstream. So, I'm ready to improve this patch until you say it's good to go :) |
af1c683
to
6bedab9
Compare
I've addressed all the previous comments. |
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.
Maybe you could take the patches from https://paste.centos.org/view/3c278476 (well, review them, and take the parts that you agree with).
It also requires you to rebase the branch again to latest main
(because they use some new API from main
branch).
I intended to merge things from your patch today, but unfortunately the link is expired. Could you please share it one more time? |
I didn't realize fpaste expires so fast. Sorry about that. Here again: https://paste.centos.org/view/bba2d453 I also just realized, that a change I did will cause a merge conflict when you rebase. Sorry about that. It should however be easy to resolved... Thanks. |
Taken from kernel v6.4 (6995e2de6891c724bfeb2db33d7b87775f913ad1).
I rebased, applied all your changes and also removed nh_master attribute from |
merged as bc8573d. Thank you for your efforts!!! |
The basic support for dumping nexthops and filling the cache.