Skip to content
  • Benjamin Poirier's avatar
    rtl8139: add vlan tag extraction · 18dabfd1
    Benjamin Poirier authored
    
    
    Add support to the emulated hardware to extract vlan tags in packets
    going from the network to the guest.
    
    Signed-off-by: default avatarBenjamin Poirier <benjamin.poirier@gmail.com>
    Cc: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
    Cc: Jason Wang <jasowang@redhat.com>
    Cc: Michael S. Tsirkin <mst@redhat.com>
    Cc: Blue Swirl <blauwirbel@gmail.com>
    
    --
    
    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: default avatarBlue Swirl <blauwirbel@gmail.com>
    18dabfd1