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 79D3243C8B; Tue, 12 Mar 2024 06:38:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E356402DC; Tue, 12 Mar 2024 06:38:57 +0100 (CET) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2072.outbound.protection.outlook.com [40.107.215.72]) by mails.dpdk.org (Postfix) with ESMTP id 2DF6440282; Tue, 12 Mar 2024 06:38:54 +0100 (CET) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=D2RedrbkUiJ1tsFgFhVgfF/l9Xpm/aq9lncbk+UV6h1FL05lSdCy5+Sw99ILWGuB8qY8PW2ODnPZ+UaW1uP9+VOtjxLU8r5irHy3bKarmGHhpwUf4fwOiESfNAaQf+fBfBKMCe7jMnXnCXWd0UWwLS3sPxFT9mdYCcq6oDGncKO5IA9rDapMJZJsmotH/NGpmSGJjW5fkcUuWOlw1DZGb4UEysXrIcadUPBXZGobMDH5ekiMOLuJRBospj0iJ4in/oa8FMjDbx/coTHJzwR45I7DQ/u+JURZBbb/rYd19mqlX4jMHqkhPhJjAg3mZ2jtHvaGo8++fzBZYO/Mh0Q2Yg== 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=7UOfwjjS/w/gNS3CW+SY+Z4XrRAzhdzkXh5G7230Cdo=; b=Z+xiNM3qV1OHjpv53T8rSqMOoTcr5wIyWjTfbyYIBDUEWfwQ1HmNc4u19STSNFo5IzmSaIGKPZ1rXCIQD+goLH7YFhpd5IGO6VwdZnq+Pe2yxO399vku2Tw5Rbr9+3merJ6NCUBlekC+9nnexew01jMuGAdlS0ETi8yO1/bOX2sgtaen4rV5T/erQjMYb+Ik2AJRMTONspE4neXMyK8hxQ0Mzdd5AmtOTZ3OtrC4hJp6XBeGK/+eYtMHYaXpiiTV22KTO2XTxb0ou633BtT8BvweZ2EX5OS+hoR1SnwVBvK8vEz8FBDxuN1kSWfCeDDjYA4UmDbssDNpxqtB+/iMWw== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 3.106.94.86) 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=7UOfwjjS/w/gNS3CW+SY+Z4XrRAzhdzkXh5G7230Cdo=; b=AjXzhPPKvVSF2QU+cL/8z9quFr221Oyqb/hhVAosq2TOuOXhzaTeBwpavzACmvSUc8J5hMD9HBgmkhfMtDgP5Y6BMw9uGgoDQiZKpVIggPIVm7oyef6GWZuWzONUA3T2HjTu2AZ0iW8XxPlLAlWvKhzQtZGuft7OHgmZf5Nnjd/5zTS3gM5q1ej74NsrWu0YJoU1ao8dEacJFpujj9ISw9+WqmV7mpmKNVJQ4TdN9Pex66kQrJxmbBAYtVtTf0A/0WtUz0CSlPDg80PFk6ZBXxqduY/zxiFVJdB+1HYgwvjp7vXhBDsZYTrJFQOvY6z0dvEeXJLfxasop1Cs3lsb3w== Received: from SG2PR06CA0206.apcprd06.prod.outlook.com (2603:1096:4:68::14) by KL1PR04MB8142.apcprd04.prod.outlook.com (2603:1096:820:140::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.33; Tue, 12 Mar 2024 05:38:52 +0000 Received: from SG2PEPF000B66CA.apcprd03.prod.outlook.com (2603:1096:4:68:cafe::57) by SG2PR06CA0206.outlook.office365.com (2603:1096:4:68::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36 via Frontend Transport; Tue, 12 Mar 2024 05:38:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 3.106.94.86) 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.106.94.86 as permitted sender) receiver=protection.outlook.com; client-ip=3.106.94.86; helo=harakainline-01c13c4cb2dfa8d4c; pr=C Received: from harakainline-01c13c4cb2dfa8d4c (3.106.94.86) by SG2PEPF000B66CA.mail.protection.outlook.com (10.167.240.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.12 via Frontend Transport; Tue, 12 Mar 2024 05:38:51 +0000 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01lp2041.outbound.protection.outlook.com [104.47.110.41]) by harakainline-01c13c4cb2dfa8d4c (Haraka/2.8.24) with ESMTPS id 51D90E17-E662-48A9-B505-2BBED7C519E7.1 envelope-from (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Tue, 12 Mar 2024 05:38:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T1VS4IVpZO+AZSvOB3xxwBNdK2xGUCbVkW+SaYlmEig/OZEthkLz2sKvMI8cBd9OfrQbRD6SeDNmvf2Ub+hM8Sz/O3G/5stKW31hVbY5NeLOJmoWDdvQ/C88mYI4EGiv4BQYeiRYNzkpCAb4zNAdfIZOIKijEtWXiQi6IttRtvCh9LbV4Fp9QExsA+ZG+k7QPJzSmj9Hp2tp/QnKs9KUGYU8SNswcUFkoN59Xl+Uud5WlvbjPpBV0tPpwtSimxS5qClvd4KVw2q7mT0g37yxLUTrDUVaccck5uPbcWm3C04RicXtoQCelQVFUqa5gv61OcI+xqBLsYtjYsRWCps0aQ== 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=7UOfwjjS/w/gNS3CW+SY+Z4XrRAzhdzkXh5G7230Cdo=; b=E/NM+XP2g9SAL2zMLoukg65fMZ+9bHmPMAsDty2048PzRIRsYJoz5LPA+jslorUBAc1MKf0fsKoADoV8Mt2Q4HaFrAUTcN+EmtdgKbtc9TPIc4Ua6LLJJXptfltwGinr5U3ybaHbr5SZ7JsQ+6UvK/Lvj8bK+PssluCbDcdJlgZapSXQk74vEmnOdDxn3EOKMqk6xw7r1XHpXHyVvWkayyrQ6uL5hgC6uSmI65RWblll1s0F15d7CG6QX51tkM7LWQveHizA0MU0EPDsOW6cJHO74kaP4qhvhRGnr3222h1WiVY08P0KpF2/e9+ppCDqK58REqBlptDZaApvOPYFsg== 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=7UOfwjjS/w/gNS3CW+SY+Z4XrRAzhdzkXh5G7230Cdo=; b=AjXzhPPKvVSF2QU+cL/8z9quFr221Oyqb/hhVAosq2TOuOXhzaTeBwpavzACmvSUc8J5hMD9HBgmkhfMtDgP5Y6BMw9uGgoDQiZKpVIggPIVm7oyef6GWZuWzONUA3T2HjTu2AZ0iW8XxPlLAlWvKhzQtZGuft7OHgmZf5Nnjd/5zTS3gM5q1ej74NsrWu0YJoU1ao8dEacJFpujj9ISw9+WqmV7mpmKNVJQ4TdN9Pex66kQrJxmbBAYtVtTf0A/0WtUz0CSlPDg80PFk6ZBXxqduY/zxiFVJdB+1HYgwvjp7vXhBDsZYTrJFQOvY6z0dvEeXJLfxasop1Cs3lsb3w== Received: from TY0PR04MB5524.apcprd04.prod.outlook.com (2603:1096:400:148::7) by SG2PR04MB5685.apcprd04.prod.outlook.com (2603:1096:4:1c5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Tue, 12 Mar 2024 05:38:47 +0000 Received: from TY0PR04MB5524.apcprd04.prod.outlook.com ([fe80::c67e:abd:d84b:3697]) by TY0PR04MB5524.apcprd04.prod.outlook.com ([fe80::c67e:abd:d84b:3697%4]) with mapi id 15.20.7362.035; Tue, 12 Mar 2024 05:38:46 +0000 From: Balakrishnan K To: Stephen Hemminger CC: "dev@dpdk.org" , "users@dpdk.org" Subject: RE: is RSS and Flow director can work together Thread-Topic: is RSS and Flow director can work together Thread-Index: AdpzkidGnsY0IrVDTuekZS3V42J0IwAOR4UAAB0DGhA= Date: Tue, 12 Mar 2024 05:38:46 +0000 Message-ID: References: <20240311084624.30cbbb63@hermes.local> In-Reply-To: <20240311084624.30cbbb63@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=736242e0-2cf7-4eb8-93ed-dd0b3a90a796; 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-12T05:38:45Z; 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: TY0PR04MB5524:EE_|SG2PR04MB5685:EE_|SG2PEPF000B66CA:EE_|KL1PR04MB8142:EE_ X-MS-Office365-Filtering-Correlation-Id: 49f9ec4e-b369-4a5d-de28-08dc4256b318 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: g232H5987rgmhH5uRUb7+52WzSgtpGwiFhjVpkwKnNlhqhQUPIf29aDrMmVNR8nB5Sr/bG+pttzJMkQ6Q8nqWuecHXLObeiIV65tPUgEof1DSJx9ml2Z7wjP5t3MDtR2QzZ0bJYkZyRGSRlnY+EWD5ojFCG+C8K1p1XXrB7WR4jKjzmsQgYCurhXTijfbAdeiNsHS9wO9U3Gs66nCNHrReaBvcQva8vODN7GSmudX/RMvN9WD2oBTMeXx9iMvGUNvrgy4aYKBnRVrtPopkT3M5XlqrSc8WME2Hqvnvn4QW2FeqYv8Dbu0eykEDkhtPX6w4MHsoZPGPLr2+pDIKLC+3u0UMnehQeohoUCRYab5ghm2K3+86RgUfOn11pHy2h8DK/ObII/CyvBGBIR6vpPRUTSJt/n46N5AS8epdmvaq54mpAvkABfAuPhrpuCwoigaWl3LSm4MJjDkYtwlJfDy1fDeTfdr1nPdRAqCAj8a1o2WUATEhUL9cvUjEl7fk22DS+UB2SokdVjFZ84Gv7gTJSqOOnWySeTilF1ug4Az8UUEFbxx5nISPSS4zXxq7YmvATf62nOQLOK3BmPrpNLDhMBqOCrNPa+F3XeGTbNAqQ3hzGlk50Oa6xlx4WzQab4nl8+ChE0mxz5KOKQ6Gy4xm0CqdDoBSP15cVAx0mxdFE25LDctmIj/030hjKITKHjZ3x7soD7gbMiMPQCjcEqsXq4An0z4bxCvws0SOb3GaY= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TY0PR04MB5524.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: SG2PR04MB5685 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: SG2PEPF000B66CA.apcprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 91b7e1a3-2111-44ff-0133-08dc4256b022 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G1xEG0GscFS2PGD0p5SLF95L1vP1Z/5YQ0Pdp6gy3I20V2BCg7TKO2UCllw/Pjm4FP5vKpLqkpSrdrujDwtsheWQxL5nw723e2WtnqSBqNr6Drvk6eLF0YFIcZ4/QqKouNpR6ICvrhk2+5r5RefNcZ1IYaAULTmCEr3P8ctXEV6dpKXKjS4U4z+QeLzM+2nvZ++vTrdErwqerfQ9hJeezMJ2J/1bKSt1FcHqElWRDzq/owe2KoOxcz5wAhiT9jUm7X6V1RjXP5FIUictfBCbLUA/FfD1nynhqKxWN3a4DklipwRz6kejS3xeRXB5elO2TXfQbd0nFKhgXmqf45EmpRGkhC9i9G2dW9FtEo0sP+Fdtl2bmVfKHjnwsquLN3Dw6JHJBGdcUMhR7Zku2baCemwXFRJGuPN3DZftn6Ny/1CP6ZE1mT244OT/5ymJXXmdT95pQkuDJjaXQ6pyjwvEwwyRbj0Au16DVPj15Om/SPS0uDpY5+TU0umSvX8A6aNfryGQl1uCeE7s5C+k6Wv/8fqS4Gpg74SPml2AOBnG8w7u7kF34cTb0Yf0/ItvSpPs9qlq73Mqk6d30czwauGQdgE1ljn7HFMpf1ezFMF79mg05KuWCYfb0lpRVq4bm4CKwDCOTdELs8LYfFeNfvuR5Nkp+lk4wrEhkUr2jUMm6qxhRrRxwA+sI8z9zAaMX7jb1HKnVRZBY852LQ1sU+Tpw3/4oNLVtxYolhG+/3/OLhtTLbIRr8TWh24mggrjQ5Km X-Forefront-Antispam-Report: CIP:3.106.94.86; CTRY:AU; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:harakainline-01c13c4cb2dfa8d4c; PTR:send1.mail-inline.syd1-pop.i-shn.net; CAT:NONE; SFS:(13230031)(36860700004)(82310400014)(1800799015)(376005); DIR:OUT; SFP:1101; X-OriginatorOrg: tatacommunications.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 05:38:51.4608 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 49f9ec4e-b369-4a5d-de28-08dc4256b318 X-MS-Exchange-CrossTenant-Id: 20210462-2c5e-4ec8-b3e2-0be950f292ca X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=20210462-2c5e-4ec8-b3e2-0be950f292ca; Ip=[3.106.94.86]; Helo=[harakainline-01c13c4cb2dfa8d4c] X-MS-Exchange-CrossTenant-AuthSource: SG2PEPF000B66CA.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR04MB8142 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 Hi Stephen, Thank you! Will there be any conflict occur between rss and the flow pattern that I am= going to create. RSS and flow rule having same criteria which one takes the priority Regards, Bala=20 -----Original Message----- From: Stephen Hemminger =20 Sent: Monday, March 11, 2024 9:16 PM To: Balakrishnan K Cc: dev@dpdk.org; users@dpdk.org Subject: Re: is RSS and Flow director can work together 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 Mon, 11 Mar 2024 09:17:01 +0000 Balakrishnan K wrote: > 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=20 > | ETH_RSS_L3_DST_ONLY; to receive the similar traffic to same core. > One specific case where I wanted to distribute the traffic across=20 > core, here the incoming traffic having same src and dst IP Example( src i= p : 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 r= emaining cores are being idle impacting the performance. > Planning enable flow director and create rule to distribute the traffic f= or 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 You can do that with rte_flow action of rte_flow_action_rss.