From patchwork Wed Jul 29 09:19:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 74986 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 3550BA052B; Wed, 29 Jul 2020 11:20:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CC6B11BE9A; Wed, 29 Jul 2020 11:20:14 +0200 (CEST) Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by dpdk.org (Postfix) with ESMTP id 37A5F4C93 for ; Wed, 29 Jul 2020 11:20:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596014412; 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=Z4MoYFEj3wFOf/yNLHoexlgfnHw3YVQ7StVY1XyY2/I=; b=c9J8bXzhQw442QaL0kxGFApvUG+0jJ4wDyX08ek+yKiwCG86PYEU9xxg+inZTQlMzhbLzf b5DfpUnDgcngopDSWbNB34wh/a/vTRsZgLxyBzIgiSMdXZw51IMXeIxz1uqeUGoQABNrHc PM/bj86CCNC2wwDk0+tC/BvhnibZQOE= 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-231-wnsBzAo8NmSLVuVeQ1bFfQ-1; Wed, 29 Jul 2020 05:20:10 -0400 X-MC-Unique: wnsBzAo8NmSLVuVeQ1bFfQ-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 14C738015CE; Wed, 29 Jul 2020 09:20:09 +0000 (UTC) Received: from localhost.localdomain (unknown [10.36.110.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 10A0070110; Wed, 29 Jul 2020 09:20:02 +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: Wed, 29 Jul 2020 11:19:57 +0200 Message-Id: <20200729092000.233036-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 v3 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. In this v3, only change is in the third patch, which aims at avoiding race by assuming the application is not modifying the rte_epoll_event once it has requested the enablement of the corresponding interrupt. I tested this v3 with l3fwd-power example. 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 | 93 +++++++++++++++++++++++-------- lib/librte_vhost/vhost.c | 24 ++++++-- lib/librte_vhost/vhost.h | 5 ++ lib/librte_vhost/vhost_user.c | 11 +++- 4 files changed, 103 insertions(+), 30 deletions(-)