-
-
Notifications
You must be signed in to change notification settings - Fork 45
Add ethernet settings on physical network interfaces #724
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
Conversation
f0d871d to
f282a09
Compare
|
Testing in a local VM is turning out to be more complicated than I expected. Seems |
|
I don't think we want to get an extra entry in that struct for every type of offload, so having a sub-struct for it is probably best. Something like: For now they're all "disable" flags for offloads that should be there, but that could also start getting positive values for offloading that's typically disabled. |
|
Then both |
|
Implemented separate switches for the ones you listed. I went with making them just be unmentioned if they're not set to disabled, because I didn't want to risk the code causing them to be turned on when the kernel has them off for some reason, causing potential problems. |
|
ah, forgot I switched my git email, will fix the DCO now |
97d9fa1 to
303f1ca
Compare
|
Thanks, I'll take a look, tweak a bit and land it! Other ethtool flags were brought up on the forum today (energy efficient ethernet) so I'm going to check if that makes sense to still fit under Offloading or if we need an even more generic thing like |
Signed-off-by: Amanda Cameron <[email protected]>
Signed-off-by: Amanda Cameron <[email protected]>
303f1ca to
d7418df
Compare
|
@gibmat given my additions on this one, can you give this a quick review? |
d7418df to
530df11
Compare
|
Does the WOL settings (#638) also related to this ? Should they also be add to this PR ? |
|
They'll most likely get added to that struct. I was going to take a look at that next once this one is in with the general infrastructure for this. |
Signed-off-by: Stéphane Graber <[email protected]>
Signed-off-by: Stéphane Graber <[email protected]>
Signed-off-by: Stéphane Graber <[email protected]>
Signed-off-by: Stéphane Graber <[email protected]>
Signed-off-by: Stéphane Graber <[email protected]>
530df11 to
cd21abf
Compare
|
@gibmat should be good to go. I updated the API and filed an issue so we can keep track switching to text/template in the future. |
|
Will this require waiting for incus 1.21 or will this just work when the stable incusos branch is next updated? I ask because this being a blocker is exactly what motivated me to make the PR in the first place. (Buggy e1000e hw <-> driver interactions) |
|
@AmandaCameron it will be in the next testing and then stable IncusOS image. |
|
Got it, hopefully I can switch my remaining two incus nodes to incusos sometime soon then. Having to physically go and detach/reatatch the ethernet cable on the single NUC i did as a canary is a bit tedius, and halted my migration entirely. |
Fixes #723 -- I'm not entirely happy with the option name I chose, but I'm not great at naming things, so if there's a better name do let me know. Passes
go testlocally, but didn't try in a VM yet, need to get mkosi installed on my laptop first.