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 6A10DA057B; Thu, 2 Apr 2020 13:49:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A9AC82C15; Thu, 2 Apr 2020 13:49:47 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80077.outbound.protection.outlook.com [40.107.8.77]) by dpdk.org (Postfix) with ESMTP id 7619A2BCE for ; Thu, 2 Apr 2020 13:49:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hgrNi3HMF3Wx8BDXP4ElGXWZ95Z+32b/iWt6NWSiVtaGRCt5OfhZ+q86z/x+FocYi98ulRt6nd/SvQ6O4Ubix/6ygHFOylCkwy9dPcopobrAUgjBzADcb7VJ/DYjdBcPMzglmNRK9DoNat0xLKip+ZBQG2zJD46sdhg3ZeqVUQzyKgDh1Kcd5hG+rV+OyzQY1J8XQoReH9/Ckqx08h0OXOhf150/CHFf1/MmihJafkwhH5LLKAk0s6AKvJfqNsT1DVPmpah5Y6xkYsx4zFB5mmxKK6ygqRdqu+dQ2rUXWLdDqOoBrcMC5s0Ru+V/C9VizEBzpPWC4EEMX7KlaEZjHw== 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=rdWiCep9k+NAIBySflZ+zP0x+AwDePPRCSkfzmUKBoo=; b=kT58QgP1/yZHVAGnnlJ9P/f1ZK1UUb2Bt5Il1tD+EFktRidOsDFI+6uy4KtpUSmagWVc9VDfVFAFKXKmbYZjWpZhAfF+3sarT1qkXAvrnXkXaojhJWl5mX/EYetiI1SzB45gMpFqWnzj/F1u3EfGn9BuVilb4XxZjPZE29HLxXusLiODHyJ4xmTKz7EeFjtq6EYbJVimd+kCW3RMGF3DMQTG04hjuvLR686+/ROc9WlS4KyYmg/yYNvMYd66CKyGdZJNsq75Ah97XQI0q0hbyM1WAt2AOpSQD7Z3tiRZ5u4KBzUJg/XlPpx6F8rX7mmSITbK23f5pQajapY6uMSd7g== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rdWiCep9k+NAIBySflZ+zP0x+AwDePPRCSkfzmUKBoo=; b=qXpJrvWE4cNgLK9uLhBWV8M/Cex7rx7wkLs6/Uk/rVjkz71wmBr4DrCE2QALxFcacaGdiTkOnXGZ0HDz45u3iFYwL9Z8PwAXe6oE7UbkfJqhvnD7XxD/lx0gZWnAaWEFPiJXO3tYTkcnlNT7JVJ9Cwt8vNjo7bGEeTqyqA7DSoA= Received: from AM6PR05MB5176.eurprd05.prod.outlook.com (20.177.196.158) by AM6PR05MB5333.eurprd05.prod.outlook.com (20.177.190.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Thu, 2 Apr 2020 11:49:44 +0000 Received: from AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::f5cd:b10f:5f1b:4b22]) by AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::f5cd:b10f:5f1b:4b22%7]) with mapi id 15.20.2856.019; Thu, 2 Apr 2020 11:49:44 +0000 From: Ori Kam To: Bernard Iremonger , "dev@dpdk.org" , "beilei.xing@intel.com" , "qi.z.zhang@intel.com" , "declan.doherty@intel.com" CC: "konstantin.ananyev@intel.com" Thread-Topic: [dpdk-dev] [PATCH v3 2/3] app/testpmd: handle RSS offload types ESP and AH Thread-Index: AQHWB2RIEQnetW2c8Uaf5uG6EXXZ7ahlurNw Date: Thu, 2 Apr 2020 11:49:44 +0000 Message-ID: References: <1585151755-15837-1-git-send-email-bernard.iremonger@intel.com> <1585662997-23618-3-git-send-email-bernard.iremonger@intel.com> In-Reply-To: <1585662997-23618-3-git-send-email-bernard.iremonger@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.32.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: e9cae905-5c72-49fd-21f1-08d7d6fbeff4 x-ms-traffictypediagnostic: AM6PR05MB5333: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1923; x-forefront-prvs: 0361212EA8 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR05MB5176.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(396003)(376002)(366004)(346002)(39860400002)(136003)(26005)(316002)(52536014)(478600001)(4326008)(5660300002)(2906002)(33656002)(55016002)(81166006)(8936002)(7696005)(6506007)(81156014)(53546011)(66446008)(9686003)(110136005)(186003)(64756008)(86362001)(76116006)(66946007)(71200400001)(66556008)(66476007); DIR:OUT; SFP:1101; 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: 8icBleKILH9yCHiRh3mR5gd3uzClG4mEUHSkfsrISSPRRjBXn0l2OveGzw6Rb38p2RN7I7scEyT3VChLZ7IjCPeHVr0ksMNf3yADJhTXrw4DvQzbv1J3wDdseOS3k+kKqtHS3g6xvtM65/ZlFhcaagH5ihrEwvtwXQtFn1nkcyIAJSdiWCChjO/jWHQbMjN7sfqtFCQWQUnViNkd5RQ1ncQzfOBLXGie9ptKmqkHAAG5+GxbMmNQ+uedb/RZN98SV02AeL8GvQhwTaX5zNyC4AxzgeouLbp+2QBZa8M4VbrkCHN4P01m/tNwp4/2FI8JyiSAi1o4Oe2gdOrUfZkQDmM+xB0yycKyu/Xz24v4KPIKVo8Zwd1fq8y11mPVfAvE0zgfQ0p3ULTUNIupiVQMA+T87dfXtXApG/5useXxReurVQ5evqWJpU94uR+TYtpR x-ms-exchange-antispam-messagedata: +nhBUHtKAMH4912dMpcAd/AcYQnt7Zm7Zz4KIpnKi0ttwVSwmvShL1rjtmIy4f7kM1WBg9hRaRy3n3ScXBxGUuWry2ywTAiLLWAFUwBRSQDaXZEPr6eNlh0oNmpFuDTY8iTaHglFp9gGSI/Nz6cDoQ== 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: e9cae905-5c72-49fd-21f1-08d7d6fbeff4 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2020 11:49:44.5694 (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: /XLKBbFHuwiimnt54LAPCQLKnmIh9VqBdUaFhymx8YMIJcRfqT4Ggomb0ZKbGNX8DzZ9cJ0XUZt7sT5tWehPJw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB5333 Subject: Re: [dpdk-dev] [PATCH v3 2/3] app/testpmd: handle RSS offload types ESP and AH 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 Bernard Iremonger > Sent: Tuesday, March 31, 2020 4:57 PM > To: dev@dpdk.org; beilei.xing@intel.com; qi.z.zhang@intel.com; > declan.doherty@intel.com > Cc: konstantin.ananyev@intel.com; Bernard Iremonger > > Subject: [dpdk-dev] [PATCH v3 2/3] app/testpmd: handle RSS offload types = ESP > and AH >=20 > parse RSS offload types ESP and AH > add printf for rss_hf >=20 > Signed-off-by: Bernard Iremonger > --- > app/test-pmd/cmdline.c | 4 +++- > app/test-pmd/config.c | 2 ++ > 2 files changed, 5 insertions(+), 1 deletion(-) >=20 > diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c > index a037a55..997f063 100644 > --- a/app/test-pmd/cmdline.c > +++ b/app/test-pmd/cmdline.c > @@ -2338,8 +2338,10 @@ cmd_config_rss_parsed(void *parsed_result, > i, -diag, strerror(-diag)); > } > } > - if (all_updated && !use_default) > + if (all_updated && !use_default) { > rss_hf =3D rss_conf.rss_hf; > + printf("rss_hf %#"PRIx64"\n", rss_hf); > + } > } >=20 > cmdline_parse_token_string_t cmd_config_rss_port =3D > diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c > index 8cf84cc..f7d6dd9 100644 > --- a/app/test-pmd/config.c > +++ b/app/test-pmd/config.c > @@ -106,6 +106,8 @@ const struct rss_type_info rss_type_table[] =3D { > { "l3-dst-only", ETH_RSS_L3_DST_ONLY }, > { "l4-src-only", ETH_RSS_L4_SRC_ONLY }, > { "l4-dst-only", ETH_RSS_L4_DST_ONLY }, > + { "esp", ETH_RSS_ESP }, > + { "ah", ETH_RSS_AH }, > { NULL, 0 }, > }; >=20 > -- > 2.7.4 Acked-by: Ori Kam Thanks, Ori