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 8A3B441BBC; Fri, 3 Feb 2023 12:01:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 76F444067B; Fri, 3 Feb 2023 12:01:04 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 484AD4021E for ; Fri, 3 Feb 2023 12:01:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675422062; x=1706958062; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=Y7JlxfCbhFSLAl5dRVArJGrhLkl9Nw+dDbEk4U2XBCE=; b=PR9NdBzcTv66Rh2Bm2UPdLHX/B5+B7WAPk5/35civDkPGc5wNIyVzK73 HrFHtNOWJYiRvnLh4cyLhjzui1LIw+3Py26USLUF3DIDJULriR+BqDwWY pNxRh4Wq2Hi3r9NXDfJx8HTRDmm54c5kpvgVQ534y4dOuXa6sImKLDX3x //ZrQkuOzphcOpcjL/LeC3iyWHlXiGrgNpXjoB3VRmbwvTb4VNCvdlSLg hLUyEyiTC1VDVADzGyVNKc5PQFBQ1Ymm9NTOITXrnWxZftRUY8boR8Dy5 /AWIRaizX0sB5hNxJP2EYQKA12nzPVtXp5Iw8ANDsXbJhkCehqkeTpnvr g==; X-IronPort-AV: E=McAfee;i="6500,9779,10609"; a="391115951" X-IronPort-AV: E=Sophos;i="5.97,270,1669104000"; d="scan'208";a="391115951" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2023 03:00:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10609"; a="659060228" X-IronPort-AV: E=Sophos;i="5.97,270,1669104000"; d="scan'208";a="659060228" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga007.jf.intel.com with ESMTP; 03 Feb 2023 03:00:56 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 3 Feb 2023 03:00:56 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.2507.16 via Frontend Transport; Fri, 3 Feb 2023 03:00:56 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.47) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Fri, 3 Feb 2023 03:00:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wq808QJ6ciKEY69TW68O+tXFD36HNXPf3pi2BcR89EpFeeWw3g0zIlJ8Oajd90P5TLW6WBplV7OjGi10J1UyhcflBQhljoSbdjpe+yFUwYKhnLhu4D1g7htYl89Nidg8OImGPJmwBX2q1EQ4atRFeYKpfz0U+iGIMS/FCfQlSWRwmGOjIsXKalADamjcVFm8QsPqpy822YISIxj722orROttnhjfjkzLqBmWRgL+IBRZGqEqs3uxRBwLoo7OsYhpti7Kq/yq8tb5PbF3M5Teg9IFDC2VayNRmMjO76rMGcT0v4NOKiCguG4hk+KOF/2V5jYMXMBorBfzJdlqVR1FzA== 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=mbgpiQ5sgvJoOZSZJLgGE4CYytk3M8Sjz6RPtPRsFyk=; b=U45lU9glIMq/2XnjOfzkD1NC1YZO37LIqhnxsn+Jaj3ctVSWr3ANZhtN8CTpTNpvK9MUqcEuEVAK2nEArY4Z8WBikOoDiZhqbqiihtKpJffi7bPBXGwzn2tgXnFjfLM6R0ZTu2wajgO1PmO/8cFC7esSv83XPVyeEyk5XJKyBvKmXebVFFWTUyoL0f6Yy3ZQbYqE5b4CF8HqNaYgRilvr6HgRKeS+ZfcXWNBYo2Q+lpg4qvDqlH7BnfKwqh5BH1YpvXNHqQAcVvHo2+j4KM0PFkYpnZ+PkGklJSoFhTNNdiqgBaeMEbdQf18UIyP16RdRtd/wc6QbuvG0/sskJ0xgg== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) by SA2PR11MB4779.namprd11.prod.outlook.com (2603:10b6:806:11a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.27; Fri, 3 Feb 2023 11:00:54 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::610f:2851:ae4e:ebe4]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::610f:2851:ae4e:ebe4%7]) with mapi id 15.20.6064.025; Fri, 3 Feb 2023 11:00:54 +0000 Message-ID: <6dd44e07-9baf-7e42-1fb5-357e623881c0@intel.com> Date: Fri, 3 Feb 2023 16:30:43 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v3 11/11] app/testpmd: adjust cleanup sequence when quitting Content-Language: en-US To: Rongwei Liu , , , , , "Yuying Zhang" CC: , References: <3ba49f25-52d0-fe07-02e6-22a71e0fbe13@oktetlabs.ru> <20230130132000.1715473-1-rongweil@nvidia.com> <20230130132000.1715473-12-rongweil@nvidia.com> From: "Singh, Aman Deep" In-Reply-To: <20230130132000.1715473-12-rongweil@nvidia.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SI2PR06CA0013.apcprd06.prod.outlook.com (2603:1096:4:186::18) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB0062:EE_|SA2PR11MB4779:EE_ X-MS-Office365-Filtering-Correlation-Id: dfe6e552-3f65-44bb-ac66-08db05d5eb1d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +OMymFTQ0jCUNBDlc7MZb/GHSJpTU4DElxWeagkmHfUfpyea2fvSGsuMx94r+hIu93jNBN+gbIfXHRfasRkDV96IidmkZczlEaNpysSSBqZS1SPkZg0aEThgu+noBww/xIDw5qLQM2nJpQ6zVONfBMAnFA6w44pBFRfgDSSEZ0E93gk6Ie6JmXh2TS1++ChAEK8Kr0qYDCzvxBKvgnvvkj49/2Xav3qLMkTFSG31Plliid+kO8T/69KecsXDC9nT4vnekZo3dB7KH3SsuqmerTdFdrsQ+T0C8uX44Af1eYwjGSl0bqoKgyWNI19HYbZgNMGQOTcuIuuYr2+U1ICzmU7ZN5NFumnSyNVRQVww64PmS0Zq/fPRDlbFPKpU0cvndV2suGY0HJFHF5OGSLl6Cfgsj226xmFFibq9oadYo/CW2E1JDP2KS9jOKtSCje/aXS6ydgq0V9gwOB7NSG9GBZC5/439eZefvhpOum91a0G8b3h1iHm7czlofnwxUnjTp67R4ODqiVtMuu/H0CK4ccMyHPznkjWXQohiUI///IQkUa0DR4jvJt4S9rusiEERRDQypJS9nIDOMwAKNlS4QeQkzqx29/LOLFiZPzYo5nVwxIGH771nNtHnqBgiazAMgFScqGJDoifoYXphZR+byTTrhZdF+dmO5SVEnJD5U2vXMyNRMHZtqtDV8KceMjZWj4D76wlyIFccnAd6gzfdrzcQ1zxCGZnDKoqB4tQR4i0= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB0062.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(396003)(39860400002)(376002)(366004)(346002)(136003)(451199018)(4744005)(2616005)(83380400001)(31686004)(82960400001)(38100700002)(8676002)(66946007)(31696002)(66476007)(8936002)(66556008)(41300700001)(5660300002)(86362001)(2906002)(4326008)(6636002)(478600001)(6486002)(6506007)(6666004)(316002)(186003)(53546011)(26005)(110136005)(36756003)(6512007)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?K01qVm1VSHRNK1JsNEhDT1dYUVpQbldRQ0Z5Wm9QOXBZTHBRdXBrODZHTFJh?= =?utf-8?B?NUZVQzVqVVkxc2VWZ3FjTFl0dnNjWHBPYXZURmxKZklSMnErVTArc2d3dFRM?= =?utf-8?B?dVJEekRVakNNclVhRnhYazRsc3RGSXZPWTVoODlOcG9iZEorNy9FeElDRWdk?= =?utf-8?B?clp4OWJ1djVWbktCYUxVaHVYbm5uUG1xU1c5OUJPSFdkTFlHcVVrYzNhVkxo?= =?utf-8?B?d3ZHTGFRS3gzUXRpSWJBakR3UFhGT21lVjRlN1pYaXpFRVBWMWoyYU5QUkVQ?= =?utf-8?B?aEgyb0EzenZIMTIrUFBWWmJNcVhxOW5VaGNrbG5JMVNjM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IUlI0bGJxSlY1S2RxTnNQakgydm5Ma3I5SmhTUkhvQVp6elJVaHB0?= =?utf-8?B?Wnc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: dfe6e552-3f65-44bb-ac66-08db05d5eb1d X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Feb 2023 11:00:53.6945 (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: k+WIMSJ9aM7Qp7xOKw8Ih+2HrDCbwdcXDT+izp0tqgkNme7rjwrqW46cQEp6Q88PlGWGjIzylX+gpXJNGja4qlnn5cjq5wx0L/iHRUw+pKI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4779 X-OriginatorOrg: intel.com 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 On 1/30/2023 6:50 PM, Rongwei Liu wrote: > If flex item is referenced in async flow either by > pattern template or action template, currently testpmd > complains "flex item has flow references". Flex items should > be flushed after async flow resources cleanup. > > Signed-off-by: Rongwei Liu > Acked-by: Ori Kam Acked-by: Aman Singh > --- > app/test-pmd/testpmd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c > index 134d79a555..e35f7a0e7a 100644 > --- a/app/test-pmd/testpmd.c > +++ b/app/test-pmd/testpmd.c > @@ -3298,10 +3298,10 @@ flush_port_owned_resources(portid_t pi) > { > mcast_addr_pool_destroy(pi); > port_flow_flush(pi); > - port_flex_item_flush(pi); > port_flow_template_table_flush(pi); > port_flow_pattern_template_flush(pi); > port_flow_actions_template_flush(pi); > + port_flex_item_flush(pi); > port_action_handle_flush(pi); > } >