From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 4F76A20F for ; Fri, 24 Nov 2017 03:26:42 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Nov 2017 18:26:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,444,1505804400"; d="scan'208";a="179892427" Received: from dpdk-xiao-1.sh.intel.com ([10.67.110.153]) by fmsmga006.fm.intel.com with ESMTP; 23 Nov 2017 18:26:40 -0800 From: Xiao Wang To: dev@dpdk.org Cc: yliu@fridaylinux.org, Xiao Wang Date: Fri, 24 Nov 2017 03:03:58 -0800 Message-Id: <1511521440-57724-1-git-send-email-xiao.w.wang@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/2] net/virtio: support GUEST ANNOUNCE X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Nov 2017 02:26:43 -0000 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