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 44979A0550 for ; Wed, 25 May 2022 10:52:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35AFC41181; Wed, 25 May 2022 10:52:23 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id EAFDD4067B; Wed, 25 May 2022 10:52:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653468740; x=1685004740; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=R26R+dGfBKCPhylhm6B6eFkfnTJPqwE70CCxNMymI1A=; b=GFXBeWe8tkNC+T26BFzA31XLXTqo+ThESmls4xCtPyVO2k0JsEVv67S6 uOLIQC/s22mts3i+oTaBdH+DNVz58HDxW8F3qeb+tJ3VfDQkY0UzGnKLD 3ZoUWw7GcNsRD+twFG8gl6BoslH8RiZdRAm5/orlLGQehprTfj3ehG5WC /d0iJXH/lThKoiRl8pjQ6bxUAjRYHQdIAtp6XzisaQ3DxAFrYjiLi5GvH K++OkBAfP9C8R+PaFzIoaUUsBNX16WoMNGN5UWUZML/c3G070iGylYC1Y Cj/kHAnmzkSV1VfRgsncTEmrTQJ63YPeq4oUiVsBUytdp6ry56af6Jdr9 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10357"; a="299091987" X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="299091987" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 01:52:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,250,1647327600"; d="scan'208";a="703822983" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga004.jf.intel.com with ESMTP; 25 May 2022 01:52:18 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 25 May 2022 01:52:18 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 25 May 2022 01:52:17 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 25 May 2022 01:52:17 -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.2308.27; Wed, 25 May 2022 01:52:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fZV6JkhLw6oxPuySF3O4TQVrKEsXqAh6iisOlV1YXwZt0bWlSOJ68KYEAcHUzR0seSyYYBCJIPy1fyWuDSk2hxp9quYFbSjL0jRs/5ivm/fo9tdd8bR8vcH8Uo08xAscbKCqWP+9sAqkG6uUVifxBF4aEcGjKIIAow15UFlWezflqEHvp0WopohFvRN/MRr/DigWxDRW6rB1jnVpQ+i4a93txx8lnmZBWxadHgyfIE92TwnBctVzyKJfdz+3fSOobQDZCAs01psxFP0cZFbbMZ4ifx0AeqV7pzSKMrc/oPNilJdBNl9ejpCZQsvan/GTUdu12vP0JH4NGglF7zKWoA== 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=R26R+dGfBKCPhylhm6B6eFkfnTJPqwE70CCxNMymI1A=; b=lMsB3EEAvteSicUcZK2ucNSJK4f52xyETbVzG0QUoqPx/NbhiMiwiDB/cRpjkRk3FnaHahl0zz16aykKghqwwbiau82A6Y+EoZVHakrYuQv1XH4oD09Lv1nVboEhflIPNgidyw4jg5+0yUAupFCsaqx4Qrd6iX3/9hgVA6O0Vc2xOxuyHL2zhVDj/ayOaDA1EvY3RtGKQTKv9kCc4EZorl3JQhxqq+zHsqhma6fdEtPMB5IRQaC5aHH7QOhPdeJSDlSnEPmCODpYSzkFAnTKj5O2zJbrQc2bMaArBlkwzToMIAClBtD0J1Ff7m6R3wVF4QkyWmcHhOSq+ZseOwDFyQ== 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 Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by DM6PR11MB3129.namprd11.prod.outlook.com (2603:10b6:5:65::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.22; Wed, 25 May 2022 08:52:11 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::b4f6:f68:2e31:ddf7]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::b4f6:f68:2e31:ddf7%8]) with mapi id 15.20.5293.013; Wed, 25 May 2022 08:52:11 +0000 From: "Zhang, Qi Z" To: "Nicolau, Radu" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Buckley, Daniel M" , "stable@dpdk.org" Subject: RE: [PATCH v2] net/iavf: fix device stop Thread-Topic: [PATCH v2] net/iavf: fix device stop Thread-Index: AQHYbp1OfKVREMHDaEaKqmqbU1Qj3a0vTBFw Date: Wed, 25 May 2022 08:52:11 +0000 Message-ID: References: <20220506094531.3485109-1-radu.nicolau@intel.com> <20220523120436.4042421-1-radu.nicolau@intel.com> In-Reply-To: <20220523120436.4042421-1-radu.nicolau@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.500.17 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c80c030a-6734-46d1-4e83-08da3e2bdbb5 x-ms-traffictypediagnostic: DM6PR11MB3129:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: x0/YdX2oZjnjN44bgv4JV8PyXTeYh9lvCXuJfTXbGIj+5Xtq2XGsItZtrtmnSYf59rXnGnH11YvThv+aCtFvAdeByKIMfiaJWHNhoBKQfHV0UYlClOu6Xr6agLtpJzDdWh5IZzyLQBjbvHyaSiPQ5bm1Is/Rd2TWNvQatOpSJkaIb/W7BJZxRjRECebAzfJXsSp3HDdq5dMI4j+6b4sUKbZC0fFIz9leVHJQZPHe0E+1cAuMBuzmBzd+kPukYt+F2tFO8pVcTLfd/McFdH4dbnNzMpuHNo8mGhsAdOcYYGsK0HTiLFx/IWhPowAIhhdNdwcsRxQr6I32DPqnaBIWb54kAePm8I1w/ce2FKZyOoZ5K2Ifqdn0VyQW6/FBpJiZip098LEjKXnJzCw6cRsF0+Hk9sPHvAncr4I49tsy0fZQ7d9kxZJ04IfX96ph5Cgj9QhVqxXnaYoeABjgkP2udwEDQ3j761x6a3fi15OziuFA9Bihbcs3STfaXRHvtFZ7+SFpJg8xAb6bHxjCpYrCyoLs0JQqKG0jjn2+UtbD+xlja4OR55DMKQqbNGj4IyGbkUl6ndCLXX3CQ6Q1xd1CzcvB+8GMYRZ/Mzv7ElNUQ+qGbXbKJyErvHwGZ7qENv2ik/RFl2IfjAfUsoN5uIUIWvT/RvzuDu29az/9Re/suNpfElRa7dbcfqx5QFWTu6L4I+gXDwoGYjVgkq1kIjLeAg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(64756008)(66946007)(186003)(33656002)(66476007)(83380400001)(122000001)(4326008)(38100700002)(8676002)(55016003)(66556008)(2906002)(76116006)(86362001)(450100002)(7696005)(4744005)(6636002)(508600001)(110136005)(52536014)(5660300002)(53546011)(82960400001)(54906003)(26005)(316002)(8936002)(6506007)(9686003)(71200400001)(66446008)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YhRYUU9O+qpUgUAHOHo7piJSPaFl+FipwJr6FZREJFbWVPoaiC9cZS8+uZtR?= =?us-ascii?Q?MVOxOxfFl/zzRcLP++DXB7rp62t20wJq0BzwYNVkW5KPxuQxaiIumm5eTw4o?= =?us-ascii?Q?gYk8z1CYVMJZd4VxCW8Uup7N3q3SCaDeSlXFNf4WPuXhCsGBuArQZ8Ze8tG3?= =?us-ascii?Q?bD3JIhKbJmzP6Od5eDculLZ/kF0AfOVPXmM740F4vUB1XCscWtbvrJB6QG5U?= =?us-ascii?Q?MsVNwI02RNhBBzz/X/eAwahqKI8mIXeh73ypnUZ28Ghj0QxqtyxEbXaT8Ems?= =?us-ascii?Q?6C7WU4WM7wCHGDyt7sB2PUKcNihC9qBtdMGcaXqsrVtCFi++aW8h1fWSytRI?= =?us-ascii?Q?KaSCQeC6W7qGoLO9+o0JN2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ii?Q?WjGpktpmorrug9z5st48sYzjyu3e/tzW4kBvKRbvS3i3qGyyfeOIcLxBlvLy?= =?us-ascii?Q?Bs9JfuDSihxMvyeZq6jYWtO7Zif2iQNa6TCyWHxbU2qyx3cXLKE70++d9E/1?= =?us-ascii?Q?bUqSGoLYqmlHYaQPXd65lA5YGDRKdwuTAOMfjI3NNUTLraSd6gLR6QplOtkl?= =?us-ascii?Q?XcfOFyVGAeZ67dM85e0MZ3lITRZpn5Sv3/SwsOaQQ/ml+37nBE6nzDLQXVfE?= =?us-ascii?Q?1LSW9uINyGlkIAqUa9il1XOAFfobd1N2fHUbdFYsB4GlDgjSf8Ave/d+rmIQ?= =?us-ascii?Q?hvo0u1eM3gDsxksNhZdlXJskJD/oPhhrFNk72JDtvjOmw+atfDuJzLMcgWTg?= =?us-ascii?Q?YXXmpYe+jLlUFJymw3KBlAldkqehvfvz0X3oCGKzlw71Cr1BlesnQYbY53Dl?= =?us-ascii?Q?PjUf8zzxmm3nHBP8NFGVylndyCGS4IZH+7IzLIG3ebeoJe7rzHUSBe5CzAu8?= =?us-ascii?Q?dZicC8C+GQ=3D=3D?= 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: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c80c030a-6734-46d1-4e83-08da3e2bdbb5 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2022 08:52:11.6329 (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: 54uUHrOUXeS0L8Ol4jkexWgAfFRWa+2Yjh3U8x7G+xqF2g2nhai0rjkZUeATam3fxKZAUNALrgVGgZH3H9x7Qg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3129 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Nicolau, Radu > Sent: Monday, May 23, 2022 8:05 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Buckley, Daniel M ; Zhang, > Qi Z ; Nicolau, Radu ; > stable@dpdk.org > Subject: [PATCH v2] net/iavf: fix device stop >=20 > Move security context destroy from device stop to device close function. > Deleting the context on device stop can prevent the application from > properly cleaning and releasing resources. >=20 > Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto") > Cc: stable@dpdk.org >=20 > Signed-off-by: Radu Nicolau Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi