From patchwork Thu Jul 23 13:08:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 74684 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 26507A0521; Thu, 23 Jul 2020 15:09:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 081E31C00F; Thu, 23 Jul 2020 15:09:33 +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 93E632C6E for ; Thu, 23 Jul 2020 15:09:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595509770; 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=J3XvmbvSrEMTovCBpLixXEE1dbd1jwLzpEbZP/TMi8w=; b=TnsaDpfCbkTol3ylida+GflKE3+u447Vp7AQKZn0tR9VDFsBS7DyCdcJNo52vKJ3h7F9mA 0mbiZHnxy5NMrUayo90VMmLWSsaPiZ6z6Vudmez5nZHcqLcWKe4HOm4lP+6NoT62lFPJPj m65+WMCMtxZxabnOph0RWuR4IkTOsJo= 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-460-1fKGgwN2NP-ng9WdUbdvaw-1; Thu, 23 Jul 2020 09:09:09 -0400 X-MC-Unique: 1fKGgwN2NP-ng9WdUbdvaw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0585C800C64; Thu, 23 Jul 2020 13:09:08 +0000 (UTC) Received: from localhost.localdomain (unknown [10.36.110.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id C1D6D6FEF4; Thu, 23 Jul 2020 13:08:59 +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: Thu, 23 Jul 2020 15:08:52 +0200 Message-Id: <20200723130854.322771-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [dpdk-dev] [PATCH 0/2] Fix vhost performance regression 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" Hi, This series aims at fixing the performance degradation reported by Intel QE. I managed to reproduce the issue, and this series fixes it. I only tested the first test case provided in the Bz[0], but wanted to send early for Intel QE to try and confirm it solves the issue. I will work on reproducing the other test cases, and see if this also fixes them. Thanks to Intel QE team for finding this issue. Maxime [0]: https://bugs.dpdk.org/show_bug.cgi?id=507#c0 Maxime Coquelin (2): vhost: fix guest notification setting net/vhost: fix queue update drivers/net/vhost/rte_eth_vhost.c | 25 ++++++------------------- lib/librte_vhost/vhost.c | 24 ++++++++++++++++++++---- lib/librte_vhost/vhost.h | 5 +++++ lib/librte_vhost/vhost_user.c | 11 ++++++++--- 4 files changed, 39 insertions(+), 26 deletions(-)