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 2899246D37 for ; Fri, 15 Aug 2025 13:12:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13AF7402A7; Fri, 15 Aug 2025 13:12:44 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id 658A64026C for ; Fri, 15 Aug 2025 13:12:42 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-76e2e5c0d4fso1526038b3a.0 for ; Fri, 15 Aug 2025 04:12:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uetpeshawar-edu-pk.20230601.gappssmtp.com; s=20230601; t=1755256361; x=1755861161; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HbRlgleKAh4uu7c/8hixA1bURFlifZPILrRRn5bKgYk=; b=z7ZNmTIl/HrOW/59cHiRw2FyyRl9gGwVgJ3s5Go0iTmQtlj3VWykb03pbIOnRmigAD OB0sH3TmqIJrRuTkxKwelbI0+2KlQvzNsM0/n3EvUh0cGg2pu/uvuckcEG390/O6P/0x MqZvfvLI7f17jc3HJ41V0zUpS1lCqAlZTgg15j9gIrMGRp3pdK/ouzb2HKUiHq/M4ZUr TEl/MnSrR4k+fisApyOW3LSWXbbYodFZsfNBCiYKh1pmpIk2zAc9OS8cwR0Ho/gjr648 VypKtjNW/Zc59mkwyZRAT+nmpCJNFamuhTgXJkGBKq5Q/tGewPMex2N+Vu810HSO+TUT abww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755256361; x=1755861161; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HbRlgleKAh4uu7c/8hixA1bURFlifZPILrRRn5bKgYk=; b=iZiMyXNVv41KJ6bS8P6xOzg/J3tgH6HlCsCfhGuaYKbtxdOEg28PD/lHusUHacm7sb d9ztDwWUjm+MwcI2lmGsMqJ2yIOtcHbrea8AuFuvLSMNka4lrcWqw2tQmSu+VcItnD6X B7CO1QY6/4tLHFusUqR167Pm+E/+53g0oeGOMQdC/GQSPme2a4vpqIZdAXZhQAnoXTB4 eXb/KpgfXaX3rzJ9/S/bxrhmxoXKJqKr62gk2gBYqHcGPg6hoo0ZLbNFEOCi4lz1Cdao DZz1DUuCRkKyOX6Go0ZmI4tLLmE1y5y0gy0meHezuC9znxH/VLekX6FT2poqpTUJYnpd U/TQ== X-Forwarded-Encrypted: i=1; AJvYcCVbhoU74epf4tI1ar162zQK+wfyJ3IgK/vrWoQ5wqFvMjC65NLHhoXsM8OwoHITD5hSroCXpas=@dpdk.org X-Gm-Message-State: AOJu0Yxvj46bVxBnRxLHDwzIZmwKucSoY8NZw0bzdh/v1Yuu2XqEJuEw VHmwRIYnXMzFaffL7Izp4JeGDqoAj4QIZDMVN5NmwZO3EvH5tRTNSC0SJ0sH+DNnK/U= X-Gm-Gg: ASbGncujqTRUKKvO/HloVU9K7/Cc5d0ZD1XkwZJJ+V/t06F7vqy/UjZ8a7cwXKCmwPK 8ly/RU3pPamqkm4pCIrNib4n3Oi2TRhcQrWG4lsbj6Vu4sbOZQF6APL8Qb41qU2H8nnO9doXgCE 7/H7TCEjSWw324deIGrEboAYV6dSFe9HRQFAfJqXZkm+z9lQalQnQ8lrpUC/1noK/NEVe3XBNWF q6qKikJn3F/0I60pFpRFY9nL/bqobNOKY8lY6M/yGRgw6vwCSVUqsHujUwhJ6dtljxLRJxyxFb9 7MyjYXkAjnAXEbWSBoYoU5fTCYKUPfZM+c4t2OZTZthSFg1tKa0cNGIwgJM24mcUXDop6ukGdrZ LriT7Tw6CABMjrUDxmOmStFkuDb+zVc7FKNbi17jW0TNjh3Fp X-Google-Smtp-Source: AGHT+IG6MuoN0tChBHfOuWhFz8UyBc9Hhia3Iw6QZ8e8mWZ4xOR0RF3aJ0/sNA8xObCUidvaePqDvQ== X-Received: by 2002:a05:6a00:3c8d:b0:748:323f:ba21 with SMTP id d2e1a72fcca58-76e446a92fbmr1985932b3a.1.1755256360984; Fri, 15 Aug 2025 04:12:40 -0700 (PDT) Received: from localhost.localdomain ([64.62.143.197]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-76e45566fafsm913004b3a.73.2025.08.15.04.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Aug 2025 04:12:40 -0700 (PDT) From: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk> To: Aman Singh , Bing Zhao , Ori Kam Cc: dev@dpdk.org, stable@dpdk.org, Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk> Subject: [PATCH] app/testpmd: add contrack state inspect commands commands Date: Fri, 15 Aug 2025 07:12:00 -0400 Message-ID: <20250815111201.3865042-1-14pwcse1224@uetpeshawar.edu.pk> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250814085831.3511020-1-14pwcse1224@uetpeshawar.edu.pk> References: <20250814085831.3511020-1-14pwcse1224@uetpeshawar.edu.pk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Add command in testpmd user guide to inspect conntract CT states. The conntract possible CT states are SYN_RECV, ESTABLISHED, FIN_WAIT, CLOSE_WAIT, LAST_ACK and TIME_WAIT. Fixes: 4d07cbefe3ba0 ("app/testpmd: add commands for conntrack") Cc: stable@dpdk.org Signed-off-by: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk> --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 6ad83ae50d..1653fcdbee 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -5392,6 +5392,12 @@ rules like above for the peer port. testpmd> flow indirect_action 0 update 0 action conntrack_update dir / end +Inspect the conntrack action state through the following command: + +:: + + testpmd> flow indirect_action 0 query + Sample meter with policy rules ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 2.43.0