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 50FA943BDF for ; Fri, 8 Mar 2024 06:53:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E9ED42DAC; Fri, 8 Mar 2024 06:53:52 +0100 (CET) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2089.outbound.protection.outlook.com [40.107.215.89]) by mails.dpdk.org (Postfix) with ESMTP id 4265940298 for ; Fri, 8 Mar 2024 06:53:50 +0100 (CET) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=MTK5N6d9S3T9kz+ePmAKubWptQzRoMz8XXdhujWQ6fNEltOVA9IPtOD7UAlnFapLQ2MYmZHoZ+SsFwK/DPrhW1ClKKaJ8YaPyeIZs6iC2UHyGhN4hUYTwdURiEsctNQ43+brtYbNHnsvfk719gdhny0x2mHNclHps36Aj5auRgs9K1OsZrHsXpj08cUywX16n8WS5MeG0UtS+PjF9nMjXfOQbdea+j5YakYd4lmeSXzpF50DgjrKpUVFoXMQseWjaUnWaAvqjfFrsc5lIkfipCIEKyqg1yyBS6Xbtqv9gjVLXnA1ycpEh3S9hBnmONR/0hPlVb8K3JhXQtR9hYkklQ== ARC-Message-Signature: i=2; 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=IluqGbKd/xGnmNgrlMzxh5gLLpOBal+lXb3/jm2eUmc=; b=WE3E3NXS+24cMHVxN1gqgDh65yBqlLa58c/gF+S7JRPonWcTmGX3wO27srXcijm5V/QtQEVzNBaVBhuuNzACLksYmav81PIj0+LD4JBDeThP8cpXxlnobJuBG/OZgBFutngq1b+qUJtzK72BMFjW+h6A7S6CFFOVwHm/eLbL3OZ+7SAe14cJInRQyvVItdLiiKmic5FBS8zTazm0kfqc56Eg3ff6PpYZHBNstYJEsAX4l8ADuCUmss0x9plzoN2T3A8iduixPsUHuSUaYNmS//FXDWMJLOUSZVg7OOvcLS8lo1zYPU7KHoM9iyxAci44yUUc2uuIm4SxFzDan9YIUQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 3.104.39.150) smtp.rcpttodomain=networkplumber.org smtp.mailfrom=tatacommunications.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=tatacommunications.com; dkim=pass (signature was verified) header.d=tatacommunications.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=tatacommunications.com] dkim=[1,1,header.d=tatacommunications.com] dmarc=[1,1,header.from=tatacommunications.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tatacommunications.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IluqGbKd/xGnmNgrlMzxh5gLLpOBal+lXb3/jm2eUmc=; b=DJvF0Pp3bBZZYRlPqa+S9dGknVqoHCVm631AUNuzXumjgZllMBzJmwo646uoVoA1ETESviAuIshWOhFrDIQFz9+i/PndnRQW8nvBs315Hs96/hLGA0/tKKUwVA2fPKNLYJVOCfnRl77mvAE8XttJSsT7xVYPCINOpMDa5H05Dfyj6fqH6ifXp9OuBI4Y3+ExG1JJ/sgPvVS8kaLSaNLRoNzoLLmWrdDPqG4Iymyv4V69HH0bpcVFQdsffU4P7UXLE7bmsmmJ/1575hSk+KSMf9MgLYEZ7+uDwBDFAOmWacYCF3P+mg5L+nuRTRtkt1/WV+wBiXh7CJF+QZxrpzfvCA== Received: from SG2PR02CA0019.apcprd02.prod.outlook.com (2603:1096:3:17::31) by PUZPR04MB6198.apcprd04.prod.outlook.com (2603:1096:301:ef::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Fri, 8 Mar 2024 05:53:47 +0000 Received: from SG2PEPF000B66CE.apcprd03.prod.outlook.com (2603:1096:3:17:cafe::60) by SG2PR02CA0019.outlook.office365.com (2603:1096:3:17::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.27 via Frontend Transport; Fri, 8 Mar 2024 05:53:47 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 3.104.39.150) smtp.mailfrom=tatacommunications.com; dkim=pass (signature was verified) header.d=tatacommunications.com;dmarc=pass action=none header.from=tatacommunications.com; Received-SPF: Pass (protection.outlook.com: domain of tatacommunications.com designates 3.104.39.150 as permitted sender) receiver=protection.outlook.com; client-ip=3.104.39.150; helo=harakainline-088d92820817d07cd; pr=C Received: from harakainline-088d92820817d07cd (3.104.39.150) by SG2PEPF000B66CE.mail.protection.outlook.com (10.167.240.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.11 via Frontend Transport; Fri, 8 Mar 2024 05:53:46 +0000 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01lp2108.outbound.protection.outlook.com [104.47.26.108]) by harakainline-088d92820817d07cd (Haraka/2.8.24) with ESMTPS id 259BA38B-C0DE-45ED-B074-022D98E99464.1 envelope-from (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Fri, 08 Mar 2024 05:53:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A8djNCI0c0yRAKW66gehMxZS2CDm/7MiBxjIV4RNwhaBR3h0vduwuLnqe02lprMvijl/TfQFV6uQrwQBSJq2Nx3FcV/eSHaT44Hq63hV40IEhBirhrzt4/yBrg9wwndmOlgRdvjOhE9dllsJwUuq+KpnRwKhNCJTW4wbdccySlTbH1l8aXh4pb40w8W3dWaU1G6BamMQAZIbgshUelK1jNYZlMRIuM81DQdkz0eOaJqXIk3QvFgWltklFMAJaGLcgmF4rI4QxxE7GSkkXDDVsqPkR4CMxP+oiDjczALoFw4ZqP+sGRPrYTlK8p/1cje2fV+07dYhK5seTgkUvwLgKA== 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=IluqGbKd/xGnmNgrlMzxh5gLLpOBal+lXb3/jm2eUmc=; b=W4IzbufxDEoKgpM4mwUySkX0+nDwdsggL9mwzRXO9jX3Kp9hUy8U4ZQ4fweb6FObdoCLCUmo3PHLJXE0PUuBLKgUbMuPGfcr9OM7mj6X+VAJELf/kbJaDEwxT3hnHqbqYmTkRHfr0tnYZ1sS+8A3ujLW5JcP8ZuU4XFR/DDiRFQ8DtYOBtNPSP2Tdn/cgtiEIWsI+jrEApV/d/2ROOYnyzvFw8W/tRlXeaDd4tuJbBTK3dj0ATuOHfnRZ0LK4NCkbgcEBT5VozPwKTE0e3tRks/9OmM19s4qGIAjsci2rEqhKHkNhzaJPxSd08F8HWNrzUZUD4ajvd4zjlf4xP5O+A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=tatacommunications.com; dmarc=pass action=none header.from=tatacommunications.com; dkim=pass header.d=tatacommunications.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tatacommunications.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IluqGbKd/xGnmNgrlMzxh5gLLpOBal+lXb3/jm2eUmc=; b=DJvF0Pp3bBZZYRlPqa+S9dGknVqoHCVm631AUNuzXumjgZllMBzJmwo646uoVoA1ETESviAuIshWOhFrDIQFz9+i/PndnRQW8nvBs315Hs96/hLGA0/tKKUwVA2fPKNLYJVOCfnRl77mvAE8XttJSsT7xVYPCINOpMDa5H05Dfyj6fqH6ifXp9OuBI4Y3+ExG1JJ/sgPvVS8kaLSaNLRoNzoLLmWrdDPqG4Iymyv4V69HH0bpcVFQdsffU4P7UXLE7bmsmmJ/1575hSk+KSMf9MgLYEZ7+uDwBDFAOmWacYCF3P+mg5L+nuRTRtkt1/WV+wBiXh7CJF+QZxrpzfvCA== Received: from PSAPR04MB5516.apcprd04.prod.outlook.com (2603:1096:301:5c::9) by TYZPR04MB7155.apcprd04.prod.outlook.com (2603:1096:400:462::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 8 Mar 2024 05:53:42 +0000 Received: from PSAPR04MB5516.apcprd04.prod.outlook.com ([fe80::baf8:5090:2638:f8ea]) by PSAPR04MB5516.apcprd04.prod.outlook.com ([fe80::baf8:5090:2638:f8ea%7]) with mapi id 15.20.7362.024; Fri, 8 Mar 2024 05:53:42 +0000 From: Balakrishnan K To: Stephen Hemminger CC: "users@dpdk.org" Subject: RE: Symmetric RSS Hashing support in DPDK Thread-Topic: Symmetric RSS Hashing support in DPDK Thread-Index: AdpvlwUZKoUHjfq/QGGkQtGE/8XvjgAQH9CAAFFROaA= Date: Fri, 8 Mar 2024 05:53:41 +0000 Message-ID: References: <20240306070359.43b8f128@hermes.local> In-Reply-To: <20240306070359.43b8f128@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_ActionId=772a46eb-436f-4f68-8b39-a0a4681ed034; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_ContentBits=0; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Enabled=true; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Method=Privileged; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Name=General-Test; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_SetDate=2024-03-08T05:53:40Z; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_SiteId=20210462-2c5e-4ec8-b3e2-0be950f292ca; Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=tatacommunications.com; x-ms-traffictypediagnostic: PSAPR04MB5516:EE_|TYZPR04MB7155:EE_|SG2PEPF000B66CE:EE_|PUZPR04MB6198:EE_ X-MS-Office365-Filtering-Correlation-Id: 624a9a3d-2621-4024-24f7-08dc3f341e9a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 7o4HipXYHATA/2dYseRHDqAXAVxf57JZea5Umy5qAok9hBX3iI6khseT0URVwN/KRP/xvy9r4MBxuHI8GID33YUgqTMEu1Wodmgq4JZD9EKyCOJb/yJsY5INTZ6EIgV4U2hS4mHTkzE3ZV421h6DSYjj1QBuF85vHk9DiG68ONcKXEZFDjZ35F2Z9/HKVCx0AJz2DuY5i56wWT+5Hq/AZZLn7up6uc5z25zn8L/ifGZhnPojZeEoL/aWxwQPSkk/jXY4phxj2JHTVQxG5/BI6E9GoNFvTzR+jZXHK/N1m+rgW4jzXZ9PK+o79TW0AK49mPqwR6GzQN18/t8or19OGSsVH2TMrKckYymIAsr3FJx6sE+Eq5gYyfWFtdDAoocQedjzodI5Htd6IEnHdtnoRczcKZjw9M4cAK35pUPTPtGZ5DiJ5r5nEPGWtSq/jBsGIGIgyY5WOLGnM7iipCPTbVyMXNSLNKynk32TT8yL2RnWvXYYahfwIXDnhrMGxS9UeeoXkuPrsgA3py6/XLoj85wSMlSxkLz637sQgy7aVhSjbR8nTHJaIZ9wPPqE6iSg9EbnZEGAS0sQZ2ZP4iuoie/PReijkBEtviarDmAIfrC+cgL/GGVy7C5mYZEWrKVJR638G5SJwb3XKjo7HbXMD+o6an1aATO1/4dAwDYCT8A= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PSAPR04MB5516.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(38070700009); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB7155 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=tatacommunications.com; X-SHN-DLP-SCAN: success X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: SG2PEPF000B66CE.apcprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 02f64632-f9b0-4c38-6aee-08dc3f341bfa X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: egqvUnoB2gTD0g2CYDQ4WfkippISCChTZV79dW0Y8KmE+jLXmru5grjAOLuGI30i8aHV34XhwcL36xbxkO811rt0TiIc9qjnCqNKL3jY8ASBCS5irXH00PSmH/wzoUwuco+EM6x8ceDStR5bLLSTJhyneF19kbfrQ4t3jKFQ3KjrwVgKoXtc769wIt/009Lk5bQc1B59qhu2T8QekgddQuPzcbvkCoBU4wUUtDFd3QVJ3eCM+zdCZuec+fTA4mkysEV491q9MFpuZgKzgw4dMnnGPgu7bljPnhihLNcJecay20dpkexnHfpmRE2TngP4pWtykK6uOrJnDYRBfBK03lB04fkVnenyCAqcWv48k0UJOvTWSVqMs4efqWX1iPLV0swepiZ2+9l+5DTC48jY1+mOXYsQlxCgjyxyEWeuH5f6RzPvir/zzFYZxW36NecvhzLeJMM4gge91IFYBCYCxQlWns2L5x4dM0eUDb/121PKiNlnSP1j3K85dLXXnCJ0rCuAoyt9x7Q1FYZ2eUcOaFjOvStUB2nocBNMEwSavGB+lFLwOKQKRNP9nwnxb0W+PypxVsll9lzXpY2QP2+aMkiJZVNfsQvbwuqRihcEOdH+ghsZ533VBABjk8TPVXShEIRhpMw0xQU2r2V8GJ8tJWC0Lf34kw9B/LrTjFwRXxUPPcYFW5uH8Y6yg013gc2MkjhInYFblfV3hLXCPGePgg== X-Forefront-Antispam-Report: CIP:3.104.39.150; CTRY:AU; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:harakainline-088d92820817d07cd; PTR:send2.mail-inline.syd1-pop.i-shn.net; CAT:NONE; SFS:(13230031)(36860700004)(376005)(1800799015)(82310400014); DIR:OUT; SFP:1101; X-OriginatorOrg: tatacommunications.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 05:53:46.0441 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 624a9a3d-2621-4024-24f7-08dc3f341e9a X-MS-Exchange-CrossTenant-Id: 20210462-2c5e-4ec8-b3e2-0be950f292ca X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=20210462-2c5e-4ec8-b3e2-0be950f292ca; Ip=[3.104.39.150]; Helo=[harakainline-088d92820817d07cd] X-MS-Exchange-CrossTenant-AuthSource: SG2PEPF000B66CE.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PUZPR04MB6198 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi Stephen, Thanks for the response . I will below option and come back if any help r= equired. Regards, Bala -----Original Message----- From: Stephen Hemminger Sent: Wednesday, March 6, 2024 8:34 PM To: Balakrishnan K Cc: users@dpdk.org Subject: Re: Symmetric RSS Hashing support in DPDK CAUTION: This email originated from outside of the organization. Do not cli= ck links or open attachments unless you recognize the sender and know the c= ontent is safe. On Wed, 6 Mar 2024 07:28:40 +0000 Balakrishnan K wrote: > Hello, > Our application needs symmetric hashing to handle the reverse > traffic on the same core, also to Improve performance by distributing the= traffic across core. > Tried using rss config as below . > action_rss_tcp.types =3D ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_SRC_ONLY| > ETH_RSS_L3_DST_ONLY | ETH_RSS_L4_SRC_ONLY | ETH_RSS_L4_DST_ONLY; but coul= d not get desired result. > Is there any options or API available to enable symmetric RSS hashing . > We are using dpdk 20.11 and intel NIC X710 10GbE . > > Regards, > Bala With XL710 there are two choices: 1. Set RSS hash function to RTE_ETH_HASH_SYMMETRIC_TOEPLITZ in the rte_eth_rss_conf passed in during configure 2. Use default (non symmetric TOEPLITZ) but pass in a rss_key that has duplicated bits in the right place. Like: 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a 0x6d5a https://www.ndsl.kaist.edu/~kyoungsoo/papers/TR-symRSS.pdf