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 917C7A09FF; Wed, 30 Dec 2020 04:17:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8AAB72C55; Wed, 30 Dec 2020 04:17:39 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 12BE32B87 for ; Wed, 30 Dec 2020 04:17:36 +0100 (CET) IronPort-SDR: QQ1txXko61fT+blzVpyXxz9c/EK9wEXTXwkgi2v3zyL66vbW6wJunOug3EaYSKLMnMQm5HhiAW AfFA/ZayeEgA== X-IronPort-AV: E=McAfee;i="6000,8403,9849"; a="163626629" X-IronPort-AV: E=Sophos;i="5.78,460,1599548400"; d="scan'208";a="163626629" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Dec 2020 19:17:35 -0800 IronPort-SDR: rf9+3TfpVzoINpZepYI853Cy3EOAJnZuIyqqMMDhUdWlCii2b6aQUAOTP2IJY0sd7V7NB+I8cw 3bQDEXa3m0ew== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,460,1599548400"; d="scan'208";a="393329519" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga004.fm.intel.com with ESMTP; 29 Dec 2020 19:17:35 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 29 Dec 2020 19:17:34 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 29 Dec 2020 19:17:34 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 29 Dec 2020 19:17:34 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 29 Dec 2020 19:17:33 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kTRpuyFZ7k3EXuvIOrsoBFRGc9tG9tsUxbWqxUzNftWH5X8lnzkofjxBge/qLVJ/uq2okbKSVOU/q3DcfF8Mtx2s+Qe1D/Ue0+TEC72Vka2u+IIxGLBonbDWlnBbhZSZNJExFNbw3xXJLapcZNHLeqUg4D1B6ImXLR4F/zYuByT5Ca1zgla3oO0qqWdZC5QTubtQYTmenPvF+sscrd/IJESGakmO+G0TJucCcTeZps9gBToPfLsbSvGEvLdpuYgdrIblBqtkVGdMImZLLD/TiczaecsdsT58+aj7rX2gg14rTwHOZdJhl5U9SuW9k+5YKOfOFT6MF5Fmf2QMg13kYA== 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=2kxInFLhr+wZojzyxvO+JxQkl+3vQsXcCYNpeamXhEw=; b=oYwl5PK5xuXhXy2X5PaPQvobKS9Q1nhKEKx/xOX/phYacUsm5r8Z/Szm/pDa2b1By9lusX/+r92INQw1H9q1wZOsXyf/fAIlsyX47MQnCaexYu6DRjv4YuH4ZrSIM0cQYsfDZu+MaG/pwYGqmFoCgIgfBsDgfjNoh+BlAgsg0kSJTKvKoonZEa/r6fcr4BjTDQi3jadTrDSHLt9/b88iaBw9noJPuVHt2rtUidqf7ZurKVcEqzzAg0453dQGip1lC5WbvFCFuTg8/4ngIUFUzajRrHd5BLjJgU0Gty74jWbQso5ViJzL+EprAi2tjijv2oOsQ3SkPlZC8lMnK4MwTA== 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=2kxInFLhr+wZojzyxvO+JxQkl+3vQsXcCYNpeamXhEw=; b=U2upLqtZ+DfKeTyfkdLjnDNngS6KzPIAAM/8lEppkpv9V7RpSdjQdyqB5SQaPBFudcz3vZPYdC9EFqeL+U59Xq7gRLSyUeFjrai03gb+zdlUtX4Q4e5Zk9p4Na3gSkPMYwfMPdhhzX4YiHewlM4vnNyop05kWftemfefdsS1Bcg= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3933.namprd11.prod.outlook.com (2603:10b6:208:13d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.29; Wed, 30 Dec 2020 03:17:32 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::74f2:ba7f:cb22:5272]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::74f2:ba7f:cb22:5272%7]) with mapi id 15.20.3700.031; Wed, 30 Dec 2020 03:17:32 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH 20/40] net/virtio: make interrupt handling more generic Thread-Index: AQHW1xVIi0sHtM+jEUGht+r6TqLOW6oPBcbg Date: Wed, 30 Dec 2020 03:17:32 +0000 Message-ID: References: <20201220211405.313012-1-maxime.coquelin@redhat.com> <20201220211405.313012-21-maxime.coquelin@redhat.com> In-Reply-To: <20201220211405.313012-21-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a6c418c3-6107-4d86-16ed-08d8ac717275 x-ms-traffictypediagnostic: MN2PR11MB3933: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1360; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ne7MOvCjdYLLLQHw4nQU9X0GTNntxScSLLPIgMTbh+nj5LhJt8ZgzMzyg6dMhlRbqNILm1JwIZuUXfqbhKAETomTMXM81o0/EemQXR7evel2MqHco9khY55sBfX9p5H/d8mcJm7KdVG87uKOAS9FIRZ9VoTk9zpmwzBQs3T9w4loEFmtUyrX/I5/kWqQs3wONL5GlYmcTus28cubiPANHoTEuv8HjNWQ1bQVEjkipCOn8RzQoFGtjzqDwb1Yb3w58+v15kDJsie5+VYLyMWrm5rbmUUs7WjO6krHSIGJhATxCdhMLu/WlNW4zldIrHzWQETusNXcX9ZoIiUCpjYvjBUxuilb5WSbg2fnlyhc+gbogqNWZ7MaqAufzDAAMp2JGpicTXUe6o9yB7M1JB+76hVREgQ2Je0KOvd0WjLkpc00x7bvX3BEhPbAFkAaSEwO x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(366004)(376002)(396003)(136003)(2906002)(66476007)(186003)(316002)(64756008)(8676002)(55016002)(66556008)(8936002)(53546011)(76116006)(7696005)(66946007)(66446008)(26005)(83380400001)(478600001)(5660300002)(71200400001)(86362001)(6506007)(9686003)(110136005)(33656002)(52536014)(41533002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?SjlKbXMwVXFxOVRaVDhLaHFob3pkQzlyeGYwa0pncDdjSjVsTnpaUVBWandk?= =?utf-8?B?dTREYnZBV2ZVL2dmZ0lKTjkrMFp3UkdVWXpwaGhkdEc3L0EvbkhmcGRES2gr?= =?utf-8?B?aVZPTWlmNU4wckpmbmNYTDh5R3lGdTdRVCt5QzRkOXdZVS9kbDVxVlQ5b2ZW?= =?utf-8?B?NElYVjFxcmxDMjBabFBtcmJSY2x1bTg3dERyNlVBR3NpUnJFZWRiMHhkNTlk?= =?utf-8?B?TUgwaXJheW43cVZ6VWljcmErUHZGcVIvam9vK1Qwd1QyZks2UXRPTXdMZHJt?= =?utf-8?B?WDBjbkpvMGROZGJNbG5SYXR2TkhCQjQ3b0pQVG9EVUNVRXlYRWpRUm8wMW1n?= =?utf-8?B?Z0g3Y3pzNzdsbEZScFJjWVUxVjN3dXVIYUQ1SkVSQUtiNEJGQVBJK01XRm9z?= =?utf-8?B?YlZoODhnSXhwMFpFazQxeXBxdlV3R1o2K1JkR2tobmF1QlpTRXI3ZmVyREw5?= =?utf-8?B?d3Q0WTliTGFBMFkyWHVBNXZPMVd0WWp4eTBEYnRiK2I0YkxtalFLN0RtOXMx?= =?utf-8?B?VU81TUlhSkxxL0FvMDUvc1Y1N2pDRmhMUnBEaWN3a0hMU243RGx2Y0lNTUZp?= =?utf-8?B?blBHZExDVm0yN3pmVnNOSGV1STBZdSs4MjVDL1pFcVQ4T25wTDBOTVRIK2Rh?= =?utf-8?B?dThsTmIzK2pCUUpVbjNDa1ZuOXZ2WjMrcWpBdjQ2N1lwN2Q2N1BybGRnUTc1?= =?utf-8?B?c202WEYrYTZLbEVYQTVZUjNHRjIzRU91Njc4TnUvbWFCWUhyMHRub2FOTHc5?= =?utf-8?B?a0dHVi9NQUcrK1hCUGorSldvWnZrU2t2VkQvVFpqdVZJbWFPbHZoNElEUm81?= =?utf-8?B?eGRXRVp0aTh6RXhQZFZBclZON21UdWdFOGl3ZjlVc1VYbllrT0ZEdklPRC9K?= =?utf-8?B?QTZRbVpuUDNrd0RRR21ZdHhXNHlid0thRURoNERlZWhJVTNsZVRySnkwbFRS?= =?utf-8?B?SGRNQ0MvdlFCMzJlTGFxM3gyUENuUkZZZk5SeUpzVE9aMFNxWm1kY1dTaXVO?= =?utf-8?B?ZXFEYmdLK2tTSHJXNTBBdkhTZ0JXWlVzSVM0MmZpbUszOTdnb3RvdEFRZTI0?= =?utf-8?B?NWFUa25kd3BhQlB0WmoyUkg4ZjkyWmg3ZDFaMDBuNlVNTzNTQlNCNWVST0Mr?= =?utf-8?B?dnZwWStjaDg2Nzdqd2JPOHl0QXpzMHplcnpyTk03L2JPM2VQUlRaR09KNVZk?= =?utf-8?B?U0tLQ1RPdDV2OFNwUjVGMnNPNWs5S2IwbHBkeTdJaXZKcWIraFFJc0h6d1Vr?= =?utf-8?B?TUpSMzFneTRmK3VvazdqWUlraTZQa3FhVHd4MXIydTJOQjZMMU54OG9HdEpt?= =?utf-8?Q?4XabvoBm0waS8jduZc5Q9iedI2TouhGq4q?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6c418c3-6107-4d86-16ed-08d8ac717275 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Dec 2020 03:17:32.2964 (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: f9gpmcl2wRf7nPOV9qk/Ttgcl5fbIoKd3RdhO/ZRa9ubS6AxIYUwvS3ANB08WIOTwqBhL3paWmlwTjEkxcG6HQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3933 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 20/40] net/virtio: make interrupt handling more generic 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" SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IE1vbmRheSwg RGVjZW1iZXIgMjEsIDIwMjAgNToxNCBBTQ0KPiBUbzogZGV2QGRwZGsub3JnOyBYaWEsIENoZW5i byA8Y2hlbmJvLnhpYUBpbnRlbC5jb20+OyBvbGl2aWVyLm1hdHpANndpbmQuY29tOw0KPiBhbW9y ZW5vekByZWRoYXQuY29tOyBkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tDQo+IENjOiBNYXhpbWUg Q29xdWVsaW4gPG1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0gg MjAvNDBdIG5ldC92aXJ0aW86IG1ha2UgaW50ZXJydXB0IGhhbmRsaW5nIG1vcmUgZ2VuZXJpYw0K PiANCj4gVGhpcyBwYXRjaCBhaW1zIGF0IGlzb2xhdGluZyBNU0lYIG5vdGlvbiBpbnRvIFBDSQ0K PiBsYXllci4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IE1heGltZSBDb3F1ZWxpbiA8bWF4aW1lLmN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