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 DFE8BA0C4D; Wed, 13 Oct 2021 02:28:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C32BA4067C; Wed, 13 Oct 2021 02:28:15 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 4F09A40142; Wed, 13 Oct 2021 02:28:14 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10135"; a="207422296" X-IronPort-AV: E=Sophos;i="5.85,369,1624345200"; d="scan'208";a="207422296" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2021 17:28:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,369,1624345200"; d="scan'208";a="547653574" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga004.fm.intel.com with ESMTP; 12 Oct 2021 17:28:13 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) 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.2242.12; Tue, 12 Oct 2021 17:28:12 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 12 Oct 2021 17:28:12 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2242.12 via Frontend Transport; Tue, 12 Oct 2021 17:28:12 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.172) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 12 Oct 2021 17:28:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R5L24qcT5zp8rxtQHlb47/FPWuTAnVD97n7KNYXLvyRtzeWZv6OIAvuhZ/oe4lBP8ewdeWp2O12NR5dzs886vVnLZvTIk3nOx1HDbgXLI8jTpUQPMbEdJU23NlsoY5GrTBsBQzAWn1PIj4KZXJUQBxsctU2vc/ohpThvvif8vd094f+QFqnW9HajbyhgpWZezjC+xuFEYCSfKuyvgzgnPOS94B4h9fYSAl8pGi+ESNC5dK6kHLyKzVvDH66QboLtC4MAdoQDtf5kpvrqsmILnril6BbxcRsjU3vhi9LIfF7PV2EUzqgrtnQnKn0bH4HzUIjon2NFhIDTXzP76L78mA== 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=cG/II7etmmqaAvWC3gjnxyzwtW0f+u16mTXWjRgwu2A=; b=LF3Zs8basKEyAZTbS+bopHx3p/S/e1AG86AhyWwUEvRBAnwI/5gznlxatHWZGDQGeCSmlK5gR1zh8WKscr3gakWNiZACKiC6VPCayEsA7vrEsUrZORu0U9WTn1V94bdNHS0f5jqWGcrWWEoSX5TMBjxEGskuMn3WwH0KbEj0OiCgtz2Oi7/NRA+SILeGFk3melTGybme0uYSSlb85o8R6NWNRcjohe+3ZbX5umU8kNrTRi7oMrtlhBYZkge3c0Ih/aqBO5KvQLOokl377hzkZ6JzKCQOFGSNTn/nFHVNNQuP8ekZ3sXWkTz45z2aBZCNdLBPR/qMW5ss2TblRwH6EQ== 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=cG/II7etmmqaAvWC3gjnxyzwtW0f+u16mTXWjRgwu2A=; b=MWQ4wI3/sIdGCGNxPV44WFMthS10DeEHO7AfjWlaTmnS4v5S0sVkafJei9raQtSYTzxA90tjo0dihKjc53doSf5zYDsXqCoTd3RXkhvmp8OgFVCqUUbZRWGo+hJQxFIrJloLpnv+QuK83ZUCVSDhdswr1OM2Xfu/hF7/fiaNtKg= Received: from BYAPR11MB2648.namprd11.prod.outlook.com (2603:10b6:a02:c7::10) by BYAPR11MB3429.namprd11.prod.outlook.com (2603:10b6:a03:91::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25; Wed, 13 Oct 2021 00:28:07 +0000 Received: from BYAPR11MB2648.namprd11.prod.outlook.com ([fe80::1464:a3d7:1da2:9c36]) by BYAPR11MB2648.namprd11.prod.outlook.com ([fe80::1464:a3d7:1da2:9c36%7]) with mapi id 15.20.4587.026; Wed, 13 Oct 2021 00:28:07 +0000 From: "Wang, Yinan" To: "Ding, Xuan" , "maxime.coquelin@redhat.com" , "Xia, Chenbo" CC: "dev@dpdk.org" , "Hu, Jiayu" , "stable@dpdk.org" , "Liu, Yong" Thread-Topic: [PATCH] net/virtio: fix indirect descriptors reconnection Thread-Index: AQHXlL1qId7C63NYV0mHjIfSpXLgbqvQaL0Q Date: Wed, 13 Oct 2021 00:28:07 +0000 Message-ID: References: <20210819053518.106296-1-xuan.ding@intel.com> In-Reply-To: <20210819053518.106296-1-xuan.ding@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f0c2829d-888d-4765-f105-08d98de05425 x-ms-traffictypediagnostic: BYAPR11MB3429: 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:813; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: krtX+vBy6Ohd8YwYCon3Vkk+3VYZXDUjoV4PDWROY84UUdntFmCyy4L9a2IEG6GYRU7BytPTuScJEGdZHEvDG+OZ2kUqlmhRP3RJ4+WdzAOkSmQQqzOoOenD8vp3s/aA5KXGpERuOnVCBsgRo862uaFXEfQDdkDMaPwqj9ZBzPnVaF17iJAmsCTZ67wLbl51p4VEaxHoKOq/d4lRJxR5vh4Bv4TqHxXGoxv6rQVuslhKFGGNsWv9FATS8WXIEGumYHKOkPFj7bBXFwfvrpXiM/4SChOWfSBEvPIli9Fcoq/sottO3yjginvzP0MdXoK50XdBmZrV7PEESMce2nrLWDbtO6sT3C36FdF7vU34OSjEUKiXuykkK2rASVuN3c/wXU7PGO01cmctSMhLWC3MydlWOPiWOW4EwP67I+flH5Im+ofn1pMxIbcbjoDx8eUJ1cP+76LiCiEorBFpU08w7vrEFVsjg90/XuG2ZhoBNI/Tvn8mY0SamvuD1IohT6t3Awniw5ZTspJyTYdMNewULcwV0Agrt/YWDGV6OcURcsObtWHxxFSApqVRQEXrDeNFURe/P4QN1JEaNPTuyO80pMLWg8YLy0q1A/ZH2aVLDHeTDb2py/t+lQPLM8r3Yq8M19SsPW2jUTku3nFpp4Opae7+bAaOIqdyNI6UJqw5RLi10qfLJWSDxiI05aPyRcB9noh+d1cTgVKlJYprhHCOlQ== 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; SFS:(4636009)(366004)(52536014)(66556008)(38070700005)(66476007)(5660300002)(26005)(71200400001)(4744005)(508600001)(76116006)(6636002)(6506007)(9686003)(53546011)(38100700002)(7696005)(8676002)(54906003)(83380400001)(186003)(8936002)(55016002)(122000001)(107886003)(110136005)(66946007)(66446008)(2906002)(316002)(33656002)(64756008)(4326008)(86362001)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?DeZ/CESHloSuMFHqpOLfYK/CuwoJz9XMJRyDnn0qh9b16GLDY394YWvR?= =?Windows-1252?Q?AelLXxwZ8KNf840/1CT3oQMtgX14NQCvbWHtFsynhgnHagaSeY9z8Idv?= =?Windows-1252?Q?keoSGpOqOJj7u1XlEymb1BgSRRh2kAun6Lk9p2QM5PYOd3GLr0l3Nx+A?= =?Windows-1252?Q?WaNedYqRUOp4qiv2IL4vC1Sb8dIHn6I4zATVk+TE1xIr7+UuBqGPzWrm?= =?Windows-1252?Q?UhhkbfPJwEBvfoqdLVx5hjuwOpFX2vR3q5IK21RoDJKOuErud6iSjW0V?= =?Windows-1252?Q?8qwcVKy+qF4Wtu8i+smK0laTOGH9LnUbrAYut3CQwdbRwyk5GyB8WFNM?= =?Windows-1252?Q?QIQ8O9Sx0hRhm2S7hWQMQhNlH262/wF7gklYPiyyc1HWXsHink5iZAoO?= =?Windows-1252?Q?DH1E1+Yru+8pQjo8oqnJO74iYz1aUJGDR/vc+OhMYektoo0hQAspUTSw?= =?Windows-1252?Q?//pam0F4GXb+VPZIYy5WBD7Zj/LHYDqVIoYDQQnKWNP+1ebnO/V5bWCl?= =?Windows-1252?Q?ztielin6B4bz5BVaun7fCLW4FIB3aOalNT71okKagajn0BUvBKJG3mLC?= =?Windows-1252?Q?OwYilQOJ0ZFZbnhpL9UUTnD5Sp6tgu1OdqkcXecPoNOLZpbi9gaOXz+m?= =?Windows-1252?Q?NcnlDOJb3FN22VsjUUrhKXAyLKIkC2Ta8m74DTxY2k+pY5bHVBaqlEAF?= =?Windows-1252?Q?975Dqyg5EBUprZ3nkTpmmMjV+vk14Am3UWFZ/whYUJvUGvRihto4Yvbh?= =?Windows-1252?Q?dDGM0t8s7HO6hHEPV4Lr8jwxn8bpKFxiNsM3do2255sdECKC4IzBbVZT?= =?Windows-1252?Q?ZJqs0po5fA01KxxqHHW3uGIrYiVVix36+2+QrJ6u7s0OL0ai9Nr1ae0Q?= =?Windows-1252?Q?Xr2xy7h9IjiCXKyMEsUkhBrIBdPaOP0giXL9nDDunRRmWGXPq+QKJacQ?= =?Windows-1252?Q?oh5WsQxngYNoM0NVLheUNIgoKebLmtFP+igqjFzoURQbl+UAXQB+tk+y?= =?Windows-1252?Q?P9VFH4+LyknaMnlYu9h8FLWw6Cww2dmLON+JkvRS2zcRjZGlb6Rha6dF?= =?Windows-1252?Q?ORgPwt5ZmjU8bP2jy+MhVlHstxCP7rUFK9vNi09/dQGNQVrvmDLgd6JZ?= =?Windows-1252?Q?BzDH2Dk1uEQVyLxsBsCcuz5PtS6ileWOa7xqfrWEMOKi5IrPs+3JXyma?= =?Windows-1252?Q?GzKllEEkPqXxrMhdHGbvS41k4In+mrD/MbPvFNb4Gsk5VKfiIsqhJ6iZ?= =?Windows-1252?Q?DLfc0zpsgq8rzh9qiNY8qghYRjSejbbvo+kUjOnOVsu40rN4IqE8uGbd?= =?Windows-1252?Q?W/yFI2WsM+MIwfC4Vtrt5OIs+13ukHur4fBFGq1ar1UftDAb8o9+bElS?= =?Windows-1252?Q?tc0cB9yV3nMvQga5h+NFsOjjpH3TDs/50kAILBWXPAR+nNneFxYaF6ph?= 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: f0c2829d-888d-4765-f105-08d98de05425 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2021 00:28:07.1780 (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: Bq6vRcS8tom+HcmxHhHQnuwePp4rjzmnPaFQYXhry41emmJnerdwKgdAfbmuVw1WMuAdeYgEwB27aWu01GKybw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3429 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] net/virtio: fix indirect descriptors reconnection 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" Tested-by: Yinan Wang > -----Original Message----- > From: Ding, Xuan > Sent: 2021?8?19? 13:35 > To: maxime.coquelin@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Wang, Yinan > ; Ding, Xuan ; > stable@dpdk.org; Liu, Yong > Subject: [PATCH] net/virtio: fix indirect descriptors reconnection >=20 > Since packed indirect descriptors are added and initialized when > initializing vring, the reconnection path also needs to be considered. >=20 > Fixes: 381f39ebb78a ("net/virtio: fix packed ring indirect descricptors s= etup") > Cc: stable@dpdk.org > Cc: yong.liu@intel.com >=20 > Signed-off-by: Xuan Ding