-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Modularize kernel modules manager into its own cell #28713
Modularize kernel modules manager into its own cell #28713
Conversation
a727ea8
to
6464caa
Compare
This comment was marked as outdated.
This comment was marked as outdated.
6464caa
to
09f6604
Compare
/test |
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.
LGTM 👍
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.
Oops, reviewed this in another PR that depended on this. See comments there: #28746
8ace98d
to
1207e5d
Compare
@joamaki I've addressed the feedback regarding modules manager here. PTAL. |
1207e5d
to
7ab5a00
Compare
Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
Modularize the kernel modules manager into its own cell. Instead of an exported Init() function, the manager stores the list of loaded modules once at startup. The tests are updated accordingly and since we are at it, migrate them from checkmate (the temporary wrapper for gopkg.in/check.v1) to the standard Go testing framework. Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
Kernel modules manager is meant to work with Linux kernel modules, so it belongs to the datapath/linux folder. CODEOWNERS file is updated accordingly. Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
7ab5a00
to
eab1ed7
Compare
/test |
ci-clustermesh failure tracked here, rerunning |
@aditighag ping 🙏 |
Modularize the kernel modules manager into its own cell.
Instead of exporting an Init() function, the manager stores the list of loaded modules once at startup.
The tests are updated accordingly and since we are at it, migrate them from checkmate (the temporary wrapper for gopkg.in/check.v1) to the standard Go testing framework.
This is a first step needed to modularize the iptables manager.