Skip to content

feat: Go implement lsmod and rmmod#130

Merged
rollandf merged 1 commit intoMellanox:mainfrom
rollandf:lsrmmod
Sep 18, 2025
Merged

feat: Go implement lsmod and rmmod#130
rollandf merged 1 commit intoMellanox:mainfrom
rollandf:lsrmmod

Conversation

@rollandf
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Sep 17, 2025

Pull Request Test Coverage Report for Build 17822388441

Details

  • 50 of 50 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+6.8%) to 42.182%

Totals Coverage Status
Change from base Build 17821158194: 6.8%
Covered Lines: 232
Relevant Lines: 550

💛 - Coveralls

// RmMod is the default implementation of the host.Interface.
func (h *host) RmMod(ctx context.Context, module string) error {
// TODO: add implementation
// Execute rmmod command to unload the kernel module
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we can use sys/unix.DeleteModule. but I like the current approach for the consistency between methods

Signed-off-by: Fred Rolland <frolland@nvidia.com>
@rollandf rollandf merged commit f4c20b0 into Mellanox:main Sep 18, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants