From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3CBEFA052B; Wed, 29 Jul 2020 08:08:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8AC7837B7; Wed, 29 Jul 2020 08:08:37 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 393BF10A3 for ; Wed, 29 Jul 2020 08:08:34 +0200 (CEST) IronPort-SDR: /V0k1W3nlyA8YuN4lWEKYD/uWE2swBzTwlFNN2ta9JaDni0ebfw2BCfbUGPuQwr4UtlTndIgco XPkLQzdnGncQ== X-IronPort-AV: E=McAfee;i="6000,8403,9696"; a="149208306" X-IronPort-AV: E=Sophos;i="5.75,409,1589266800"; d="scan'208";a="149208306" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2020 23:08:34 -0700 IronPort-SDR: HG0Rirm0K/TlvIcN/1aOPiWwQ2Qji9Y/tLfkeYPEHziRKz0xahEKiR5n1zrVAVpcUsZKQr0+R7 mY0jgWUHOreg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,409,1589266800"; d="scan'208";a="328563696" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by FMSMGA003.fm.intel.com with ESMTP; 28 Jul 2020 23:08:34 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 28 Jul 2020 23:08:33 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 28 Jul 2020 23:08:33 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.58) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 28 Jul 2020 23:08:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nIy0JU3vfF4nxtMFatStVry+u4qXn78IjuO4TgFdurxDVf5TyRl9tzVvbxg+JHaiB/1YYTokkRBH0Jg4O2rMOq+Vvy1JTa6IFu5opHYxa1nQl7xF7Jj46G98Ae6HR3Nlvn0zGk10Ww6oK8pfjRMfB4pkE8202Od6zHPpjHj5rtWR7xLPjCfpig7Z2DsnAi7g9/yum/hc89bu0aDEIBxHQGrZZwlD5lJz8gRaERGjYtq58IQArK6iiRdjhoJmeT4syMTV3yzZcJFpTH9PMCsdlbVngwWMqX7vXVTLvLn1fRX+RrkdRHmaMFTwI9rjcyb7/tQjgX4t6OqUwyPQa9Bwig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cxBAQSH+877Cmx2+37hzcdFBTbzlxHXDx5Y1mu4h13k=; b=G37nbQ3RY/x/0osqmHUZ4hzAaj1AhUQ27EIKduxJU8seTpB0tuLThgXyZEaEqH7S0S7KwsCHNGFOb9C1GAWRRr/og26se1DBO1M8r7ivK5A/nqNjoJ2QqflJYKkc2d+JlCiAoZg21iV72J/KTPaicLH2QFtR59rFykDst3b2dywOwVd4hgZm9eTYt3T/W9fGzT5+8wcnd/avsywp0mwD1V3MplPgiXb6eWXR2/D3SHTbcNMBZnaGV5H3QVUhx/9XQdf5eykU6OsTguWdFcKRl/2VoaTWKMMxvDLvJipvx7Z9c42uR01x4pkYcSnhFIxsLqHuHtSXUmEM4avLmF2ZXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cxBAQSH+877Cmx2+37hzcdFBTbzlxHXDx5Y1mu4h13k=; b=lWysjmeOqa+lXne6UCpAb3d/2Kce+jEgQfpgsP+5TSA9KFmKU/ciJG2t4nD1LopC5eYy65gZWjsK/x9k59dmLyLiZb85lmsQvtsxq3pfZb64TeJdQtZqHmQTYkLHbER0UUOYROvT8R56W6vsMV3v7VPp+b0pP+T/8QfFO/4LF7U= Received: from BYAPR11MB2648.namprd11.prod.outlook.com (2603:10b6:a02:c7::10) by BY5PR11MB4136.namprd11.prod.outlook.com (2603:10b6:a03:192::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.24; Wed, 29 Jul 2020 06:08:23 +0000 Received: from BYAPR11MB2648.namprd11.prod.outlook.com ([fe80::a14f:c6b5:5aed:84f]) by BYAPR11MB2648.namprd11.prod.outlook.com ([fe80::a14f:c6b5:5aed:84f%7]) with mapi id 15.20.3216.034; Wed, 29 Jul 2020 06:08:23 +0000 From: "Wang, Yinan" To: Maxime Coquelin , "dev@dpdk.org" , "matan@mellanox.com" , "Xia, Chenbo" , "Liu, Yong" CC: "thomas@monjalon.net" , "Yigit, Ferruh" , "david.marchand@redhat.com" Thread-Topic: [PATCH v2 0/3] Fix Vhost regressions Thread-Index: AQHWZP8/gohLq/urcEmgkqZIui7/X6keEvkw Date: Wed, 29 Jul 2020 06:08:23 +0000 Message-ID: References: <20200728165021.216291-1-maxime.coquelin@redhat.com> In-Reply-To: <20200728165021.216291-1-maxime.coquelin@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.2.0.6 dlp-product: dlpe-windows authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.206] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8039b695-13dd-4840-99f4-08d83385cd2c x-ms-traffictypediagnostic: BY5PR11MB4136: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: RnznY9m9TtiUCbKhtfLgF6XnC+0mj393cLL7nGlTyc587XJMEFZ/8KEogvHcEE/a/rTbrjkAOVY139g0iF2Og2/5Z9Cj6zAEfX1TILtqVaS8RSLiJFUta+TCAQzFbL6hG5bf4zTnyscc1qDRbFwyqiOEOtrkOowlf679dXoXPTUqoyhGynu3hydYc90PPPjIhdu/LbAWJn52ZrTuFZiNeY7wVIzw8tDTbsVT8YtHO8FEFb804FIm64JXh6xEQnrZdbhqBfYWG2BlM7ui6RdgTLO0bdpm6v47nZNaTOkS8IINlJX83iUNpypdoVZ6psgz7fsyvWEgPlYyrl98TFj5DA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2648.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(366004)(39850400004)(346002)(376002)(136003)(66556008)(2906002)(316002)(83380400001)(66476007)(5660300002)(66446008)(66946007)(64756008)(110136005)(8936002)(6636002)(8676002)(54906003)(478600001)(33656002)(55016002)(4326008)(7696005)(53546011)(6506007)(76116006)(52536014)(71200400001)(26005)(86362001)(9686003)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: cB1EXfZ1Gw99U+3Aco5h/DDl7QLzGuz+9732Ck+MeH17mU0ktNt7psjNISCXJNDGfYkABoW3UYGedH59kwPd8+4lTmFsXCki6dXFpuD8qGjfHRSWYd0VE+7UIGK/fH5tDwMv7CUC4Kgkq8UmO4J6/im1gXUrh+A6YUilAoQ6j2510rPPXQWMgMblixF+dsIunnKZ+UW3lq2Vc04JyGA+O1Fsu//hD/G6wU4rv1dMPc+0e/0IUbo5C8qTvWH788kaMukkteR0bNQ5IasX4u2W/sbHPKmmsbuK4iClH5ENf5FopLuitBXQ7hZXLReHdPyHkCjVUm8L3akoi5R+rhFQY26x7/Z77t2uDIvNzqn9s4bXWrAd0fj7iiHXI4k6/cqbHST0b74SPvLwYB0jSSLy6IKkKsKvUUjVpNgcZKOOv2++E9mv1vH57Xhe1MjiXDygNlMolvhDUY2rv9LDrlb62yBViyrrlJdyMYjHmxsvuraC2f+3kzqFqsFRuwh2n7Sf Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2648.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8039b695-13dd-4840-99f4-08d83385cd2c X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2020 06:08:23.7795 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6YVOVEjrWYI+msPK+u14G3tLyOlD2Y0HQnBzIlQOGo/6pdsIexVrv8LHijbvU531opdK5TPuGJfky/Gx1aSsbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4136 X-OriginatorOrg: intel.com Subject: Re: [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 patch can fix multi-queue performance drop issue and interrupt issue.T= hanks! BR, Yinan > -----Original Message----- > From: Maxime Coquelin > Sent: 2020?7?29? 0:50 > To: dev@dpdk.org; matan@mellanox.com; Xia, Chenbo > ; Liu, Yong ; Wang, Yinan > > Cc: thomas@monjalon.net; Yigit, Ferruh ; > david.marchand@redhat.com; Maxime Coquelin > > Subject: [PATCH v2 0/3] Fix Vhost regressions >=20 > This series aims at fixing the regressions reported by Intel QE. > I managed to reproduce the issues, and this series fixes them. >=20 > The two first patches fix the performance regression. They have > been tested by intel QE which confirms the fix. >=20 > 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. >=20 > Thanks to Intel QE team for all the validation work! > Maxime >=20 > Maxime Coquelin (3): > vhost: fix guest notification setting > net/vhost: fix queue update > net/vhost: fix interrupt mode >=20 > 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(-) >=20 > -- > 2.26.2