Skip to content
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

Setting GRO off #24

Open
schmilmo opened this issue Feb 7, 2019 · 1 comment
Open

Setting GRO off #24

schmilmo opened this issue Feb 7, 2019 · 1 comment

Comments

@schmilmo
Copy link

schmilmo commented Feb 7, 2019

Hi,

I would like to use the library to disable GRO (generic receiver offload)
I wasn't to understand if that is possible and how to do it.

Regards,
Samuel

@0x5a17ed
Copy link
Contributor

Should be possible through

t, _ := ethtool.NewEthtool()
_ := t.Change("enp5s0", map[string]bool{
	"rx-gro": false,
	"rx-gro-hw": false,
})

You can find a list of feature names under https://elixir.bootlin.com/linux/v5.1.9/source/net/core/ethtool.c#L61

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

No branches or pull requests

2 participants