]> git.proxmox.com Git - mirror_qemu.git/commit
net_pkt: Extend packet abstraction as required by e1000e functionality
authorDmitry Fleytman <dmitry.fleytman@ravellosystems.com>
Wed, 1 Jun 2016 08:23:41 +0000 (11:23 +0300)
committerJason Wang <jasowang@redhat.com>
Thu, 2 Jun 2016 02:42:28 +0000 (10:42 +0800)
commiteb700029c7836798046191d62d595363d92c84d4
tree7c6b3b8c3de169297291adba1ad959bc87d75a5b
parent66409b7c8bd0ebb075a6af8cbc7846fc0a95107d
net_pkt: Extend packet abstraction as required by e1000e functionality

This patch extends the TX/RX packet abstractions with features that will
be used by the e1000e device implementation.

Changes are:

  1. Support iovec lists for RX buffers
  2. Deeper RX packets parsing
  3. Loopback option for TX packets
  4. Extended VLAN headers handling
  5. RSS processing for RX packets

Signed-off-by: Dmitry Fleytman <dmitry.fleytman@ravellosystems.com>
Signed-off-by: Leonid Bloch <leonid.bloch@ravellosystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/net_rx_pkt.c
hw/net/net_rx_pkt.h
hw/net/net_tx_pkt.c
hw/net/net_tx_pkt.h
include/net/checksum.h
include/net/eth.h
net/checksum.c
net/eth.c
trace-events