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 D09B2A04DD; Wed, 21 Oct 2020 10:16:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1963DAC61; Wed, 21 Oct 2020 10:15:58 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id A393DAA13 for ; Wed, 21 Oct 2020 10:15:55 +0200 (CEST) IronPort-SDR: 5hlF/2d7Q62bt784axFqi732PugZeEZoRlPr0sAWI3ggXMaQCzoBWaJf0K24Pzj1Ojke8danRH skW9poNTFnQQ== X-IronPort-AV: E=McAfee;i="6000,8403,9780"; a="167451953" X-IronPort-AV: E=Sophos;i="5.77,400,1596524400"; d="scan'208";a="167451953" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 01:15:52 -0700 IronPort-SDR: WAQ+cfbZvXSdv7UAKf3P0DNbrl5VnAicCW+pyvJz8oYPZvJb83JfTX4mXo1556QYlE2VoLoSz0 rwFxxgIL7YAw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,400,1596524400"; d="scan'208";a="523812277" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga005.fm.intel.com with ESMTP; 21 Oct 2020 01:15:52 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 21 Oct 2020 01:15:51 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 21 Oct 2020 01:15:51 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.53) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 21 Oct 2020 01:15:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e1uMivGoolj5/KyAwG94MEtsVYvKVkkjWTzmx5mV52+SDfvFclgmTZC6zN2BrQ5UtTGHM/HCXzV7qBwrJSIY12RvejZJgWg3JkoLeLxJqpWAdLjNFyWwYrvVPOjFMhKfaFbT+zFsk+iKPmKIhJaeNfH7h0Q2olKz2Anx7ffgB5ggUMef/oo4SWh7MJx3uEYWNAdZXXXCCORrXvXcEhr0SLhywpOW3nTOodBqJLxNom16utjkNKkYBbUnzlDzKG9R2AEOj42uUdkUyzSDScdYpIoivveBXNGch07UxLZ6QQgBNF7IdnLLSv3cZUIyuDO7LhwvbptM3xQFoT1+DiD6GA== 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=HMPShfIbu1lLX+3bPvG6hZmrzrRsqGotKvGLCkHXW7M=; b=ar3wCJ8v8fFTfkcT86fmsdIaKBzt1uKocIL45wslKsBHwiTFYa+RLJ9pXY3fS2Gmy21970AMJt//uJAB+c17a2KdXDTbFYCafsp3zKQY23Jt5jD+aRD5RFfgOshoW00JzzFloqiIvF9vuZu+9jqNpzcEyPNj64rGCZe30D3CoHXf5+qJP83JaKlYyB+ep5IpXPE/HeDyoWwx/H9LU9x8GLQF00Yf/I1DCSFLh+vZVPeNCEAwKHpQIy4vtgbeoNjErnHTPmUMzd1MRlVNmwjbqPLiYyHskRXPleUh9hsuoZP96oECoQvD1Uh40TTSf7OYrsB2CJt6EitNR6QEG9jZUg== 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=HMPShfIbu1lLX+3bPvG6hZmrzrRsqGotKvGLCkHXW7M=; b=KrLRPHSHeGYWMqpZENCGLIBSu1zO+AIPwQ6TR1RQF7/9bPs+xiuVSXEZk03VoX+ZC0BDWULZqhXWtaNdSzWnBeMHR+4jgwCBJLbUPIHXp1Wnzv7KF1WEYS2G3CCQd3vvE+ptk0mM65MUqPFHJybZWTAeFSVY9VL7XrI4uEZ5SRo= Received: from MN2PR11MB3807.namprd11.prod.outlook.com (2603:10b6:208:f0::24) by MN2PR11MB3725.namprd11.prod.outlook.com (2603:10b6:208:f9::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.22; Wed, 21 Oct 2020 08:15:44 +0000 Received: from MN2PR11MB3807.namprd11.prod.outlook.com ([fe80::4dc9:358a:cd2e:45d6]) by MN2PR11MB3807.namprd11.prod.outlook.com ([fe80::4dc9:358a:cd2e:45d6%6]) with mapi id 15.20.3499.018; Wed, 21 Oct 2020 08:15:44 +0000 From: "Xing, Beilei" To: "Xu, Ting" , "dev@dpdk.org" CC: "Zhang, Qi Z" , "Wu, Jingjing" Thread-Topic: [PATCH v7 1/6] net/iavf: handle virtchnl event message without interrupt Thread-Index: AQHWpTu51cqF7b79SUe2Otko4DtYGqmhuB5A Date: Wed, 21 Oct 2020 08:15:44 +0000 Message-ID: References: <20200909072028.16726-1-ting.xu@intel.com> <20201018103430.30997-1-ting.xu@intel.com> <20201018103430.30997-2-ting.xu@intel.com> In-Reply-To: <20201018103430.30997-2-ting.xu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1610e7b0-bd10-478f-47ef-08d875998225 x-ms-traffictypediagnostic: MN2PR11MB3725: 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:2399; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YImlpYmVSabR6c0rj6ZAiazHfNd4OLkLTX3w7IddPKa7JXTyCYJGUztgWJ62Lf8msKdhroQnPHFJ6SwqXb+HpBXfns/Sxme3+p+ffroveW2B4XZcWZmAhilNoGrI/fKNuvpa11QeQpbDhiV44aD57szTb8BzCtmisbwFhuWzM9rMuYidMR2eMlKxhuDoIfjL+A61BAXkWrIHoRaA2GMf6vy7SeYEZ7CI+gvyASOiee1QTaZGJ19Er2bnzpeGSwPC8PnnDbJTgyYE/zrXpmYR4ujGahwqvGCbjwt99MBUGSvFg3IPzkZK1HZHCaleELP7DOOVxZwtoIIiTloAkek+SftVWd1NiK2822rxzS6BJy6wJUT1E1fwfMcvMN0iFTow x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3807.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(396003)(39860400002)(136003)(366004)(55016002)(4326008)(316002)(66476007)(86362001)(64756008)(110136005)(66946007)(478600001)(66446008)(4744005)(8676002)(66556008)(2906002)(54906003)(76116006)(5660300002)(26005)(7696005)(9686003)(186003)(15650500001)(53546011)(107886003)(52536014)(71200400001)(33656002)(83380400001)(6506007)(8936002)(226483002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: nv61AFgbOVLRORCq8IopGFZAanN2BDAoLCEWYXR6Lp/FIUz2SUYkC4heAB4Ae73kklUULGtHKFJalQp+OjrrafVbtBwcbXWqT/d5KyxCdX71RfBQud+MpndS/u0U7GV+d0OfoAXhmYo64egHL/GpI6c4SVldtQNwWrAnzJMedlFdLDXB1XsJFMrozlQwlHvqNGvFSH+728QaiCDV9UJE1eZ4BmPdNc963N1B8Qjg1eQo1YzyGaNzdeE4hjIS7a9Qtde7bmmmvpWm069sNvwdm7kArDKa03dX9j1AqTSQXCOuDyt5Im/CRA5r4ituCrUSVIUMpgwzVSqMTgwH+CKMcda4FNJpOhKd8sTK2BZHWoqXSujmFtTJAPmmh0Gt83JT6Xu8B93JLOQ2r8s3MWGumz1IJIoSjITUVcVVldI9mAx2U+0karkCfUBvRE/KWxPRQtXmhfuVCEMKxcJcTpEQj0/QLF+FAITtNYRWQCy2cbYAHENq1QDYO1U6AphhsYewa3HKwf+UqdZP67bRL8QxO1zIDinz3j9vNLb1sr+IXEAieWpkZbVLaZLNB8o119juH2vyklscf81KjntC+Cv4fSbyiIa9x1FkZV2zbLhaQWM4rGo13YP6p7hMGQPj1uOR6xKqicRNG7ahJNcD+k2VXQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3807.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1610e7b0-bd10-478f-47ef-08d875998225 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2020 08:15:44.6142 (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: M4LQ87/Dnbz/WgwRbzI5K4Xn0PDM3IG1zHs/ILdgZNgHGXQiJ9AeMDWreogFTv+K9W+0UlRHfql6/aS4sE6npg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3725 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v7 1/6] net/iavf: handle virtchnl event message without interrupt 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" > -----Original Message----- > From: Xu, Ting > Sent: Sunday, October 18, 2020 6:34 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Xing, Beilei ; > Wu, Jingjing ; Xu, Ting > Subject: [PATCH v7 1/6] net/iavf: handle virtchnl event message without > interrupt >=20 The patch looks fine to me except the some typo in commit log: > Currently, VF only handle virtchnl event message when interrupt is called= . In > some cases, event message is supposed to be handled with interrupt disabl= ed, > for example request queues. To solve this issue, virtchnl event message > handling are added in reading message from PF in this patch. It's better to explain why we need the asynchronous way, but not use the ex= ample of request queues >=20 > Signed-off-by: Ting Xu > --- > drivers/net/iavf/iavf.h | 8 ++ > drivers/net/iavf/iavf_vchnl.c | 138 ++++++++++++++++++++++------------ > 2 files changed, 97 insertions(+), 49 deletions(-) >=20