qemu-e2k/hw/net
Scott Feldman d0d2555852 rocker: mark copy-to-cpu pkts as forwarding offloaded
For pkts copied to the CPU (to be processed by guest driver), mark the Rx
descriptor with flag "OFFLOAD_FWD" to indicate device has already forwarded
pkt.  The guest driver will use this indicator to avoid duplicate
forwarding in the guest OS.

Examples include bcast/mcast/unknown ucast pkts flooded to bridged ports.
We want to avoid both the device and the guest bridge driver flooding these
pkts, which would result in duplicates pkts on the wire.  Packet sampling,
such as sFlow, can also use this technique to mark pkts for the guest OS to
record but otherwise drop.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Message-id: 1435746792-41278-5-git-send-email-sfeldma@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-07-07 13:13:22 +01:00
..
fsl_etsec
rocker rocker: mark copy-to-cpu pkts as forwarding offloaded 2015-07-07 13:13:22 +01:00
allwinner_emac.c
cadence_gem.c cadence_gem: Fix Rx buffer size field mask 2015-06-03 16:03:03 +03:00
dp8393x.c net/dp8393x: fix hardware reset 2015-06-11 10:13:30 +01:00
e1000_regs.h
e1000.c e1000: flush packets when link comes up 2015-07-07 13:10:26 +01:00
eepro100.c
etraxfs_eth.c
lan9118.c
lance.c
Makefile.objs qmp/hmp: add rocker device support 2015-06-12 13:42:17 +01:00
mcf_fec.c
milkymist-minimac2.c
mipsnet.c
ne2000-isa.c
ne2000.c
ne2000.h
opencores_eth.c
pcnet-pci.c
pcnet.c pcnet: force the buffer access to be in bounds during tx 2015-06-10 15:03:02 +01:00
pcnet.h
rtl8139.c migration: Use normal VMStateDescriptions for Subsections 2015-06-12 06:53:57 +02:00
smc91c111.c
spapr_llan.c
stellaris_enet.c
vhost_net.c vhost: enable vhost without without MSI-X 2015-06-19 12:17:49 +02:00
virtio-net.c vhost: enable vhost without without MSI-X 2015-06-19 12:17:49 +02:00
vmware_utils.h
vmxnet3.c vmxnet3: Fix incorrect small packet padding 2015-07-07 13:10:26 +01:00
vmxnet3.h
vmxnet_debug.h
vmxnet_rx_pkt.c
vmxnet_rx_pkt.h
vmxnet_tx_pkt.c
vmxnet_tx_pkt.h
xen_nic.c
xgmac.c
xilinx_axienet.c Include qapi/qmp/qerror.h exactly where needed 2015-06-22 18:20:41 +02:00
xilinx_ethlite.c