From patchwork Tue Jul 28 16:50:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 74944 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 4F812A052B; Tue, 28 Jul 2020 18:50:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E31701BFF4; Tue, 28 Jul 2020 18:50:39 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 39B701BE8A for ; Tue, 28 Jul 2020 18:50:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595955037; 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=O6fbkI5isxuhsqVFGxngWSZH3niG93ffkeYt2PPzcOI=; b=QgfbVfw7/BJxIZJPNa4lpr3lZXmHWxSgQe7N4Mv8a9ai1Ps6y++e90EnZG05yoNdsNuunL VgB6QwAQzuuuk+YMhW9CPT0FZ9oQAL/8iqyh64lXxhNFxXsTA1yoXcXJwJDS87Y7ARap+5 zKhDe89INFsMINpZmSfy4SqyUIIJK+0= 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-200-pWw3N9pXMlWQ0ytUDIB8lg-1; Tue, 28 Jul 2020 12:50:35 -0400 X-MC-Unique: pWw3N9pXMlWQ0ytUDIB8lg-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 5CDE38005B0; Tue, 28 Jul 2020 16:50:32 +0000 (UTC) Received: from localhost.localdomain (unknown [10.36.110.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 23D5A5D9E8; Tue, 28 Jul 2020 16:50:23 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, matan@mellanox.com, chenbo.xia@intel.com, yong.liu@intel.com, yinan.wang@intel.com Cc: thomas@monjalon.net, ferruh.yigit@intel.com, david.marchand@redhat.com, Maxime Coquelin Date: Tue, 28 Jul 2020 18:50:18 +0200 Message-Id: <20200728165021.216291-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [dpdk-dev] [PATCH v2 0/3] Fix Vhost regressions 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" This series aims at fixing the regressions reported by Intel QE. I managed to reproduce the issues, and this series fixes them. The two first patches fix the performance regression. They have been tested by intel QE which confirms the fix. The third patch fixes the interrupt regression. I tested it OK with l3fwd-power use-case, but it has not been confirmed by Intel QE yet. The fix could be further improved in the future by introducing a dedicated API in rte_epoll library to update epoll events. Thanks to Intel QE team for all the validation work! Maxime Maxime Coquelin (3): vhost: fix guest notification setting net/vhost: fix queue update net/vhost: fix interrupt mode drivers/net/vhost/rte_eth_vhost.c | 61 ++++++++++++++++++++----------- lib/librte_vhost/vhost.c | 24 ++++++++++-- lib/librte_vhost/vhost.h | 5 +++ lib/librte_vhost/vhost_user.c | 11 ++++-- 4 files changed, 72 insertions(+), 29 deletions(-)