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 82E8541CB3; Thu, 16 Feb 2023 18:09:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64A2742D1A; Thu, 16 Feb 2023 18:09:01 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2048.outbound.protection.outlook.com [40.107.220.48]) by mails.dpdk.org (Postfix) with ESMTP id 3A9F740F18; Thu, 16 Feb 2023 18:08:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mpIG+8dznJnJPjt2QGUj8byftR6HNpFXH+IS3+zuCi/xVTFG6POGCka31dqtnFbnddyQtmrYihAWo9VaJ7PyjGKaAZQw/w1G92xOii57pxnBWY0op9sMQdJXc+QmsF/MeleYYjRQRoUfvHM+oVae12nyc7UGe+ReCyn0OdQRPqdqf1qWxU/zgnfvfVpE2HBnUsAsgcpXsAdGN0/kpnHjKLZYU43RnX67JzVkeUxngb1JtM+zgXwcYq5+qxSk8TqrWVB+pnc6arTjuxnCbxoyVZblzOtgnlPbq6jz3qTJIhWnPpK1fiU6z6HPqfKz7xZitEWwueAeZqGqm0BNMcvJGA== 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=IQLT9wuLYWQ4vipRfNGg5BSt/mIwPcLAANtc6FYtSHE=; b=Ni3oWv7XQtMeXpmDC+A5f1M5PnRAj/kaPF9yL1cS/3h8Qv+mSbuFl6YkA8bPrCOX5HwXmchC5ueSTF8+6uY8mAIDzKcER/hRYI8gS8Posx1eRXl3iLvyrupxVnoF+O0sG6XXhQKKSs4i9BwqxOrTrVtzR9vX0/E34aNn/e4h+5wVL+kC9oMLFHHUpaJV286NtjkNhfqs/Mpspsqxxy0lPTNW8RYHD3aelXBH8jw3/3k3+Y9cRkq78Wfa5lUkEyFVNYjZulfGGKzjm6AHzRdolRQ5IaNs1q9rPBi689NISip8GcAPpo9aitMlatXkKk01GUYyohcGoAMmz6bzx/Wu1w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IQLT9wuLYWQ4vipRfNGg5BSt/mIwPcLAANtc6FYtSHE=; b=roT7uoESX3TqVqXR9WmndOnvfOT2m/HfaOf7SlH0fDlwAESxycS1YTdoFpLlYFnZgGP0410LLBvowIc8vouxG+AjQnOTH5KDyG5E+kzUm1/sojQ9sxZv6BS4kMif53A296BH5SX5+yB3kUjdEZo0iFoZIwVRPzCLVFHLTo0ey+s= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by BN9PR12MB5131.namprd12.prod.outlook.com (2603:10b6:408:118::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26; Thu, 16 Feb 2023 17:08:56 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48%7]) with mapi id 15.20.6111.013; Thu, 16 Feb 2023 17:08:56 +0000 Message-ID: <7c9dcbf2-ce8c-b7ad-ba69-0cd4e630d32a@amd.com> Date: Thu, 16 Feb 2023 17:08:50 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH] net/nfp: only flush specified port flow table Content-Language: en-US To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Jin Liu , stable@dpdk.org References: <20230216063644.13109-1-chaoyong.he@corigine.com> From: Ferruh Yigit In-Reply-To: <20230216063644.13109-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0084.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:190::17) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|BN9PR12MB5131:EE_ X-MS-Office365-Filtering-Correlation-Id: 4eb63872-be3d-4f49-0824-08db10407d02 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tcsFmFBS86Pl2Djcm59ceoX3SRJFAfHaxCjwwAywoEfIF9c/e7xgcd5GJyH+HyRc553GcUn7CP7Ez9pd+CZLUEMAQqeYpbGQH18j1parPO6dNJQAt8ViMJ1K95I+RIRTOQaIJCYuyiNdUNBkSm33cricZmr0eeN7TPEbY3qNRBiUlM5BgL0fC1a4P8cFk4UFeIXGwcdfrBniuBqG6+jMv34Tht5bbx81k92ts3aCczTVMiLkaNwG48PZcXOQdakmL81zDDHp613AaEA7qQZbGKvYKDTtgoO1F22ueaANpFMP9632eNYpfB0POlz1r5KGhEX8D8DEH0VjaLBGmJXy2llK5RYvgXlR1nvfSr/1+8Z1tFthAjrRNr1cuzrRJdT+aHx+8hvUBiEtYN/qPouof7OWWrrKzwZbLbn0eevZ4E2iRUCQ0TtSSCxTuTz8UjFcGEHZ7fxRmepkfVwqkK6HDhmbuiQZrX8tTCQ6k0YpbhR/hpJ4XEDJzTmjA4ahoHiXNJeGOW0Mo7EkvG/7RgDJWG8Mm/A4BwDX532RyhVqz7m1jCmySJryyOON5MHCJvbOR+26UleWS0Nkij3vefR6lnwhQ0nQkUw/HGSNutOsl7Vie4YAy5S1wP4Kg00DP1vESzmDsAsR9CzRSc1hE79AzQ1oOqA+1wf0ucr00cU52NSvQD+87KTakoqFZaJJ36ZLp+njguq8xOMrtXMhywLZxm7XPK9XB51pXaghYV1RztE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(366004)(376002)(346002)(136003)(39860400002)(396003)(451199018)(316002)(186003)(478600001)(6666004)(6486002)(2906002)(86362001)(31696002)(38100700002)(2616005)(53546011)(6506007)(5660300002)(6512007)(26005)(4744005)(44832011)(66946007)(4326008)(41300700001)(31686004)(36756003)(66556008)(8676002)(66476007)(8936002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VmxQM2JPTHJ0WHF1VDJRMlJObUlRN3d3dmU4Y2h2VTFFdTZXSUt2NGErcWdF?= =?utf-8?B?ZEdUVXRsek9rMk1kTlhrVHZTS2txVjQzT0pXV1NhT0JxeWEvTTI3UzVZY2t2?= =?utf-8?B?OHJESC9aclk3SWgwMGpjTkhzTW03bmx4M0JTMGFlQmlmTTZlYmkzcmpLelEz?= =?utf-8?B?VWVlZHBWVndsWG1PQ3BORFdNME1hWFBWSmphTG1ZeStLaWZCOWdtengzRFg4?= =?utf-8?B?cFV3VWJuczVUTmhJZmhvYkdkcktnRlFhbzNxbTJFdTd0TFpTbEpNc0l1R01t?= =?utf-8?B?b1ovRDhIQVZOR1lZaHNreWxDYXhaU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LZEhC?= =?utf-8?Q?CMiRF7pdWjx4z18TGGNEa8l24?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4eb63872-be3d-4f49-0824-08db10407d02 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2023 17:08:56.7274 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iw+m/z7+0lCW3+chkvxnFPWJmYd8+ppPze7XF8/wjBHIwd6t+tygOu9xSnceRFdD X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5131 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 2/16/2023 6:36 AM, Chaoyong He wrote: > From: Jin Liu > > The flow flush function will destroy all the flow table on all the > port of NFP nic rather than the provide port. Modify logic, only > destroy the flow table on the corresponding port. > > Fixes: 30ecce522732 ("net/nfp: support flow API") > Cc: stable@dpdk.org > > Signed-off-by: Jin Liu > Reviewed-by: Chaoyong He > Reviewed-by: Niklas Söderlund Applied to dpdk-next-net/main, thanks.