Do not endian swap the ether_vtag before stuffing it into the control word.
authorclaudio <claudio@openbsd.org>
Thu, 2 Feb 2023 13:37:24 +0000 (13:37 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 2 Feb 2023 13:37:24 +0000 (13:37 +0000)
commitb6857a1966854e8ce37ae758d22659b822a1b785
treea78cd5597c7be5ec99e47ed08f3ebe6c98f8036a
parentdda200cbadcf286fc6b517d39ffaafa849262116
Do not endian swap the ether_vtag before stuffing it into the control word.
The endian swap to little endian happens later for the full control word.
Fixes vlans on em(4) on sparc64 systems.
OK kn@ naddy@
sys/dev/pci/if_em.c