summaryrefslogtreecommitdiff
path: root/os-posix.c
diff options
context:
space:
mode:
authorBenjamin Poirier <benjamin.poirier@gmail.com>2011-03-22 19:11:22 -0400
committerBlue Swirl <blauwirbel@gmail.com>2011-03-26 11:10:49 +0000
commit18dabfd1e0fcce17ebf069014eee3aa926707551 (patch)
tree950374b77ff0efc40401b1e0d10c25564bf8c19e /os-posix.c
parent2c406b8fc8fc09853e74924d7067712d7a75108f (diff)
downloadqemu-18dabfd1e0fcce17ebf069014eee3aa926707551.tar.gz
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 <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: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions