CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/08/21 15:45:18
Modified files:
sys/dev/pci : if_ix.c
Log message:
Fix receiving VLAN packets if LRO is enabled on ix(4).
The vlan packet bit is only valid for the last descriptor's receive
status. When receiving just one buffer per packet, it makes no
difference, but with LRO there are multiple descriptors. Checking
only the first one resulted in VLAN headers being stripped and large
packets appear as regular on ix interface. Move the code setting
vlan tag from first to last descriptor.
bug reported and fix tested by Hrvoje Popovski
OK jan@