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 8790DA0524; Mon, 19 Apr 2021 19:35:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A50D413DE; Mon, 19 Apr 2021 19:35:07 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2069.outbound.protection.outlook.com [40.107.236.69]) by mails.dpdk.org (Postfix) with ESMTP id 70659413B0 for ; Mon, 19 Apr 2021 19:35:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cCMS0bWUVlW/+7MbyKEb1prwnoX/sb25m8aR0XQQmtc8qgJTy+grUMJ+ZvtNu0qR9+9T+MrulK9VA8sGSygIuYI3t79ir8z3wGBzEoh/62YO95PiaD9QW5PLXLLvUabZqxLHRJamH053gtV9BZGtuByZJgW1RpjVg0jd4aLpO+XLg/KeKz6/oAnNMp8+x8MfZZ6oq8mbnPpfLAGPuzMDN1lnpBWQwfLZFyic/LZ2sUzwU5ZGa7+O6RSYSMOtxyl8PrQRSj1/7s6UfhTU3Xgd5lhe0vcIbA6U6gGWgk2mqS6muVKSJLXFcV/VnubnOPacwOiOLwZ0k07sO9hw/htRrg== 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-SenderADCheck; bh=ywsAM0tlcW9wzFOgDDO0durvbHT+CEOqC+E117eYMFU=; b=hVLpleJZx9daweCjzQF3RUr4BWZ9MgGn03zIS0wMdaUJN0d41ZVkLnEsrlF80TqJeByOypSs0xKYqwgl+CRrfglrz6BC7ofquMmQjfgIRJjvVm0ukLbXE/lkP2NhD0OQcRZ02tkHcGEODewWEQoqN3RDr6UbpBhfAe3559WwX8vZa2kz0bjslx2Vn/0pon78l0fePOItpuzOMhc0PFBsFkL0mukJMsxJSz5GC6F2blipLAD4NawPXQV1WKPGsoD4GiVJ1qK1zRw8DBlq3jI5gtXzJJXwnxsYoZRElLHG82QHcaGuCELQXpsINTrqV7PpBO7r7bxmAugOHFn3zEgRGQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ywsAM0tlcW9wzFOgDDO0durvbHT+CEOqC+E117eYMFU=; b=KqOSkFZI5u7UokgBWbU5x1w2OUv3YyH0+gdP//mdvk+80r84dwbk8YBFFHZG/OcmX/N1eHCTiWaBAaH8RCpK9Kl9RcCUlrM6/SHiKI4gkJxyQNBJRZTcXR2JBvZ5mm+pSy9dfmHlsQlKJXJr5bTwS6fYuGr9KL+bm4WHxgvQ/4ghaaDKHSpJjdaE74bPkwx0nknaH3XlcsVUa1bfq3Slp6ipky5nVikuakTZ8o51ZVlIq37+XQ2JnVddnKko85EakoJoQ8wL/X5njf0rOjJdY1x17HEf4+j/SyAkwm6qbw+HYvBjWhBdqT/62KrrjLY2sC2ueGf/C5c+5leOyBz4cA== Received: from DM6PR12MB4987.namprd12.prod.outlook.com (2603:10b6:5:163::31) by DM5PR12MB1451.namprd12.prod.outlook.com (2603:10b6:4:d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Mon, 19 Apr 2021 17:35:03 +0000 Received: from DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::f5ce:c5a8:6aec:e308]) by DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::f5ce:c5a8:6aec:e308%7]) with mapi id 15.20.4042.023; Mon, 19 Apr 2021 17:35:03 +0000 From: Ori Kam To: Bing Zhao , NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.com" , "andrew.rybchenko@oktetlabs.ru" CC: "dev@dpdk.org" , "ajit.khaparde@broadcom.com" , "xiaoyun.li@intel.com" Thread-Topic: [PATCH v4 2/3] app/testpmd: add CLI for conntrack Thread-Index: AQHXNT/Xysrw49PZDkyppggoJTx6wqq8GaRw Date: Mon, 19 Apr 2021 17:35:03 +0000 Message-ID: References: <1618062393-205611-1-git-send-email-bingz@nvidia.com> <1618852616-369498-1-git-send-email-bingz@nvidia.com> <1618852616-369498-3-git-send-email-bingz@nvidia.com> In-Reply-To: <1618852616-369498-3-git-send-email-bingz@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [147.236.145.126] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 49306ddd-d451-40f1-4840-08d90359775a x-ms-traffictypediagnostic: DM5PR12MB1451: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /fuzO9jVF+OU/j5R8EjQN25KeA3CijiglFbk9XgC2awyVkb2CXkypJsBDqv2xOaCK8GMlzMzx7tKY6Z9hZjzaDxj9EBthEhFRyz5G6RpLvEsRKdOZ3xby7KUTTDO+AMo37d2rUfjpmR16CsLDkoMi3RN0WGkEer5g8c5Z132hxZY2LM1o/tObEHHlhjr7smQwhTR7ipnn8UgLkJZw4KHiJZai1vGdgy1REusR6lwcTJ++NpO0UfuwmJDha0DPSaDIkBNO2xjXxwJedmkHQK4wGQUobGA6u0ws3OgIFlolaVM4B3k9nMfBElGmv0/kCHuKt4G/IT4D7JTaYv3UcnHZxaMUmUkaVBUKkN2ILI5hyJ+tXrs8YvG+6HSvTB6Ac7iW1BiaiDvvLVabSUY1108THjcvWITiU2GLQCwkLjk9GskYvbXWFbdc+zaLK5ugVqeM3gq7KGMiAUMuh2mu7k7CVZ4LwkuIJ3QRhiEu2HKSb9gTToEWUrLgE7y2J+pGHNpKapHgHQoh9vDR9cW2LQNRxsC47x7Dupi+I7X/kdCKCNZPyPtab/CarpMNGnWuk74PG0hFezzUPmOO3sXaX6/asySAJdYmgsa2xS2YpuqUT8= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4987.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(136003)(366004)(39860400002)(83380400001)(26005)(71200400001)(53546011)(6506007)(55016002)(186003)(316002)(7696005)(4326008)(54906003)(8936002)(478600001)(110136005)(8676002)(9686003)(122000001)(38100700002)(2906002)(86362001)(76116006)(66476007)(64756008)(66556008)(52536014)(66446008)(33656002)(5660300002)(66946007)(4744005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?jkXy3nuAWlH4w2wUxXRmzBfCwA6SyYDAJgRbiin5ipA5Jd3hi1Olsbjk2o8t?= =?us-ascii?Q?s5yCO7uY4kjbAJ/zJ8EEFsGvRmWTkfRGw27lGtk8hJKUUY1QjBPxCowl3nwi?= =?us-ascii?Q?f9vAJ6eBOeylypm8Ige3RPgWDMIO0kgK6a2J4DMJ9171Pc8JOEm2P1ShkAZU?= =?us-ascii?Q?DuWnJHzFFIzDzNELKug113IgBiqLk1oY6H+sK66DxpG6M1aKXAieGCyfcdGp?= =?us-ascii?Q?PTu0N00xC9Gs0z9Cbmw8ZNmhMjO7hnjJ2JsWcbM8GEiXcQywmy/nNAUHZTmX?= =?us-ascii?Q?dnmzFsRkylCkxb2xsULARkPS2+ChEjI6hvk2mL4cX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6itUnWgjivWetSkxesEGw90ZDfHF6SLEAja+/iawHHVMS1?= =?us-ascii?Q?hIOvftM2+4HHkcjc1YDpjlMuboQScq03QT0YA7UkigsbIyAmtfExSlV2b1oW?= =?us-ascii?Q?PLjyqBcFA0vzxBl3IL05Eta4?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4987.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 49306ddd-d451-40f1-4840-08d90359775a X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Apr 2021 17:35:03.7494 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VxFlmswSjDknqrUm2cNg8Dps8FwIJE2k28IHzs9Bw36NI2LEA1p30V53U9WeOOtOOLEmu0NfsBB4xFJ069yjbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1451 Subject: Re: [dpdk-dev] [PATCH v4 2/3] app/testpmd: add CLI for conntrack 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 Sender: "dev" Hi Bing, > -----Original Message----- > From: Bing Zhao > Sent: Monday, April 19, 2021 8:17 PM > Subject: [PATCH v4 2/3] app/testpmd: add CLI for conntrack >=20 > The command line for testing connection tracking is added. To create > a conntrack object, 3 parts are needed. > set conntrack com peer ... > set conntrack orig scale ... > set conntrack rply scale ... > This will create a full conntrack action structure for the indirect > action. After the indirect action handle of "conntrack" created, it > could be used in the flow creation. Before updating, the same > structure is also needed together with the update command > "conntrack_update" to update the "dir" or "ctx". >=20 > After the flow with conntrack action created, the packet should jump > to the next flow for the result checking with conntrack item. The > state is defined with bits and a valid combination could be > supported. >=20 > Signed-off-by: Bing Zhao > --- Acked-by: Ori Kam Thanks, Ori