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 1CF9E45C24; Thu, 31 Oct 2024 16:03:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABBA542F81; Thu, 31 Oct 2024 16:03:08 +0100 (CET) Received: from egress-ip42a.ess.de.barracuda.com (egress-ip42a.ess.de.barracuda.com [18.185.115.201]) by mails.dpdk.org (Postfix) with ESMTP id 66E124025A for ; Thu, 31 Oct 2024 16:00:22 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05lp2110.outbound.protection.outlook.com [104.47.18.110]) by mx-outbound10-126.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 31 Oct 2024 15:00:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=l9U9hyQuZ5MeaGg9LwjJjVOLdMty34CcUgKvTP5KubvHvwvtx4lNw3+HvCLahambVDL+diisBq4ic+9uo2ZNtYVuLJHrriRenw+XfTv0GgbQ+iN+0zT2zlsNfQ6zvDRX0dzyZ3ywbESFDE0dnVNHfEAoRzB6VgTiC4UnIzO2kYem0QgUuQJy7TrGUzfKc8Ka9RAzIDptHzTgqlfLN6nw73oIaXfBeo8JOh9KjiAhJoczWCs934UDMF+X4DK0Ut4WdgtdgOCHBYFZltG4+LwEjpeNzNF17+i725gWpJ0aCe5L5veAF2Au7NC4ppSitNuiC+rpPdAisKZ06SxgfBWQgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=DmbLopbdyFUO75YICy3eRwwcMunOb2nSarOPNomyrb0=; b=a0nXrNxHXbYiBhmu+5U/T1XZtgXQHifTAuZCx7D7n1949vwMWL88vQuBNbRNQP7iOhPbH3BsshlOZRx6EfXyAwaovmZKZE8vSHdirwdtBOAIP0/DEYoS+aWApw9aPSWWx161IAJLLvTGZI4wE/bD9zPIFHDnUv+7T18aVLaOrjMUOedSK82UG7iVtop+v1CXpOdCa5hdxIx0lcut6DzFP9JrzUV/ds5Y3ijqihXPspL3A5MlV3egKlux0m7YJsVyJMYKbcSf/2w0HeDu5vdJTL8hQSaDxwElSOhLDnyi1RrEH3pmWe16MXf1w0YDX7FMHG3RLRYkpEF8s/Zl7weLcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 178.72.21.4) smtp.rcpttodomain=monjalon.net smtp.mailfrom=napatech.com; dmarc=fail (p=reject sp=reject pct=100) action=oreject header.from=napatech.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=napatech.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DmbLopbdyFUO75YICy3eRwwcMunOb2nSarOPNomyrb0=; b=mtuRMWSEgbtAZ3NJjxLm7PiJHJk5nz3L8/QQo9HXhHyDtpAAKaAPsYPvn7eCTIw8ByiYUJCjivYg1ouehiI9j6K1Io6fzsnwousmEA4ojAT+fLWKr415lzbEhrSQ5b5d4lJdJMJySbuPDiTneMdyUQgiwWgjEpw+7jwgMTtfjuc= Received: from AS4PR10CA0012.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5dc::15) by GVXP190MB1895.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:6b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.32; Thu, 31 Oct 2024 15:00:13 +0000 Received: from AM2PEPF0001C70C.eurprd05.prod.outlook.com (2603:10a6:20b:5dc:cafe::8c) by AS4PR10CA0012.outlook.office365.com (2603:10a6:20b:5dc::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.23 via Frontend Transport; Thu, 31 Oct 2024 15:00:13 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 178.72.21.4) smtp.mailfrom=napatech.com; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=napatech.com; Received-SPF: Fail (protection.outlook.com: domain of napatech.com does not designate 178.72.21.4 as permitted sender) receiver=protection.outlook.com; client-ip=178.72.21.4; helo=k8s-node-23.default.svc.cluster.local; Received: from k8s-node-23.default.svc.cluster.local (178.72.21.4) by AM2PEPF0001C70C.mail.protection.outlook.com (10.167.16.200) with Microsoft SMTP Server id 15.20.8114.16 via Frontend Transport; Thu, 31 Oct 2024 15:00:13 +0000 From: Danylo Vodopianov To: thomas@monjalon.net, aman.deep.singh@intel.com, yuying.zhang@intel.com, orika@nvidia.com, mko-plv@napatech.com, ckm@napatech.com, sil-plv@napatech.com Cc: dev@dpdk.org, ferruh.yigit@amd.com Subject: [PATCH v1 0/2] Testpmd flow update/destroy fixes Date: Thu, 31 Oct 2024 16:00:08 +0100 Message-ID: <20241031150010.2991953-1-dvo-plv@napatech.com> X-Mailer: git-send-email 2.43.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM2PEPF0001C70C:EE_|GVXP190MB1895:EE_ X-MS-Office365-Filtering-Correlation-Id: f366611f-e598-425b-9418-08dcf9bcb927 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?B?OHJyK0RPZW5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NcVBrN1hR?= =?utf-8?B?Q2pueXhpOVlGZGIvSHFrUjRBK1l4VzFTTjFZNG1HMndmQ3Q1dUtCYitqZDVX?= =?utf-8?B?aUNIZC9OS0pJU2NFVTl4TllJYWkzNS9xR3RoM05UdStKWUE9PQ==?= X-Forefront-Antispam-Report: CIP:178.72.21.4; CTRY:DK; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:k8s-node-23.default.svc.cluster.local; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(1800799024)(376014)(36860700013)(82310400026); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: n3pgTkGUZgLs6r+1QuETvs+qhXlVkZA5Fp+m2YPSdAdN4F5SQKFyqYhEYD+g+8yDkgeeH13JecGqQhENb+UoFV2Kknx9FmdxNc9F9Wavj7bFvyMxfYjqr3kLfEHQJrH0EUkuhlp7/HobhtrgrsM9ZfkIQ0RcuxVx1MpejCzx5vyUZl8jvTbP33/JcX85Kqlm9tAyrh8EFifeXa3gxvuCZZ6z4NmZ1UdVOYIq9xWfXG6Lf5E8Vw1Og4cllANTj92dvhIB5p3LEFeakSbU5GfTMmEAFsKKPBEvlUi0WnPdO1zkFkZ1uhvp5BjFQvO8btV3jY9j0eVrM104315V20ikNdskqjFK+dzZ0qX5ng0UirTu2EXT5a8OA3hpkl0hTRhC0C5vEhSiqO62yQUQ901OJhjKtytaaq949uRgMgiUSAMRzRDeDOTmBvT3QM4T5IYb7srhYgUuASaIq38Ig+RT2QfzU2UE3PUhUpCNdq3PowhaZH1PJnT+up0Dk4E3omk4vyU5pnKPQ/uO5We8P9RbVsgdjIF6qnuB+e+vjS6RqgzAvAug6WGsvzl3aHoC84mECP19M1sPopP6IU/JydK7ljTJ507URv/zy4GH3s2zbCw+RW1dcmxBdTwMQhdPqeRWOyHC2ZeGI0hASWLo/yYNin3nYWYtslWhwSLdZ1+6Oq8= X-OriginatorOrg: napatech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2024 15:00:13.3439 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f366611f-e598-425b-9418-08dcf9bcb927 X-MS-Exchange-CrossTenant-Id: c4540d0b-728a-4233-9da5-9ea30c7ec3ed X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c4540d0b-728a-4233-9da5-9ea30c7ec3ed; Ip=[178.72.21.4]; Helo=[k8s-node-23.default.svc.cluster.local] X-MS-Exchange-CrossTenant-AuthSource: AM2PEPF0001C70C.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXP190MB1895 X-BESS-ID: 1730386821-302686-12640-34185-1 X-BESS-VER: 2019.1_20241018.1852 X-BESS-Apparent-Source-IP: 104.47.18.110 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVibGxkBGBlDMyDQ12Tw5McU82d LUwiTZ3Dw5NS3JIMnEwiDR0sTYKFWpNhYA4RzkC0AAAAA= X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.260105 [from cloudscan12-253.eu-central-1a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS113687 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 X-Mailman-Approved-At: Thu, 31 Oct 2024 16:03:06 +0100 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 These patches provide next fixes: 1. The testpmd command “flow update…“ provides a nullptr as the context variable. 2. Avoid removal of additional flows after requested number of flows has been already removed. Danylo Vodopianov (2): app/testpmd: fix flow update app/testpmd: fix flow destroy app/test-pmd/config.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) -- 2.43.5