From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C2835A0613 for ; Sat, 28 Sep 2019 20:32:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD932152A; Sat, 28 Sep 2019 20:32:07 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60057.outbound.protection.outlook.com [40.107.6.57]) by dpdk.org (Postfix) with ESMTP id 13F32B62 for ; Sat, 28 Sep 2019 20:32:06 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cWmFfBITgxjulL3e9IDoRgrA10DkrIrPyNXylugsNR4qVP/4OL9nPy56jYuZuItq3uM9i55JoLx3z8XJS9MVc7utzi3CIacR339uZsya/EJ/KhJ/MNVH3d1WoZnCEdbzoThR7hyLjK5MwdtehEWglpGj15WtnCotAl1gmX7ddW2H1jD84V6fb4TRIjBnHeKRU/EeGy0t9sF817iF2zqHtV7J8ILEm18cbhwjk5hl/XvmkNrpUj845N/EoTNLVo9MfdVCPqkVYehYCHytgM8GPB2o5Mr6dz+p05xDNrUGQ8mcZ06Fg37yX22eKQLTFAhyiNWHooyXv/sncSd4kFy1Tg== 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=sYPo5yCiTeYnb6eoWZ/tDCjhBdXH3n/MLYwuwUzCSAI=; b=ITwV1joX/ETMyVGWjhXwqaRSwLNP3fCbAFvbc+rQmIdi5gECJpyvUUOkfcgWjle09cKljYmrLeqAN72/3uRSxNFHbVxgTvCylqis9hAaurS5U3xQdoC4Ju5vg6AvvI9emt82o/h7NA444A20Kc9KKtZQDNh+DQ8pypzckJ3w5tzcoNlllogDdOVpZ07SoXm1K+whczSGTFEv0XWeZxTIIHyLoj3qeaodwsMaCz3/YXhx9lOmAx8Kd1hU2igVUbYjfcE0AQqR2fHu1cMVo8BvG6gbKcK7hfRxGkDwroZ20jb0Qoyro+lTMm98wZ3ruWcTfj0AlI51I3tJLSVC7uTl1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sYPo5yCiTeYnb6eoWZ/tDCjhBdXH3n/MLYwuwUzCSAI=; b=lhjLM0PG3FY9ypQSYkdm+ekqlKKj2rDgezg0o87goTuv6ibJKAmYPGVNqXt6pfxNCrtEedPIkv6uPfdVfqkVg3NobRDVno/m7S8mI3gCeNGckIXVfxHgRPCQ7qnK3piSa2mKWJx29iY2ssqLUINE0iA4Foq2ZzovKJoc2uxPLaU= Received: from AM4PR05MB3425.eurprd05.prod.outlook.com (10.171.190.15) by AM4PR05MB3331.eurprd05.prod.outlook.com (10.171.190.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Sat, 28 Sep 2019 18:32:04 +0000 Received: from AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::7964:7996:4c67:ade0]) by AM4PR05MB3425.eurprd05.prod.outlook.com ([fe80::7964:7996:4c67:ade0%3]) with mapi id 15.20.2305.017; Sat, 28 Sep 2019 18:32:04 +0000 From: Ori Kam To: simei , "qi.z.zhang@intel.com" , "jingjing.wu@intel.com" , Adrien Mazarguil CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 1/2] ethdev: add symmetric toeplitz hash support Thread-Index: AQHVQ1LNcguMjJSzLUGPR7w2eKWkAadBzyDw Date: Sat, 28 Sep 2019 18:32:04 +0000 Message-ID: References: <1564030646-73951-1-git-send-email-simei.su@intel.com> <1564102511-99609-1-git-send-email-simei.su@intel.com> <1564102511-99609-2-git-send-email-simei.su@intel.com> In-Reply-To: <1564102511-99609-2-git-send-email-simei.su@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=orika@mellanox.com; x-originating-ip: [185.175.35.255] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5fb2d83c-7dae-4f05-730c-08d74442296a x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: AM4PR05MB3331: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:204; x-forefront-prvs: 0174BD4BDA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(366004)(376002)(136003)(39850400004)(189003)(199004)(13464003)(7696005)(55016002)(6116002)(5660300002)(64756008)(186003)(11346002)(446003)(486006)(76116006)(476003)(33656002)(74316002)(3846002)(52536014)(81166006)(14454004)(7736002)(25786009)(478600001)(66946007)(305945005)(66066001)(2906002)(256004)(2501003)(66446008)(8936002)(86362001)(71200400001)(81156014)(2201001)(316002)(229853002)(110136005)(6246003)(4326008)(6506007)(53546011)(26005)(99286004)(102836004)(6436002)(71190400001)(76176011)(66556008)(9686003)(66476007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3331; H:AM4PR05MB3425.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: egeEOcFKO30eXZZ1Yg/i0fLtmPdqAOe6iUPO5mBwQWMjU7pJO9Fg4tkxuhMjV3fyNwZQZ/QAzUgDSIOlHLaeYUEogDv1BM7lzT1lqJ4OhoUdSlrI+wCfsHDX6xAtKTmhwLg2i8rjwXfGg5D4vFXcU4WNrOsVtRdC4jB98jNkavYKGcz//BWL01ZZfp0BQnppyKVUxKTIfmFMhUQBD/0f+iTQc3Di4FTAYLh1WQUacOXqtcHK1wtb9Rpo0xQv1kxYapMoFQGICkTF6HtMxdyKhmgfIZ25WT/ShlKa2lvFS2B+3XuV00rlMwl1G2CQ0Z88lOnjFN7hoNChliXrQr6ILG77mR/UD5cBalzNdrjIsxMlcY32tWKDd3Fj9pFOjKdH90jQw3CDAlvHIqx3Klk04CTG+BwSiIutIRksAnpGsg4= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5fb2d83c-7dae-4f05-730c-08d74442296a X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2019 18:32:04.8097 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ad7RHq7TZk0qukg+y6zI9pcMhDLwfwlhqi1NG3O7BHTkm0to6hCTKoII2UVGl7t1cS2JYhA+Pa/XWTDVL1UN8g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3331 Subject: Re: [dpdk-dev] [PATCH v2 1/2] ethdev: add symmetric toeplitz hash support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" > -----Original Message----- > From: dev On Behalf Of simei > Sent: Friday, July 26, 2019 3:55 AM > To: qi.z.zhang@intel.com; jingjing.wu@intel.com; Adrien Mazarguil > > Cc: dev@dpdk.org; simei.su@intel.com > Subject: [dpdk-dev] [PATCH v2 1/2] ethdev: add symmetric toeplitz hash su= pport >=20 > From: Simei Su >=20 > Currently, there are DEFAULT,TOEPLITZ and SIMPLE_XOR hash function. > To support symmetric hash by rte_flow RSS action, this patch adds > new hash function "Symmetric Toeplitz" which is supported by some hardwar= e. >=20 > Signed-off-by: Simei Su > --- Acked-by: Ori Kam Thanks, Ori Kam > lib/librte_ethdev/rte_flow.h | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/lib/librte_ethdev/rte_flow.h b/lib/librte_ethdev/rte_flow.h > index b66bf14..77a0c52 100644 > --- a/lib/librte_ethdev/rte_flow.h > +++ b/lib/librte_ethdev/rte_flow.h > @@ -1814,6 +1814,7 @@ enum rte_eth_hash_function { > RTE_ETH_HASH_FUNCTION_DEFAULT =3D 0, > RTE_ETH_HASH_FUNCTION_TOEPLITZ, /**< Toeplitz */ > RTE_ETH_HASH_FUNCTION_SIMPLE_XOR, /**< Simple XOR */ > + RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ, /**< Symmetric > Toeplitz */ > RTE_ETH_HASH_FUNCTION_MAX, > }; >=20 > -- > 1.8.3.1