From patchwork Mon Nov 16 11:36:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 84232 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6FA82A04B5; Mon, 16 Nov 2020 12:36:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 03F89F94; Mon, 16 Nov 2020 12:36:33 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 7BEB5F3E for ; Mon, 16 Nov 2020 12:36:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605526588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IGONh/XgcQayAd7meK/1hlUBc3UjcQK5LOlXKsHE/c0=; b=LD+UY/Y94UOfZQ0sS741S/v6cE8nG2yEYqt16IYQNwX/ErqHPCx4wV3Mqk81G/Hm5mZUbe bLqeecfZ1LRXi+RUiI/Pk12a6oVJmQok6SNsLP7kGGBx74tDxWPW7Q7tVvKuEmtRk6yXnO KeeIgTNVpGyd8KIFCnoIPSDNZqLN8As= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-414-GJuq1D_JMPih6ooJXxMZKA-1; Mon, 16 Nov 2020 06:36:27 -0500 X-MC-Unique: GJuq1D_JMPih6ooJXxMZKA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 594101074654; Mon, 16 Nov 2020 11:36:26 +0000 (UTC) Received: from localhost.localdomain (unknown [10.36.110.32]) by smtp.corp.redhat.com (Postfix) with ESMTP id 410595D9CC; Mon, 16 Nov 2020 11:36:22 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, chenbo.xia@intel.com, xuan.ding@intel.com Cc: Maxime Coquelin Date: Mon, 16 Nov 2020 12:36:17 +0100 Message-Id: <20201116113620.587073-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [dpdk-dev] [PATCH 21.02 0/3] vhost: vhost_user_set_mem_table refactoring 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The goal of this series is to refactor vhost_user_set_mem_table function, to make it easier to understand and maintain. Maxime Coquelin (3): vhost: refactor postcopy region registration vhost: refactor postcopy registration vhost: refactor memory regions mapping lib/librte_vhost/vhost_user.c | 347 +++++++++++++++++++--------------- 1 file changed, 195 insertions(+), 152 deletions(-)