« Previous | Next » 

Revision 18dabfd1


Added by Benjamin Poirier almost 10 years ago

rtl8139: add vlan tag extraction

Add support to the emulated hardware to extract vlan tags in packets
going from the network to the guest.

Signed-off-by: Benjamin Poirier <>
Cc: Igor V. Kovalenko <>
Cc: Jason Wang <>
Cc: Michael S. Tsirkin <>
Cc: Blue Swirl <>


AFAIK, extraction is optional to get vlans working. The driver
requests rx detagging but should not assume that it was done. Under
Linux, the mac layer will catch the vlan ethertype. I only added this
part for completeness (to emulate the hardware more truthfully...)
Signed-off-by: Blue Swirl <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences