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 A006143C86; Mon, 11 Mar 2024 10:17:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C9DD402D8; Mon, 11 Mar 2024 10:17:14 +0100 (CET) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2058.outbound.protection.outlook.com [40.107.215.58]) by mails.dpdk.org (Postfix) with ESMTP id A4E1D402AE; Mon, 11 Mar 2024 10:17:12 +0100 (CET) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=AH+7nsoQvLzJcDFSv51ZBaaXaco5aWgGhKbMDLO/fgV+Xwnaku/1Iiqh5zEYE/GmqWKBYKWKdkL1HYZsO8v0BnQtxPP5MKVv4S3WnTYU8wQEO7/ToG2A+Narhiq6pNguDjMz1nCrWH6/ZeZjODO0Fg6X7XoZeS6DfsLnCjlsMI9Mh705cxgjT8bsRzDPGWjoso2pH9fb3PvUqMcNLcwO0QUy0w9OX5vNeCWTlVX61QLDODF6fpbAnRNoh6Yyc55M7CNBZYfDJFBAERb9SItaHB4WFxXxlx2lvL83lYXI7alt+xSaE+T1t/OYC+35EFISn+oIjIT/K2DK4D/Y6Bn77w== 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=DoszzcMEaaQCTKh35T2yYJwFVkWb0SelOMRy8HVIcJc=; b=MHO+Zkd6HUzrKGEBPbbbQEDU63ZSGgQCkHeBDYby9T9du1Q9kMQj8B8f4qKMVD6wk/IpQL6nZGCB3oOW0onOjK+N0z85a0RmfBj+023omk10aha9D6FSfriaghvTa04WktGQX5RvyjY0UNcdE5wmjkel7bwYX6fIOTYoKlNN13gnrvq6Ve/IBCZd283ulUKLWrHERtio8CniQq73FKxOO89BRL6trsfpWSES2zLBqRMSvZTL6jr15J1Vd0nsbelzpV89TD1pA5ewUBqIPy2aWkoH9n9pMhOGrP3l2pPpudK4DcBE7JDEoRsvyb6mDZ+eNpCeW3QrJVleFo0sd24WaA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 3.104.39.150) smtp.rcpttodomain=dpdk.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=DoszzcMEaaQCTKh35T2yYJwFVkWb0SelOMRy8HVIcJc=; b=ZLRXfB49E4Mzt0HL+/1C1+6ci5OYAZVh8eRYcfhwOGKvb0g7cy5xJohjwAQQlaRGQTF2ay+W+xBJ5Mzg93N8zUmMqRAxWd2ceXKFldH0NQvlMN6unD0Z3Zto/jchRJCQHU1ckqRW0GXRAPFB7R0PzdYz7oPlZOCI0z7AVSixv5ory6njNZjLEiBvcybC3ZfFG48Q0v00TclWe35fGrBWLLHD9r2RymbUREbxoHoOeEK+nuL0Qw3wjvOoWn6xbP87Nx69eBG/jAQZxNkBz2azL00/7oTaEjrvBuTl/SY5fplbQQ5qqoAK++QOQB3VDImevPVba38hT2mgAVqXsfJOQA== Received: from SG2PR04CA0152.apcprd04.prod.outlook.com (2603:1096:4::14) by SEYPR04MB5786.apcprd04.prod.outlook.com (2603:1096:101:86::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.32; Mon, 11 Mar 2024 09:17:07 +0000 Received: from SG2PEPF000B66D0.apcprd03.prod.outlook.com (2603:1096:4:0:cafe::2a) by SG2PR04CA0152.outlook.office365.com (2603:1096:4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35 via Frontend Transport; Mon, 11 Mar 2024 09:17:07 +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 SG2PEPF000B66D0.mail.protection.outlook.com (10.167.240.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.12 via Frontend Transport; Mon, 11 Mar 2024 09:17:06 +0000 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01lp2040.outbound.protection.outlook.com [104.47.110.40]) by harakainline-088d92820817d07cd (Haraka/2.8.24) with ESMTPS id DF9F615E-9841-456D-A11C-96C3B2238F02.1 envelope-from (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Mon, 11 Mar 2024 09:17:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HN8QMfRhM9/ahrRNr1bpitlvnOtQlL0m20ziQNz3a8aOHLIxxrmoUM6JFsOpdRFO77lDbnT4wrG2FU+YMppfGQgIt75LKfxZ7UT0Lkldax0I1IxnF8Xb1IBFdxT/owAOtSRBOnwgx1FN/Gy8lrzdWkP2YkMB0q5B4gXZ10vLG6iF7P2/Sv3oSLU/grts/uX2nDmeecl/6APQjvN8zlMWkyVrudxVZU9ZwrWcxarr3UtGPad1uPn2XHPA/EEDz/YnSck7EkNB0O2rrHjJG8clwOFvu1v+9ARa/SrRDlXswwkzFV+W2KDbDiYoqXteg+I9p9LkOKWJ5/Lo4gV6gytDBw== 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=DoszzcMEaaQCTKh35T2yYJwFVkWb0SelOMRy8HVIcJc=; b=ZODNtmbwIWJRBhePArA7XqIl2B8KvgvsRkgGClWAjPppMiZM/dCZaiB27Epf0512NF8YFIhvFLm5zc3NMeJ+XH5Sr5UKFnkOxzBd1dFdQeuN+zyv/zHGgD70m4QkM9YogTU6a4fB5jhNg8fc87vVmOhFDMjXd+Y5no01qGBkJ7LDKWutLZ2QJHvn7TWU5W6W0euppHBlg0iVM+h4XaWUv0Mz/KcjZbMc5MGlvtTYv2ZePACVpmLN5S59DWM7M3NGIDb2faMr8ja4JGl8zTQQrpFtEEYl7ZSk/hJ5ISnK/ntXeuDysn7DzfCElvZPO+DJ6yNf/lOU4JxS76FNqmkBAA== 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=DoszzcMEaaQCTKh35T2yYJwFVkWb0SelOMRy8HVIcJc=; b=ZLRXfB49E4Mzt0HL+/1C1+6ci5OYAZVh8eRYcfhwOGKvb0g7cy5xJohjwAQQlaRGQTF2ay+W+xBJ5Mzg93N8zUmMqRAxWd2ceXKFldH0NQvlMN6unD0Z3Zto/jchRJCQHU1ckqRW0GXRAPFB7R0PzdYz7oPlZOCI0z7AVSixv5ory6njNZjLEiBvcybC3ZfFG48Q0v00TclWe35fGrBWLLHD9r2RymbUREbxoHoOeEK+nuL0Qw3wjvOoWn6xbP87Nx69eBG/jAQZxNkBz2azL00/7oTaEjrvBuTl/SY5fplbQQ5qqoAK++QOQB3VDImevPVba38hT2mgAVqXsfJOQA== Received: from PSAPR04MB5516.apcprd04.prod.outlook.com (2603:1096:301:5c::9) by TYZPR04MB5880.apcprd04.prod.outlook.com (2603:1096:400:1f0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Mon, 11 Mar 2024 09:17:01 +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.035; Mon, 11 Mar 2024 09:17:01 +0000 From: Balakrishnan K To: "dev@dpdk.org" , "users@dpdk.org" Subject: is RSS and Flow director can work together Thread-Topic: is RSS and Flow director can work together Thread-Index: AdpzkidGnsY0IrVDTuekZS3V42J0Iw== Date: Mon, 11 Mar 2024 09:17:01 +0000 Message-ID: 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=a84b1db9-c420-45af-a702-441059444bed; 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-11T09:16:59Z; 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_|TYZPR04MB5880:EE_|SG2PEPF000B66D0:EE_|SEYPR04MB5786:EE_ X-MS-Office365-Filtering-Correlation-Id: b5c6da06-eee9-4304-3b17-08dc41ac05c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: KNjsRe+7fwrunqg9ZvBHeEFWzfYjw1hexfFU7DBMMe5VIwfzalrMeNKv4RY4QHAA7jOlHpZAM/4OC+oPkQrSRKJKmEmtTLdJ0GSpCpxvHSU8evnKhBLcdvs4E9fplyIY4YOx6JJSAHPNNtEj484ZweNH5LDF5ISKQm5UIccJhJHoIWI0L1yZ1W7ROskgyhiBx9U9GQz11QwyTT9wBaDnq7JU5KZeG7/o5L1IoxzZU+grzxvOiAo/Gqs7YtxJnhkoKVG/HMazdwwyt9AhH5twdjT0sk29CKxkflJt1hHT6zisOmVsirNbOJRXeue6icMjuRWZhE1GiebT0qBDp24sQzzyZz4ssJvTO7Erk3PMw7G4NYt0uWbTczdd7FQxhaWevZYUWsAAfdPZJdvyGAInUo9WEvSeJ6qS6EhBXxMHy3QXlp5CwiKg/UoNUJzykcQnD0o8iR4JgIneb+G5lJ1n+R4lQE1Sok6804XbrroQ4iLZUbrLTi/PlAw9fA/qKLya+ujPkTFko8JjWswIIYwlehYfSkwNqmdXNNYNIrYxwPOmlobpH0gw2GWK6CPUBnUpECaJzE4JR5vIIhvTLfxU7D5CiLLIXmEipOAY3iTr+uJGKaKvwbx4gfYBfSnCbCeN5OeVWjnW/Y6x1PbKBqzQMplFgRxzFA+1Dzxjg7ZUdW9ckVugXaXSfMFoZRLHWNwpEHYDHhkz04i8XKTizN+BqxXy3pxED06xltxNzUyrEJc= 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: multipart/alternative; boundary="_000_PSAPR04MB5516AE163BCD04B3419D8393D6242PSAPR04MB5516apcp_" MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB5880 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: SG2PEPF000B66D0.apcprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 101753ea-69bc-4e2c-0d6e-08dc41ac02b5 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z6eLFpyL6Uj2Q3a7CuPYnTq0IpVQQPLhC1ztgJ8vBFYJngeAs9G/9gXsQ5eC1Tm5sLAq3pZ3NuoWxhDoeaDh660XIR8KhcdINApxL3KK1PNoQNcmFVZjw/ZbgvB4SX120+DIGoyW7Xj3g3J5fbmZvUm0XtAWm5IBT01ywHT9KhiGiNQdxLmccD7zvsYfJhGe29bewA3HhFJzX+htBdfutRXTfZB1k2od1I/gV7J8nwykkj+yKMv6IgU/GJn4KR7b+NLUOQ9ws8YTWudyMhdhuB2SUeFaUCtR4MRdbjsZdnwtXPYqbkkNTzitzm9SdGepFcUmyAMXkeX0Ync7RjEwGb7P3zMgo0dZPE0LTrTuFL7vUM6plu2a/+iIae/bekNSjOC41qe5fQlqbVv6+pEYX0HcRytSPN2TeTs1fiLuAsbVLNZzZZvb/bCPe0i0EndFRMWncZkp6ZbCniRL1TpYF9vIqfsM519j5myI0ireGrfMkhc2BI5j39wTHp5YoytgdtwspHRol6j5qytsekJCBAY2rw5F7UwyPQdqcibXd55rHy/ScDyFytFW6jH/nUfkoSmO/i8wKqo0X+2zOCqTq2884aPYH8zsD8EIBK6Ys49W6CIQUCwotdo3j/6bb8cDuE5MP9WuRkrQsu2AY1NeWuMQIuvUewVM2mSU052kRudqWOAIJw44SKZt18MVg913m2UCtVuv3ekN4plAmPYhWCi+BqCUZg9OyAyKwCv9DRSnkqUtJ4KZKZn3rgAUnHgL 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: 11 Mar 2024 09:17:06.1966 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b5c6da06-eee9-4304-3b17-08dc41ac05c1 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: SG2PEPF000B66D0.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB5786 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 --_000_PSAPR04MB5516AE163BCD04B3419D8393D6242PSAPR04MB5516apcp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I want to use the dpdk application with RSS and flow director. is possible to use both at a time in application. In RSS, I am using action_rss_tcp.types =3D ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_SRC_ONLY | E= TH_RSS_L3_DST_ONLY; to receive the similar traffic to same core. One specific case where I wanted to distribute the traffic across core, her= e the incoming traffic having same src and dst IP Example( src ip : 10.10.10.1 dst ip :20.20.20.2) . With RSS enabled all the traffic going to end up in one core ,where the rem= aining cores are being idle impacting the performance. Planning enable flow director and create rule to distribute the traffic for= the combination src /dst ip (10.10.10.1 /20.20.20.2) along with RSS. if RSS and flow rule having same criteria which one takes the priority . Regards, Bala --_000_PSAPR04MB5516AE163BCD04B3419D8393D6242PSAPR04MB5516apcp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi All,

    I want to us= e the dpdk application with RSS and flow director.

is possible to use both at a ti= me in application.

In RSS, I am using <= /span>

action_rss_tcp.types =3D ETH= _RSS_NONFRAG_IPV4_TCP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L3_DST_ONLY;

to receive the similar traffic = to same core.

One specific case where I wante= d to distribute the traffic across core, here the incoming traffic having s= ame src and dst IP

Example( src ip : 10.10.10.1 ds= t ip :20.20.20.2) .

With RSS enabled all the traffi= c going to end up in one core ,where the remaining cores are being idle imp= acting the performance.

Planning enable flow director a= nd create rule to distribute the traffic for the combination src /dst ip (1= 0.10.10.1 /20.20.20.2) along with RSS.

 

if RSS and flow rule having sam= e criteria which one takes the priority .

 

Regards,

Bala

 

 =

 =

--_000_PSAPR04MB5516AE163BCD04B3419D8393D6242PSAPR04MB5516apcp_--