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 14BEE4246C; Mon, 23 Jan 2023 15:07:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 07E7F40150; Mon, 23 Jan 2023 15:07:36 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2049.outbound.protection.outlook.com [40.107.244.49]) by mails.dpdk.org (Postfix) with ESMTP id D259340684 for ; Mon, 23 Jan 2023 15:07:33 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LfuiS4BTiGU1JSANeFk6Dvb6WNMRQUIRRK4GF+OxJTLnYU4MIlNjaEs71TB0CxW4SJoLSEktVPfohsWeEpUi6ctOSgcOQuv6vNQK405iuK0NS1xHiaOhHG2ZogDHYl1KJqBzTOEmdEgR7Qvd05YGrVgNPXZ09dvLZ9bcI4TADXaIICZxaIiJRmP/6e/SiR4b362u0UgCUY+tzIV5F+NSyPZiTWkkKJyVGwFqhYP9OJo2I2C1QppJCNYVd9Mq/vPb5FdcJxboqT54b9jMv73dNbpArpztDBDJUp9zTnFJfiGrtje13rwEdToNtbl5npTxVfIvOWzMbsGR8iXlEaPcnA== 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=SdIkD9EF9DpSL/2TQ5QnHDuJEaaqsfLXGw6QbvZaA2s=; b=bsFJ5fk6567HZC180r8yZRojHfYpvNVgrsNIOb6Zg19zDynppge6RrduMvC5NRTUd6GDNEVO2TYYLGd2LRomVdjib5obq3cUWHCaQIZJcuERf1Kr6ZVY9eQqBLVOSan8sDZduFSSSayZA/CallXABzTtZ9hIRcznRPQ8fD7r0STkyKhzbac1JIAFD8bVWVhzKvUWVCx5XZcOLxrol3IIXdQvpr5jmGK6AKFnXfJ//Gqft3+u7WfDUUxTTjWANJa8lpVY5gcPCEVDljzAYNNzLcmb2zJfAwpG2R+0VWZ/0/SCKB8vXJmX7zFIhuBwmVUicqztr7qTaL0ECRjAAuy3Ng== 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=SdIkD9EF9DpSL/2TQ5QnHDuJEaaqsfLXGw6QbvZaA2s=; b=Dp9VoXp6zH/2CsxldSx2vt0fBGjJAZyIgdC8lF3/1fXD+shgAxlxOhmFZmOqyky+wZmMXNmuWiHzvESwN4GK4zuQDXMHyTLuQgQolyma+Tbmaxs7rS5oG5u/6Zerxfk/4JH5K2iJH65LEnh9OPGBKqHnS3i5pnJ+vW6uFNn4Kt6fmX3x6j+nOICmTUH1bkyzFsVIFETVbdPBFQbYwee6MVqiTsbduZkhDRVAYNBQ0uUEeUp+Ns4xiD1OxLX8/+kx5ynL1NoxhCre0d8adhJz2FTnR+afBBZTtF1lRibP/qPEwnCtPb9StZHMbPgcj4Wef5ZK/HfM7/GWEcx9uK+iLw== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DS7PR12MB6360.namprd12.prod.outlook.com (2603:10b6:8:93::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.28; Mon, 23 Jan 2023 14:07:32 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::56d6:dac7:a42d:bf48]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::56d6:dac7:a42d:bf48%3]) with mapi id 15.20.6002.033; Mon, 23 Jan 2023 14:07:32 +0000 From: Slava Ovsiienko To: Yevgeny Kliteynik , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Suanming Mou , Matan Azrad CC: "dev@dpdk.org" , Ori Kam Subject: RE: [PATCH 3/4] net/mlx5/hws: support insert/distribute RTC properties Thread-Topic: [PATCH 3/4] net/mlx5/hws: support insert/distribute RTC properties Thread-Index: AQHZJozTBH1ujdQu4EeB2TK/HOe+V66sGumQ Date: Mon, 23 Jan 2023 14:07:32 +0000 Message-ID: References: <20230112134913.2632849-1-kliteyn@nvidia.com> <20230112134913.2632849-3-kliteyn@nvidia.com> In-Reply-To: <20230112134913.2632849-3-kliteyn@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: DM6PR12MB3753:EE_|DS7PR12MB6360:EE_ x-ms-office365-filtering-correlation-id: 5bda218c-68b4-4835-4eb5-08dafd4b2b7f 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: N3aCZN2XPdybJGB7x0oVH8/D5oshJgGE+/k5xHYEmrziuh3v3f+lOuJV0fWBZudVvu3iUtm588cDjrYUTojUcNq2afmhu6EqywtE+FvW0J5eDN25Cg0XUi9ohGWZXmlWkfpPkNextiepCepQAf1Y3c0B1Bg1GtGzjfJoMD2wr07KjnyZ+zDDRPdJz2N2GCTcsy24PmDfzJjcaaVXiEs6N3cLShIsaf+Jf+ztEqfPsP9YZlsty/3+vQLgjiyEhwOCkgzvg0vS4ptILyoTFIYVHzewvaHJOobAY3LfyExoYq+hZsJJ7U5YqwrlNd2ehJZ34Smh5N9wKFzTb4X1Yj+81cF5AwOrVD02OhlL3Z1tSdaoeK7FzBZ8Y84nhq2Zqm042TlK2ewic1YC+5PW2sztW1msultHgmEOefvZSk6aIHHgMMaNDDPy8bnrVA0fH48w5nUx3EwUBi8/8Ca1jDcHCMINIuVZ5esDgQnmQSRXKDHzi8oU/NbaKU72VcJi+ls/mNgZ64d7B8wlpt8sV4N+L49cdqpO3QrtZUdm2t6RqoKaz/GJn8ATXhr/2XTNLb736tWt5UEnGYkxzFSqev9DWwujzebB9u2Z1d0qGeuFdrnz23c+KILtX7hX8OJctCpUBPdvCnk/xVToZdTOt3VHkqQ1C5rzXzobzrdQSkwe/BWynoIpmwNAO5HlwtJJ5CObD5BmCCNbmp031P6xtUChXg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(39860400002)(376002)(366004)(346002)(396003)(451199015)(2906002)(55016003)(9686003)(26005)(186003)(38100700002)(54906003)(86362001)(6636002)(52536014)(8936002)(38070700005)(7696005)(316002)(122000001)(110136005)(53546011)(41300700001)(5660300002)(83380400001)(107886003)(66476007)(478600001)(4326008)(8676002)(33656002)(6506007)(71200400001)(76116006)(66946007)(64756008)(66446008)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Y2m4Zhf1nPRO8Fs1bqqm4yQAh4sGXh1sSBG0sEjKsdDwf5q291opZ6rqVoH+?= =?us-ascii?Q?5O+me5xCaZCzsrthQfmuiGTdEKhE6AJ7Yaxbtj8VghKMvWfsTNG23sfaryJ+?= =?us-ascii?Q?z0fFNZOgLgWNkhMLDypKMI7VUmmWDGkW76I9gnTfBIsrBW7sKVuwcWXIc7pv?= =?us-ascii?Q?E4YID2HHbSlst8udK01Gd7znm02g0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?s3YSt2Z5ZAlIgNwW7CCxYXWRMrXkHDk6/39s/zC8NcmooFSMkgxaJ4fN6J+/?= =?us-ascii?Q?n2EZpIWVKmbsKfWaGqK1LkpPmSSFZZmHXCZs56d4xZ62lAp2qCd/y/OpclBh?= =?us-ascii?Q?77jnGfEFwNIGZpnZKuZQyyx14rb7qokh+3kJkq8O4D0nipUOi0K9NNp2FKXm?= =?us-ascii?Q?FVurDlmjLi+Fv4TCO7bqWFsD0Jo3zeGXBevP9TdCMaE8FJCBBV5pMoslHp4w?= =?us-ascii?Q?IILGailTeSuzn7VUgFTo4yyga+mSvZ1OTr/9UaN74ijNlsUm36nghnoagqe+?= =?us-ascii?Q?bcT6ZhRE76u/zwjScmJkUinTEbtH+cEmV6ozE6b5QnIWDrc/bzaPEZHEPdEh?= =?us-ascii?Q?v6HHhvO2u/ShVewthm8LWyypE3Vhl/h+x4JWTMt00h6Rsl9suENpngcfkBc0?= =?us-ascii?Q?XdOHQphWizdcrgL9g9Pfd7hbhjBxXShzfHjuyxqP8pdG5D3teGQ2LLAl/uSo?= =?us-ascii?Q?AIBVLXzgCWWDS99C9+4Vicn7czFIjGJXzB/VbVXr?= 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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bda218c-68b4-4835-4eb5-08dafd4b2b7f X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jan 2023 14:07:32.0328 (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: w8ik+7tfTmbkoPw4vbDJol5N+HXF8gyTy0wdR9YSP6Uw8QgF+/0VYGH3F9gM0UPF9nPIQHhu/ibnFwpIGzlGUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB6360 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 > -----Original Message----- > From: Yevgeny Kliteynik > Sent: Thursday, January 12, 2023 3:49 PM > To: Yevgeny Kliteynik ; Slava Ovsiienko > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Suanming Mou ; > Matan Azrad > Cc: dev@dpdk.org; Ori Kam > Subject: [PATCH 3/4] net/mlx5/hws: support insert/distribute RTC properti= es >=20 > Added support for RTC with insertion by hash/index and distribution by > normal/linear hash. >=20 > Supported modes are: >=20 > - INSERT_BY_HASH + DISTRIBUTE_BY_HASH: what we had until now > - INSERT_BY_INDEX + DISTRIBUTE_BY_HASH: Hash Split table, can also > be used to calculate hash, in which case the result can be read > from the hash_result meta-field (MLX5_MODI_HASH_RESULT) > - INSERT_BY_INDEX + DISTRIBUTE_BY_LINEAR: Linear Lookup table, > supported only for metadata_reg_c3[31:16] bits >=20 > When setting INSERT_BY_INDEX mode, you can still provide number of rules > both through 'rule' and 'table' fields of matcher attributes, but if 'tab= le' is > used, then 'table.sz_col_log' has to be 0. >=20 > When providing rule with index, this index is used both in rule creation = and > deletion. >=20 > Signed-off-by: Yevgeny Kliteynik Acked-by: Viacheslav Ovsiienko