-
Notifications
You must be signed in to change notification settings - Fork 757
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
Hardware Offload still active in case of PPPoE on top of a VLAN interface #5391
Comments
|
Hi, From the looks of this we don't chase the root hardware interface and this hasn't been changed in a recent refactor regarding hardware interface derivation. The easies way to do this reliably is to assign the igb3 interface as an OPTx and enable it. That will properly scrub the hardware settings. Cheers, |
|
Thank you for the hint. I should have thought of it myself. It works. My wireguard problem is still present but at least i could check that it has nothing to do with the hardware offload on that interface. |
|
Needs to be retested on 22.1 (parent interface handling changed considerably). |
|
My configuration has changed and i can not easily test this setting any time soon. Sorry. But what worked back then was your hint about assigning the parent interface also. |
|
Fair enough, thanks for the valuable input. Close then? 😊 |
|
Yes. I guess this can be closed. Am i supposed to do this? Sorry for the question but i am new to the github issue tracker. |
|
I can do it, just asked if you agreed. Thanks! |
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
I have disabled all hardware offload features on the Interfaces/Settings page.
If i look at the option lists that can be seen using ifconfig my igb3 interface still has all options enabled.
I don't know of a working version as it only came to my attention in the context of another problem i am investigating.
To Reproduce
Expected behavior
I expect that all interfaces respect these settings and the features, as seen by ifconfig, are removed.
Additional context
ifconfig shows this (hardware offload disabled in the settings page; this is the raw WAN interface):
My impression is that the NICs are initialized with all offload features activated.
The configured values are then propagated to interfaces where an active link is detected.
It looks like the "link active" signal is not received if there is no direct assignment of the interface.
If you apply the above process but skip the reboot, the settings are respected and the offload features deactivated.
If you reverse the process (use e.g. DHCP instead of PPPoE and assign WAN to the raw interface) the settings are respected also.
This problem is especially troubling in the context of wireguard. I see '[bad udp cksum 0x8e46 -> ...]' messages during a dump of a wireguard handshake and the packets are not received on the client side.
After some research i found the advice to deactivate the hardware checksum feature as it may cause problems in that area. As mentioned above i can't do this right now.
UDP packets of other programs have correct checksums. Therefore it looks like something which is specific to the combination of Wireguard and hardware offload.
Environment
OpnSense 21.7.6
APU 4d4 (GX-412TC CPU; 4 Nics i211AT )
The text was updated successfully, but these errors were encountered: