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 EC832436D1; Tue, 12 Dec 2023 13:20:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D79A642E18; Tue, 12 Dec 2023 13:20:01 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 5988B42DB2 for ; Tue, 12 Dec 2023 13:20:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vzb82Zek9ebIKOSkgJUvJigVaiwlWHQFmcZBNdl+9HeM2WcAq17RWayg5h8gvijrrYGm1rD5wLnUTj95UaTGW3M/+7SnCsbuVyLYqK1s9u30+QuN/h/LbJlgWnPQj3qiOU/BNgbFrUcPZ7516J/Z8KynlrmYLNu7WIOhthnp0r1QqQoK4kQLFsbHObyHDQrolYhzhSVS0njSFuiIw1UaRWNQWECEbH/rWjTITJ8/Ppm81TzGCAGva2nXv8UrTI3dRu8QniZFSnzBSg7BxZ+DKZBX7FGZhU50Lv0nVKNO1vVB85phNFz9y8uhBRYNnvHbdeOd1PslxsfJ2qqX46VIgA== 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=IEY0/YsY7aXF0gXa+YNZHuZXk3UQuotpVGoleGyk4JQ=; b=M8xwhMGpBQmyzo232Gcc+nzwVkoJo3+rAKPL4TYAJJ/j/Wr6NAPvaTvQ8x923X0flwssxFcuXBh6HdhE+nNZ2CCvUeValE9viaguj4L2Z0dwwMjDZ0xZ/7gn0y7fd1AEnposAsiAxLC3CQiV3JLs7Gvh7TCjL5mX2BbfiSIgxXzh2rPsuofPXoa7rusB1p+ImXyV8V22CabOYfTmp8NQiBsHomfpFYciRcvcnNNYEqEV2+1PV/CP4kCkVGK5miPSQse1xeBCwjx0K6gQnITWFWurK6n60FlJfXvhOZ/Lai+9akrk8xe45X897/qV7Iiqb6rnXOPkXuJovdAg7LW4zg== 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=IEY0/YsY7aXF0gXa+YNZHuZXk3UQuotpVGoleGyk4JQ=; b=VvMqkf79OAwlRjfspJ3v/IM+VOOlmQCpwGgpwxTZ0H4jB8x5J+TS09sczTirX8d/grq9kkFNOohVTj7Ekv0fqUSVZ2pAKOnJeRU/cDvgdgcUOMmO07hDvh9f07RCu5bCVmEemimq7EuQWgKpxAko/7lFkgOIGJZD9Ug/ZZ4cYYEnsNOImaDG953VEHdrdHBTLYN7i0OuSvjOyaMPvYhfx4/r/6Q/6aPYLvns7RDc/1so7qCKbNFeNv44rNB1cgCg9cRRArbwNNgyeNCfvkC5dDkM4DGqTdDmc66aWu7BI7kYifXDSuzs+fMfQ8uZhY5ETj2KksHN+OP0t20TPVqm3A== Received: from IA1PR12MB8311.namprd12.prod.outlook.com (2603:10b6:208:3fa::12) by BL3PR12MB6451.namprd12.prod.outlook.com (2603:10b6:208:3ba::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.33; Tue, 12 Dec 2023 12:19:58 +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.031; Tue, 12 Dec 2023 12:19:57 +0000 From: Dariusz Sosnowski To: Ori Kam , "ferruh.yigit@amd.com" , "cristian.dumitrescu@intel.com" , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Andrew Rybchenko CC: "dev@dpdk.org" , Raslan Darawsheh Subject: RE: [RFC] ethdev: introduce entropy calculation Thread-Topic: [RFC] ethdev: introduce entropy calculation Thread-Index: AQHaK0NZq0s/w7ypQkyGmHKU1bqal7ClkznA Date: Tue, 12 Dec 2023 12:19:57 +0000 Message-ID: References: <20231210083100.7893-1-orika@nvidia.com> In-Reply-To: <20231210083100.7893-1-orika@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_|BL3PR12MB6451:EE_ x-ms-office365-filtering-correlation-id: f93b321d-d42c-4c0f-5c77-08dbfb0ca77a 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: gvu3pwIl7noCc5gO+dblrOjayKeH+kM9TyA50rhYL/kWIAgdsoHsa1W3lqKgiCQXapp13Zhl53Vn9HzBbUEDl9g1FqrWjm/tw1286+QsOPkTS0qxxXOCp2kT9mTr7F9oPye8/RuL+StIyeR8kCaIc2eBZrCWvAG4+ntE9FY7R5WxigeA2K998SPsB+nLIdyqrRr9oCXmEUo9GLE8O6tOpYYlaKMrGgKgoebKnlzswT+lofoasRzdgwwTgwz9VAERAR9ZZ7IaFPBq8AYavbzxcMwB91qMUMe0we1D2QmIvQbP5rc2KKiIbDXEkVFPLhr+/iN6qM3DNqASxE5x5sFDkypEavFDBkCRFa7wL/xShmK8uyQaAwTxNWWW37pKfR3Je4WhConOlfrpiJze7dqUPUrl4yzA+8CARg8dqNKqRZvWVonAHU+0bSi9Gr3Rhdm0Lv7QR3Ts6rpAnY/vshHnB/09BR+KL7Zel4T9QaKuQG1Tw93IpyQ94FyjaNNtEdRl+QPQIlGyc8LFf/kMnQeQajaTRY8tiIcfSESwgbUk21e4eLho4eRnVYRQOzt5HA4iKy+JNWbfBkBiSEG+TH3v6yMHx5xf71j0QtrDfVvQ0Q4W+pjdIrMlSzQyXhYI6pIb 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)(366004)(39860400002)(376002)(136003)(396003)(346002)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(52536014)(9686003)(55236004)(6506007)(107886003)(5660300002)(26005)(33656002)(64756008)(38070700009)(4744005)(66946007)(54906003)(7696005)(55016003)(76116006)(66446008)(66476007)(66556008)(2906002)(83380400001)(86362001)(41300700001)(478600001)(8936002)(8676002)(4326008)(122000001)(110136005)(316002)(38100700002)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ZcAXJgMfoBJz1NRAFoKz3mJ/mdoFXuuVd44xc8hSbIQOr1JTQFJeTV36Mksx?= =?us-ascii?Q?v5E9WZKzjlcKvR3PBOrx/395zSQI5XPKmyJHFWfPPce6Ze+/loS+cSHv+c7w?= =?us-ascii?Q?crFmjtRxd6EJzxFwzqxMeUK+aJACcDSYeIa608xOKV7Z88fL57ApiLy6uAFg?= =?us-ascii?Q?1B/ktUIRMJCv06ksE2hALqlLP7SmSHFD4yAx/miw6xKkiKaszclsiTklFDkU?= =?us-ascii?Q?g854k3g5c1cnunjIFoEW9ho7ObAt65rmWowcB4C4IibBJ7UQ3BeOPeiTfIop?= =?us-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QT1L0wCBW9voLBZ+CfWp3iOW1pSVC9T6Q/?= =?us-ascii?Q?j0K86Qv/lT3FPnGFSmnw15/u1W72vjoxeVIZoAnbLfwuQqqb7/M9fSPdZ/LB?= =?us-ascii?Q?GRByCJilNG3h+xpaZG8wc3OoJ7zlILe0Kb4vOkjrzSesuo/BCsGNQ/di9FNn?= =?us-ascii?Q?s42PQzSxbdByAihN0vuNnbH3T5q08r1tbWT6Cfu8iFQ5rQWN91kQDdPgavdJ?= =?us-ascii?Q?Y9bjjIDKndCwG/VHmNZjdxA2DMhAfbnJr17MNutM7vlFePMttk8UAFqiOC3J?= =?us-ascii?Q?GwJ67QaWPf6HU4ZklNxdUdDmL0BimI5rK4ZXQeA/XA5yaDzCih2BIP+JrUvy?= =?us-ascii?Q?9ewEWs9zEUf8qzLCLU3VpajhxsTetKj3FePVMv9W5E+h2wo6dY4eT+eDIoVo?= =?us-ascii?Q?AkWwkfeLMvozGdTh2FRG2lhPweMYDZP5p3Z1S30B?= 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: f93b321d-d42c-4c0f-5c77-08dbfb0ca77a X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2023 12:19:57.0987 (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: 0LgQe3+UEy14Fe+i7LxHCgRuLKy/34AF/YLKL8bhu1k850fIT52L0bNKU+lZGFJ3n6xZ3BhFEsXrhUJEsaB6Dw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB6451 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 > Subject: [RFC] ethdev: introduce entropy calculation >=20 > When offloading rules with the encap action, the HW may calculate entropy > based on the encap protocol. > Each HW can implement a different algorithm. >=20 > When the application receives packets that should have been encaped by th= e > HW, but didn't reach this stage yet (for example TCP SYN packets), then w= hen > encap is done in SW, application must apply the same entropy calculation > algorithm. >=20 > Using the new API application can request the PMD to calculate the value = as if > the packet passed in the HW. >=20 > Signed-off-by: Ori Kam Acked-by: Dariusz Sosnowski Best regards, Dariusz Sosnowski