[dpdk-dev] [PATCH 0/2] net/virtio: support GUEST ANNOUNCE
Xiao Wang
xiao.w.wang at intel.com
Fri Nov 24 12:03:58 CET 2017
When live migration is finished, the backup VM needs to proactively announce
its new location. DPDK vhost has implemented VHOST_USER_PROTOCOL_F_RARP to
generate a RARP packet to switch in dequeue path. Another method is to let
the guest proactively send out RARP packet using VIRTIO_NET_F_GUEST_ANNOUNCE
feature.
This patch set enables this feature in virtio pmd, to support VM running virtio
pmd be migrated without vhost supporting RARP generation.
Xiao Wang (2):
net/virtio: make control queue thread-safe
net/virtio: support GUEST ANNOUNCE
drivers/net/virtio/virtio_ethdev.c | 138 ++++++++++++++++++++++++++++++++++++-
drivers/net/virtio/virtio_ethdev.h | 4 ++
drivers/net/virtio/virtio_pci.h | 1 +
drivers/net/virtio/virtio_rxtx.c | 82 ++++++++++++++++++++++
drivers/net/virtio/virtio_rxtx.h | 1 +
drivers/net/virtio/virtqueue.h | 11 +++
6 files changed, 234 insertions(+), 3 deletions(-)
--
1.8.3.1
More information about the dev
mailing list