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 94C48436F1; Thu, 14 Dec 2023 16:56:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E7824326C; Thu, 14 Dec 2023 16:56:02 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2078.outbound.protection.outlook.com [40.107.212.78]) by mails.dpdk.org (Postfix) with ESMTP id 124B6402C2 for ; Thu, 14 Dec 2023 16:56:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RjJXmZCm0vPlPYuXwI6szT1h+SRFB4g2/JQTjcIN+FrC2jGfUBqQqQJ7mDlx58EyHp/cLBT+HCidEX3QkACgrGgkcnUexRgHvNo/UWVeLZLE8EAxsKVB8fMvpWx10DcU8Daq6w2ZASO4fGtHhheHghe4uLTLY/rKX+DcnX+QZ2VVIunNBtReecT00V4K8PKI/7LdYmPMzC24ZX06DRbGmqXsifFK2KidGsisL3nNy++QSxIsiTaDnHaweZ5dduuNb+SkytKM557l9dwOU89rvR+UbQLuTXVST1DyiwtTsnBEluN+diaqLKnaJGCXlpfj1cT8aAspAr/XlE7NjjlD8w== 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=ZjuoixNcvCPpVaBYxbFm9Yc1zMrwvspr82bE4vSKYLo=; b=HN/x4Y8QBQoQ4sIjKUYt1Z+3LcsCCnu7WVBWJXjc9HN2Z/a/13UeLPfm+54IntKdCv8nPNKD2GAnk9devZyB3qTVieXSvW9FbpGLWVXf1MIBoMdj6zZTeEazYxnKRQV6tSqDIyX7yALxfJEdUzgAZFd9Rizl74CFd7BTTvXxeoXk9DJdMPkNDwCzGjCWaJPjn+iP1qICetKecEKqZmqca1mclWSEfXe8o7t6/XBzjjCENunM1hX7NdPbQzbTFZa16PUA8LEl7fl4cZ712dCdwfEENhOBDXMRtM//zY8rU+FlQ7Tbp77rrwKoLKbsrJHftS5bL72EcWAgJ1QOrghbNQ== 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=ZjuoixNcvCPpVaBYxbFm9Yc1zMrwvspr82bE4vSKYLo=; b=bg+wW68sQQUbS5XgkK246/zO5m/sR7NbCBbJsfmPtlzUuxRo3bvt8k/74L0GeCQFmSDbBP3QOBMKaxjdyXUkUjpF6GM77YDZajrNWXcOLOBCng+exjGtFWgFCf9zPewffDNTW0bV8Z2jP+Zd1TVJK1LuuZj+DP9OarOHk3MZVnw= 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 MW3PR12MB4570.namprd12.prod.outlook.com (2603:10b6:303:5f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.28; Thu, 14 Dec 2023 15:55:57 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::2569:edb2:670f:816f%6]) with mapi id 15.20.7091.028; Thu, 14 Dec 2023 15:55:57 +0000 Message-ID: <12927557-12a1-42e6-8d01-22dd156404c4@amd.com> Date: Thu, 14 Dec 2023 15:55:50 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 1/2] ethdev: add random item support Content-Language: en-US To: Michael Baum , "dev@dpdk.org" Cc: Ori Kam , Dariusz Sosnowski , Aman Singh , Yuying Zhang , "NBU-Contact-Thomas Monjalon (EXTERNAL)" References: <20231130163215.666239-1-michaelba@nvidia.com> <20231214105844.1640764-1-michaelba@nvidia.com> <20231214105844.1640764-2-michaelba@nvidia.com> <21f3a14e-3ec1-45fa-b619-66f4b2007fcf@amd.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLB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4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR0P281CA0123.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:97::9) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MW3PR12MB4570:EE_ X-MS-Office365-Filtering-Correlation-Id: fd7d13e5-f9f3-4958-7bb8-08dbfcbd28f7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MW4qSasidSwN/CJo2Lch/ClEcerAB8bdLcXPUvUqb8YYWeYKcH1gexikPX5AecaZ6LuK8eldqUdyZStsCkv/flpyWHGjJMWQ80KlGPpwR5xpT52Rh55buAdHXHe3DIwlzzrh3KnlQDP1CE1y2q8c3Qzg5pY26UHpITNSVlgkC7aEhgcHrqC0wCtMeYxfcMOVvROl0oPHN0fnqMhq6yoB9aDE7W5JXGC7NqDNOaC0SGuT9oQJO8CORfUKHH+WGdN1Yp+6COU/lKUWADiw2TdAUz7nYRIuBPyxr1Lp4vH8XY2623YKZSwHuL028+ewhzMcMOvLz02yvzKOVooq+UzHSdqGJDwoMUfD/dAu0I0vTAhPeHDV9yv2NpkN2xQ9wxOYyI59MiKaq5EpMmSV/SzFSj93HjBUoHBaUD/xUY9XkJKF39azCA6X4NS50B+1ZTWFYaH2uNGdDMR2tBF3Py8FsHH86zqfgeh4vhmh+DmTSMv1VHFT0IaAreccrGJXuZDJFkdTCUiF0hjlylQeVc1vjLFTKRUHUyVDySanat8NJcV1qjZF9HLlIlctSEHRaCJ05h2zAme0Ao3mjtwF/d/vcYSklPaWmKvhTb46q03lTtHyIbx8jYbr/cyzwfiyr939/DRRLpWpchmo7mLNdlloUa5fy6FmsYfAedTrieqSo96gPvvCgtvjCjgVeT0S1ney 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:(13230031)(376002)(136003)(39860400002)(366004)(346002)(396003)(230922051799003)(230173577357003)(230273577357003)(1800799012)(451199024)(64100799003)(186009)(31696002)(86362001)(36756003)(31686004)(41300700001)(6666004)(66556008)(478600001)(6506007)(53546011)(66946007)(66476007)(54906003)(26005)(6512007)(38100700002)(83380400001)(2616005)(5660300002)(2906002)(110136005)(316002)(6486002)(44832011)(8936002)(8676002)(4326008)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NmhIWi85VWhPSnVYMnRaY3ZRQkp0OEI3Z1BvaEluRHhMc1l6L1dxSXpPQ2Zr?= =?utf-8?B?azdFSCtySVQ5UTBZamNTc3VIRjhOSm5MMVViMnFUeUVBMTE5RmxuSDhUbnZy?= =?utf-8?B?cUFLcSt4cVBDemlaeGE5YTZQcFp6Rm4xTzJiSENQRjlYNTIrdEZxVGQ0TnA1?= =?utf-8?B?NktyZ3JWV0ZPS0RTeEtBRVc4RWlHd21ndDJZVjdnT28vUkdBK2QrRWczU3Qz?= =?utf-8?B?TDdDRGZYdmh1WjVscW5JNVFhMG9EeUFCUkw4VzJIUElIaHBoK1dSNlVldG02?= =?utf-8?B?V3BYN1RRMkNtaWJQSmVNaFpjK0tVRGt6eDJpL2hPdFdBS1N4YnBuWTFVRFhP?= =?utf-8?B?eCtZNUsySEYySENvaWVyUno1ZTFuRGIzM3Uza01xbHhlaERiOVg5RTRyQm1v?= =?utf-8?B?a0NKNWZk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?utf-8?B?S2hTV3RkcGNDdUJDYjUrOHd3QjlzQWFuczBRUVBzcW1RQnlxYTBsRUVGWVJu?= =?utf-8?B?ZzJuVDZuVEhvaDYxQUk5bS94TmVib2NTaDlsNXBNeWhIdDZNMC9NN215T2gz?= =?utf-8?B?QmxlSjZQNE1OS1R0a2RhWW1BaVpQMEJVMjZJQXVKS2l1aWJBeDFDaEVFbjRZ?= =?utf-8?B?d3V0cXJLa2tYbVVGMmpRS1BObUphSnlITENDL0xmbzRFY0JUREFzVWEva0Qv?= =?utf-8?B?c2huQmVURW42eWltMXQrdFNSeGh2cUw1S1Z6TFJjakZweTBVaUlvWTRuOUR1?= =?utf-8?B?N2NEOVAwSG9DV0FHZHZ5YVRNMzdJUnV1dmlZaU0yMzJkTU56bCs3UkRESmZt?= =?utf-8?B?WnUyeGlmVjdwTTFseXg1THhDKzQ5Y2ltTkxyZVZNaUhOVmZyTVpmeW52dm4z?= =?utf-8?B?M1VId2ZEV2lveEVtNG9wYXVQREJHZitYa3NISmxxRTRJcVF1TktOcG9tck16?= =?utf-8?B?OFlsTTVwREkvMVVDYzhmcDI2L3dyTldyeGxLd1B2aHBiT0tYU0s1NUE0VEVt?= =?utf-8?B?S2ZpL0QzV1Yxay9TQkRZNk5pUzJOSHNOdENKZU5DNThhVjgxUkJxU1B6SXpV?= =?utf-8?B?aGZxRVFPdllGZkR2Nk1Pak5rS29ENDNvaUp4azdtUGduemlrODI3NVlLZGFG?= =?utf-8?B?OENiR1Mya0p1R3JQUTNhV2FqQzlqL2txUll4STBGM3RkRnR0dFhXYk0va3RU?= =?utf-8?B?Q0lCTzhUdzNaTzdZRjJFaG9ZV2dZbGNvMVZoZ1E1cTBseERITVBTdnFmUWJy?= =?utf-8?Q?rY1g=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fd7d13e5-f9f3-4958-7bb8-08dbfcbd28f7 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2023 15:55:57.4960 (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: +ieXycsZ8wS8cpaiXDkbPK+eWkY3YZMzpKBUuEGgzU6/umTIi9yVQwQ5nUpgc/+1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4570 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 12/14/2023 1:43 PM, Michael Baum wrote: > > On 12/14/2023 2:18 PM, Ferruh Yigit wrote: >> >> On 12/14/2023 10:58 AM, Michael Baum wrote: >>> Add support for a new item type "RTE_FLOW_ITEM_TYPE_RANDOM". >>> This item enables to match on some random value as a part of flow rule. >>> > > ... > >>> >>> +Item: ``RANDOM`` >>> +^^^^^^^^^^^^^^^^ >>> + >>> +Matches a random value. >>> + >>> +A random unsigned integer (at most 32-bit) is generated for each >>> +packet during flow rule processing, by either HW, SW or some external source. >>> +Application can match on either exact value or range of values. >>> +This value is not based on the packet data/headers. >>> +Application shouldn't assume that this value is kept during the >>> +lifetime of the packet. >>> + >>> +- ``value``: Specific value to match. >>> + >> >> >> Hi Michael, >> >> What is the usecase for the 'random' flow item? > I can think about 2 different use cases: > 1. Sampling - when application wants to sample certain percentage of the flow, it can match random value for getting it. > 2. Distribution - when application wants to distribute the traffic between ports/queues, it can match all random value range with send to port/queue actions. > >> >> Is it to match some kind of metadata generated by HW? > It can be generated by either HW, SW or some external source. > Each PMD supporting random item responds to have a generator for that. > >> Or is it a way to sampling traffic? > It can be both. The PMD can use random value generated by HW while user match on it for sampling traffic. > >> >> And how random 'random' item is, is it configured/set in HW or random per packet? > From API perspective, it is pure random not packet oriented. Same packet can get different values during the pipeline. > I mentioned it in documentation: > "This value is not based on the packet data/headers. > Application shouldn't assume that this value is kept during the lifetime of the packet." > Thanks Michael, for clarification. I was thinking if this can be used together with external (to DPDK) flow steering configuration. Like external tool can set values to match for specific pattern, tcp --> 100 udp --> 200 Later these values can be used by DPDK application and this filtering item. Can you please confirm this is not the "use case"/intention, if so we may need to rename the rte flow item. Also there will be driver implementation in this release, right?