From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B65B0A0C4E; Tue, 2 Nov 2021 09:18:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53765410FF; Tue, 2 Nov 2021 09:18:33 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id A70C54069F for ; Tue, 2 Nov 2021 09:18:30 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10155"; a="218119114" X-IronPort-AV: E=Sophos;i="5.87,202,1631602800"; d="scan'208";a="218119114" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 01:18:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,202,1631602800"; d="scan'208";a="576927622" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by FMSMGA003.fm.intel.com with ESMTP; 02 Nov 2021 01:18:26 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 2 Nov 2021 01:18:26 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 2 Nov 2021 01:18:25 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 2 Nov 2021 01:18:25 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 2 Nov 2021 01:18:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kpUc+6nBUwfBqcWTm5/VcUr8Y5D2kgZb0S47vKxpj0JN87z1O7XuMpLiGbD/jY/8eFfbgNj8aDAK4iDw4r1k79WYmwothKyUxUCyOhm9RgyKmo1q2lCZGKDADHnq8P0KYG03OPqOo51Wf7qVgwF6JyqXQZ2gcm+l68/vZiGC4yWO6VNqkUgaGFwXdIEoF9tpqDYUTNaz0W1+uB1Lu7joMrVTg7LXTjZrAPWk6gDesf7X3oxqlXfIJSijFxD1zsNjK32x29RlN1q5uJ/BdHZKz+8b8gpL/EvDxahZ3KuYmhAtcP0Oafvs55alLZYT4WgmYqFXZ1HxDJTLlFp/ggFw1Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yGISPBSovXhqvQXWtrrKF6ovkRMT0RdQBK6Oh5TVaus=; b=aCB9S+DUn2Wq05QoXae/Ob1EQ99AQ92easCah0CGMglKR6MDm9//LgiAGNLwHxP9pICduob7qjVj0McqqYCAthuWr7CFaIEOsNly8Fa49Rgf7CDnE39hxwsgORQhDHoqMKyG2FODCtVP9FkukRoMZ4salV5+SonsX+yOEtLZyojWChV2K0kIUM61qmMJeBNAkUnJyApUDtwv7kxrMixeZ/tjVInddYMb4YijSz2pHVsbzIFubLIw1k+73KC0eUSm/BLpK5ZvX1RLTBE/XaPey7Zu0gf0sClD3B8ZjZ04UQgF5DiflLDf3zMCqjIQBcuwgtGDbbSZMx2H6/wUe+3o/g== 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=yGISPBSovXhqvQXWtrrKF6ovkRMT0RdQBK6Oh5TVaus=; b=GtExwI9A1FyTV5uFYeKwurmjMLKnsPI5+kO18Y9vpM0M6Te1R2vVyZdjFHHmbezGbEOzEZz1vF0nQtC5w8sZafe19cYkXVvabDCGYPTNfVN75ueNdSuzZO0NPwrjna3Vg+uW7itGZpnrkKsaFaAohRoEUQfFjvZ90l9ImWyLqkM= Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by SN6PR11MB2608.namprd11.prod.outlook.com (2603:10b6:805:57::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.17; Tue, 2 Nov 2021 08:18:24 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::94ce:97cd:1b5f:b511]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::94ce:97cd:1b5f:b511%7]) with mapi id 15.20.4649.020; Tue, 2 Nov 2021 08:18:24 +0000 From: "Xia, Chenbo" To: Vijay Srivastava , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "andrew.rybchenko@oktetlabs.ru" , "Vijay Kumar Srivastava" Thread-Topic: [PATCH v3 09/10] vdpa/sfc: add support to set vring state Thread-Index: AQHXzNQtPEpw3iR61UOswLacg9MxKavv56pA Date: Tue, 2 Nov 2021 08:18:24 +0000 Message-ID: References: <20210706164418.32615-1-vsrivast@xilinx.com> <20211029144645.30295-1-vsrivast@xilinx.com> <20211029144645.30295-10-vsrivast@xilinx.com> In-Reply-To: <20211029144645.30295-10-vsrivast@xilinx.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: xilinx.com; dkim=none (message not signed) header.d=none;xilinx.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d94ad6c5-eaca-4025-0bdb-08d99dd95703 x-ms-traffictypediagnostic: SN6PR11MB2608: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:124; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: S+BCNew2sy4awp5yl0XQ1I9KRDFTmRjLd4ULdyLr2vAai6LNuyC3321LeYmQHf1L+VLOD5vudBQ9FlibpJ53ymmd5gxXMElVu+Effo8FviXT3yQHak/sx7huJbbUClZEQFjmRqGE60VdhnVYDuMeBgJIvpBUA8kcUi9/sfVonhTdMIwc+mVmvKvNNZ5QE/DH11zPw7svNLIKMKmY9LT/IHULI8da7miSvOy0SDD1eIqi5tq/NuOYTv0puXFNsEJAjgzD1b5h65FNHDsa2y922B0D0RTurXQjYUHK28QkiCjpHRmnSEguXxcilZADl5aEabpll6neVCrMNMzV/gPTKjN+Wdbxgc1xJDWKLva9vV3yHUR1klZV70znTp5/lZuHkFpRY5x/1vRuOWNTVaPNUxJdaaQDzZlDC490K+ihnMy3fDVg2S+G1obsoyceetUeKarCnHu2uPCKSW4MeYONlvaXbnNJxTkjEP83lWcKY/KLpZ5Ec3Y0T91FtPyxq9jxFnkj69a0p6T+pjSoFaR4WbP/Nms4BHry4iMWxG+rQxsIzMszyJHA31rc0++lysVmOEul6YGMtXEQ5F4UnPmrcBPfT+nFZadns7UpzN8OXMtNFQhs8JXO4DVmu1Vh0kqasW40qFIX2XD617WqN93smzBNA5ri821nCE2c56KjAatsQbcHLNDxWKyX6nvnxwpT4tPb1wZAUPbqhy68O7F3IA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(8936002)(2906002)(5660300002)(33656002)(38100700002)(8676002)(83380400001)(82960400001)(38070700005)(122000001)(71200400001)(66446008)(52536014)(66946007)(76116006)(66556008)(64756008)(53546011)(54906003)(86362001)(55016002)(4326008)(66476007)(7696005)(9686003)(26005)(508600001)(6506007)(186003)(316002)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZSt4TFRDZDRJOE44bXIzYzRMOEorc0VMekpYc2o1Lzh2dEdYdGRheWdsUWVD?= =?utf-8?B?ZllYc1RCR1o3U1h3Y1g1YXFNbW1PbG13d3BsWlZidG9vTksxejhJK2ppdDQv?= =?utf-8?B?VHRqQXVsNFpxUkVGYkJGWXhvUWpzSUFHZlU4NGlsR0hQR3hHWVF3V0Z4RXRW?= =?utf-8?B?V3RWTnVWam4zUzFzR3F0VlhibXZyWTRKcndkR1laUENPY1BiODRXellzMGNv?= =?utf-8?B?d2VyQTlZVElyZGdJdG81dFhPbGx5ZGFEVDJ2SWZhN0hKRjdwVDM4TzZhWW16?= =?utf-8?B?RlJOd0dyTlVnaE5BZ1ZsdGNURVdpZ0JyQ0JHazlZbkJEZ3Rqd3FMUGhsYWhn?= =?utf-8?B?K0l0eUZMNkRTWE0vdm9BRXY1c2pZbnY3VS83YVlwTS9ZQi9Ydld2MFFEejk0?= =?utf-8?B?c0xWR01xaHZMTEtMVWs5Yit3Q0tCTU04YUJXRm9OU2l3VEhIcEQrRzdCanBV?= =?utf-8?B?aWI2amNPNWFKMzVXZEdDdTdJM0xibEp6Vk4rRGh0T1dPTSsxekFHcHdwcmhZ?= =?utf-8?B?aHh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5?= =?utf-8?B?NkFMamNQRUhwN0U4Tm5aZG9JWDdKV29HTXJoL3ErU1BNVlhkUko2aG4yUFZh?= =?utf-8?B?VkZzNVFEZ3dNaGFQSEtuL0R6Vk9TdVRyelpPK2VFMXMxTmthTzR6VlQ2enFE?= =?utf-8?B?bTdsQVltUVgva1hmdEI0YXExbjlJUUNlNnRyMkJtOEpNbEJEd0Q5KzBzMnR4?= =?utf-8?B?VU5SRUF1WEJXWEh3TTNMTGdYek9mZDBlZ0trVjVZUHpHRTNlaUtvbDZScTM4?= =?utf-8?B?MWZyVjJVZkJvVHBpSEZyQnpYZzBNZzU1V1ljK3hocTVTcXpGYUlmaU9jSFdC?= =?utf-8?B?b3QyR1VIRjZ0VjlPQkdCenVORVpGcGdQYUowZEhVTFZwR3k5WVVab2wxMVkv?= =?utf-8?B?Y1diZDBwenF2N2VWRmhYSjVMMmZnOE9pbWN5ZElYVHVLQUF5aDB1U0RDUkl3?= =?utf-8?B?UGUxOS9IYVZIbEV2eGNJSXVNWDVGYVJmK2tRWGNwNWZpelIvY2ZqQS9EdW54?= =?utf-8?B?TEJ3aWk1elBraEs4YzdaTXpsa1N6eUpIYWpjOUJXMzBEMm5RdlJSZkRjMjhi?= =?utf-8?B?dWFEWnJQdnRCMjBUQi9kNEt2bjREZjVKS0ZnaUliVFUvRE40NldLbUQ0MFJa?= =?utf-8?B?S1JzSGsvUXl3bDluWElTTWNBeW1TTEd1eDAxTEwzVnMwZEdwWUFkUzM4N3Ra?= =?utf-8?B?alhsRGNtZjlWRWhvc3dKanpVTzRJWnduNm5kMnVEZW9EZUptTGNzcHM2QTBX?= =?utf-8?Q?URQ1EKkuRZPCBSuFSsqkUl4=3D?= 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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d94ad6c5-eaca-4025-0bdb-08d99dd95703 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2021 08:18:24.2367 (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: 0KNkV4lF71G+/vR9WaFckDSvKg2QarhtW6MKhJJI+6C2AhwV++k6Dh5g5Pul8NO6n2C74lPzc6LRCorSWlwivA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2608 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 09/10] vdpa/sfc: add support to set vring state X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBWaWpheSBTcml2YXN0YXZhIDx2 aWpheS5zcml2YXN0YXZhQHhpbGlueC5jb20+DQo+IFNlbnQ6IEZyaWRheSwgT2N0b2JlciAyOSwg MjAyMSAxMDo0NyBQTQ0KPiBUbzogZGV2QGRwZGsub3JnDQo+IENjOiBtYXhpbWUuY29xdWVsaW5A cmVkaGF0LmNvbTsgWGlhLCBDaGVuYm8gPGNoZW5iby54aWFAaW50ZWwuY29tPjsNCj4gYW5kcmV3 LnJ5YmNoZW5rb0Bva3RldGxhYnMucnU7IFZpamF5IEt1bWFyIFNyaXZhc3RhdmEgPHZzcml2YXN0 QHhpbGlueC5jb20+DQo+IFN1YmplY3Q6IFtQQVRDSCB2MyAwOS8xMF0gdmRwYS9zZmM6IGFkZCBz dXBwb3J0IHRvIHNldCB2cmluZyBzdGF0ZQ0KPiANCj4gRnJvbTogVmlqYXkgS3VtYXIgU3JpdmFz dGF2YSA8dn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