Message ID | 20231017142403.2995341-1-lulu@redhat.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3B8DD4318D; Tue, 17 Oct 2023 16:24:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2A3D40273; Tue, 17 Oct 2023 16:24:17 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 600D340270 for <dev@dpdk.org>; Tue, 17 Oct 2023 16:24:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697552655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=axCdRP+QW9i1iVRNjKXZ5T3F0JkUT7pC5hzFXLlph9I=; b=bn9kiMmwDUipRrlIwVAqy9SlgXCcbsKGJHoVtPpcnwfUe73O6v3RT8/iZ6aa3b2l+Xo2/r Eg95BaSpG+e9/FxtuhnrPQL7Woo/gXrAk5icyEPckH8uRK00iJPtO4jCydOpwgLDlI55Kq L+4dlVCMj0Vhs5m/7BgMf/ypKduqSz0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-627-rWrZcRXFNhKhZgrPNASsUg-1; Tue, 17 Oct 2023 10:24:13 -0400 X-MC-Unique: rWrZcRXFNhKhZgrPNASsUg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 09E0A185A79C; Tue, 17 Oct 2023 14:24:13 +0000 (UTC) Received: from server.redhat.com (unknown [10.72.112.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id 76F472166AEA; Tue, 17 Oct 2023 14:24:10 +0000 (UTC) From: Cindy Lu <lulu@redhat.com> To: lulu@redhat.com, jasowang@redhat.com, xieyongji@bytedance.com, dev@dpdk.org, maxime.coquelin@redhat.com Subject: [RFC v2 0/2] vduse: Add support for reconnection Date: Tue, 17 Oct 2023 22:24:01 +0800 Message-Id: <20231017142403.2995341-1-lulu@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
vduse: Add support for reconnection
|
|
Message
Cindy Lu
Oct. 17, 2023, 2:24 p.m. UTC
This patch changes based on Maxime's patch
https://gitlab.com/mcoquelin/dpdk-next-virtio/-/commit/a89dc311f2d03e99b8180f377b4a60a0e94
The biggest change is sync the information with kernel by mmap
the kernel branch is
https://gitlab.com/lulu6/vhost/tree/vduse5
the dpdk branch is
https://gitlab.com/lulu6/dpdk/tree/rfc_vduse
test passed in vduse+dpdk-testpmd
changes in V2
1. move struct vhost_reconnect_data to uAPI
2. Add struct vduse_reconnect_mmap_info to save the reconnect
related information
Signed-off-by: Cindy Lu <lulu@redhat.com>
Cindy Lu (1):
vduse: add mapping process in vduse create and destroy
Maxime Coquelin (1):
vhost: add reconnection support to VDUSE (WIP)
lib/vhost/vduse.c | 191 +++++++++++++++++++++++++++---------
lib/vhost/vhost.h | 10 ++
lib/vhost/virtio_net.c | 22 +++++
lib/vhost/virtio_net_ctrl.c | 4 +
4 files changed, 183 insertions(+), 44 deletions(-)