]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[realtek] Explicitly disable VLAN offload 874/head
authorMichael Brown <mcb30@ipxe.org>
Wed, 1 Feb 2023 18:19:32 +0000 (18:19 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 1 Feb 2023 19:09:30 +0000 (19:09 +0000)
commitb6304f298499001a55045618e9fbf763b59b7321
tree982149ef0621c1a10812987958811cbcb3ba8354
parentaa85c2918a6c63887f492fe7a8a88ed8fbb933f2
[realtek] Explicitly disable VLAN offload

Some cards seem to have the receive VLAN tag stripping feature enabled
by default, which causes received VLAN packets to be misinterpreted as
being received by the trunk device.

Fix by disabling VLAN tag stripping in the C+ Command Register.

Debugged-by: Xinming Lai <yiyihu@gmail.com>
Tested-by: Xinming Lai <yiyihu@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/realtek.c
src/drivers/net/realtek.h