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 7D113436A2; Fri, 8 Dec 2023 19:52:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DF3D402BF; Fri, 8 Dec 2023 19:52:59 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by mails.dpdk.org (Postfix) with ESMTP id 68A6840144 for ; Fri, 8 Dec 2023 19:52:57 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VwWzFRWJ+HfrzQCthklibV8ZaoVunmJx93LGRiXtL607Jnbz5ARqsZAKWCnAK6lkKOVxaJv06Hv2/5CYht7eb41I6gLLOeirFF2jG0USnI/beqH6IDxbPGUZqPNk3NEtPPng+qzkXXMevwtErpFqDNfQn495kDrWJl8wgZ2jMSnyx54No7IpzZxebabtv4ES2VUVVEE7TjBSRkE7JkTa1BwbktKGa/JNH+koliTpmaUA/YmmzaG2zh95ZR0x7xIgLsnuwE8e05RjSO9yIGiOMva1ntsi7zXlUeGAWLxwU+JwjVrtrCQrX/qdGOehOnqQMu8B6fRdGtoSZb77VqRJ5g== 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=Pfh978xoZsSPOBYdr9DLmHgWYsJdpS5Bv1/QnMq9grA=; b=oREzNKk/cKnmRfB4sV6vzYuq9atKqCgZjn/K1l0Yv36tFEjwZ8NYMSVpC9Xjpbtu9f3Z838s4GcY8xhSSfXnU8WgInQVpmP5HnTDe7+JeGGJwybiy3dM3GPgbDVBxJdgLdXZLBrnVmjHLWB4RRyXhyoKV0ZXf777a+Pbk8wuNxGOyeWo7JCA9aayso9fva8tV+q7qBFf+4yTTXr5c/wnz+guRkd42OTVCtx9HFqiLnMGncYwTdw/csSMLvsYqkxrW8FddBS11H9cSvUHeC9AJ+yjcaIMXYhasSyre6+HT2VE9ecUMLerpVuao7tvgvIigxgGtIfFqkSQU2gDY4Dd9A== 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=Pfh978xoZsSPOBYdr9DLmHgWYsJdpS5Bv1/QnMq9grA=; b=mOWfg6E/82crXtmiZdCY4WXWKGzLGy3ZpIVzjGWxHfbB8XDNO5qkdPNRMu1JFgSfs1b/pT8KOpQT2J7JtrpfDNAROJXzdVXOtOCY40KT4+pYAcuZSd2DBk4oEL3bdu8YKrhhK173eByEtBb6V+ZIKTGriXFkkGaZPyf+gVm7Ehu8LjzB+P7WVEaY6gQDxo7E3NqhvQo22rCldwUAn2EBnEJzQ0HmERQzh396Tkc8duIX1IjF7SdIkuQB+vW/wBt38fnlltlawIC75CfrcqP9Wv4+m+BwYupn3exQGTFyczAYurfnQg63FANsR6/ifqjc/mWBSm6wpFdrEpDINzt6lA== Received: from IA1PR12MB8311.namprd12.prod.outlook.com (2603:10b6:208:3fa::12) by BN9PR12MB5209.namprd12.prod.outlook.com (2603:10b6:408:11a::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.28; Fri, 8 Dec 2023 18:52:53 +0000 Received: from IA1PR12MB8311.namprd12.prod.outlook.com ([fe80::2d14:dd8e:f91d:3175]) by IA1PR12MB8311.namprd12.prod.outlook.com ([fe80::2d14:dd8e:f91d:3175%3]) with mapi id 15.20.7068.027; Fri, 8 Dec 2023 18:52:53 +0000 From: Dariusz Sosnowski To: Michael Baum , "dev@dpdk.org" CC: Ori Kam , Aman Singh , Yuying Zhang , Ferruh Yigit , "NBU-Contact-Thomas Monjalon (EXTERNAL)" Subject: RE: [PATCH v3 2/2] app/testpmd: add random item support Thread-Topic: [PATCH v3 2/2] app/testpmd: add random item support Thread-Index: AQHaI6rnK8eI6kK5Oku9/FvlJtCxELCfq1dg Date: Fri, 8 Dec 2023 18:52:52 +0000 Message-ID: References: <20230911074149.697944-1-michaelba@nvidia.com> <20231130163215.666239-1-michaelba@nvidia.com> <20231130163215.666239-3-michaelba@nvidia.com> In-Reply-To: <20231130163215.666239-3-michaelba@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA1PR12MB8311:EE_|BN9PR12MB5209:EE_ x-ms-office365-filtering-correlation-id: 9bbb6b93-3e11-4f7d-f096-08dbf81ee1b9 x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nFteVyrh526C3Uarm7QT5BLbm6p3qVfqx+thVDt8x8b7+IWa0DhS9+Nr4qtvzFA2m94ZbscFdxHRtqjGgmQillRQN5PGyZVnMPf+Nz8IeQd2s0aWx6ej7BQgxdgOl1XeksUmtipbcDM4232t2x4bR5jsjBD3VoiltMidxyBtaazEyCzry9goAXmKfVD4KjVlVfTV8VrKPeDl/dY+7E2DTwE9h4aOsKq864WIOr85gzUOCl7uVcwGmTQDNaAvE8Ery+HUnLHntPkKsWnbFoDXsv74uMH7jQPOWUcQPwNNA3MV/SauQ4uQKrCQVQm966v0qxXW7yPC9L232yOX2P4SJm3BCLOs0tes8pPZiLHJTEE+A1fzvXQdmS8EGPyeNnt532CzxUhvuhQgHzdxBqoyfjsCc2lWYe8/QmHFamJDaQ2TbQi58VHXTl7g/glkH9Ibji2rBCnngs1WRip0j22m1nyqR0G/DxxawvuOYV47HbqV4EOK4PRfjSs2w20ifxbA4fFHpPlGNIHzOJFP0LoCJghil5OHvlanJJ9kGDG3ZAAyI6KccgqEawdHfh5Rg4Bag81Gov2FVH8WR12YwrMaaf2Kv8n6bgBFUZ+i8dM8RVR4n/qBUMVoiNiNFf/Avc7z x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA1PR12MB8311.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39860400002)(396003)(366004)(136003)(376002)(346002)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(71200400001)(8676002)(26005)(38070700009)(8936002)(478600001)(4326008)(38100700002)(86362001)(9686003)(52536014)(122000001)(5660300002)(55236004)(41300700001)(6506007)(7696005)(55016003)(33656002)(316002)(66476007)(66946007)(110136005)(54906003)(76116006)(66446008)(64756008)(4744005)(66556008)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?z2QAtMwWYh5QWHjahYZhq2gT1XK2oVK9aPpdwUxxIXxMXbDU02c6/cnF78fY?= =?us-ascii?Q?uXw+OkAh3/rDDVfY6NzWlCvL7YR9sryccPWcCNlaZWceF2IzQjmKJ6ZSO9xI?= =?us-ascii?Q?xU9YRj3DpMWtdtGldbxn0Vf16+VALjo7XhnbC6+NG6M3aHLnoxzUqiGWEkPQ?= =?us-ascii?Q?hxTavdmE9lmC7QMJxU+MwFxw378Onc9fF/2adL5RKsFBOIG0FiyNttEcNIC4?= =?us-ascii?Q?BOBB3eZrWtp1szNIf9gQnlAqMvW3rDm/LWB0i2XMZGgDJ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?R/wJkKHc2+EtnozLBAC5cD/cLotAzJ8vEhlRN7i7aIITEMyp8HbLr4NSFufc?= =?us-ascii?Q?6vMv+f7mtJUjuFWwTAYqt+kskaV8XsJYm9WCnKjEoaDIfbLeezT/Qc+oiGnv?= =?us-ascii?Q?bXYoGn0jTNnALq0Y+ZTV6icRbYpA0q02GjBrhPJUZ7q7fPoWsTMQs2NFWP8J?= =?us-ascii?Q?9tvYEBTFOMWtS3SSf+7V7CIWxYcXWIyxPzkWDKO6BkZHi4ZK9l7gXEd7lOp1?= =?us-ascii?Q?Vqgkp3I4P7QfqOPuxxRvFnsdGQQJdpbkaRfdHMVdGKq1xW3XREFXPe7NlhLc?= =?us-ascii?Q?JDAWf2YIyfHWiz/Q6dFfPI7GbAiipyNKqJVBrbgnN0oyVFipCeut7qIA10RV?= =?us-ascii?Q?vcb8cGZ8ihYntX4YUlehtwHWRsbuzk9/e6rV0AGuy+z/nPOTZcYoALmVRZT6?= =?us-ascii?Q?3drXQutPTR+5Kbs1kfccn09W3hI+/AFZWjQeZY+v?= 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: IA1PR12MB8311.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9bbb6b93-3e11-4f7d-f096-08dbf81ee1b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Dec 2023 18:52:52.2347 (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: OTBGdbZmIEaKJ5UQvdCBCWirHxaAA/yc6EDT9ZiSc/yuz1a1JwVt/T9/Sf+ZXxO40q3Vna8nrGsDNnvxXdP3PA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5209 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 Hi Michael, > Subject: [PATCH v3 2/2] app/testpmd: add random item support >=20 > Add support for random item, usage example: >=20 > pattern random spec value 0x1 mask value 0x3 / eth / end >=20 > Flow rule with above pattern matching 25% of the traffic, it hits only wh= en > random value suffix is "01" and miss the others ("00", "10", "11"). >=20 > Signed-off-by: Michael Baum Reviewed-by: Dariusz Sosnowski Best regards, Dariusz Sosnowski