From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0071.outbound.protection.outlook.com [104.47.38.71]) by dpdk.org (Postfix) with ESMTP id 9B78A107A for ; Thu, 28 Sep 2017 14:20:15 +0200 (CEST) Received: from DM5PR03CA0025.namprd03.prod.outlook.com (10.174.189.142) by MWHPR03MB2702.namprd03.prod.outlook.com (10.168.207.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Thu, 28 Sep 2017 12:20:13 +0000 Received: from BN1BFFO11FD044.protection.gbl (2a01:111:f400:7c10::1:104) by DM5PR03CA0025.outlook.office365.com (2603:10b6:4:3b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.8 via Frontend Transport; Thu, 28 Sep 2017 12:20:13 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD044.mail.protection.outlook.com (10.58.144.107) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.56.11 via Frontend Transport; Thu, 28 Sep 2017 12:20:13 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v8SCJ72R008785; Thu, 28 Sep 2017 05:20:11 -0700 From: Shreyansh Jain To: CC: , Date: Thu, 28 Sep 2017 17:59:54 +0530 Message-ID: <20170928123000.1711-35-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170928123000.1711-1-shreyansh.jain@nxp.com> References: <20170928113344.12248-1-shreyansh.jain@nxp.com> <20170928123000.1711-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131510748135586871; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7966004)(376002)(346002)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(498600001)(68736007)(5003940100001)(8656003)(85426001)(54906003)(16586007)(4326008)(316002)(104016004)(86362001)(5660300001)(50986999)(76176999)(8676002)(33646002)(6666003)(50226002)(356003)(47776003)(189998001)(97736004)(81156014)(305945005)(53936002)(6916009)(2950100002)(8936002)(50466002)(81166006)(48376002)(36756003)(77096006)(105606002)(2906002)(1076002)(106466001)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2702; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD044; 1:ZODH5UUHCvrfqSptDwaHegexiXDEB76Yy8z5FmaFegKXwqvRju95ciYmrN70TUPbXxtIAHbeEi57wrrGxhYnQ4Fxbbpw3uROb2AeHGkus9uG4IVgv6FO0IIXHzn5DBrW MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bca89412-321b-4783-1ad6-08d5066b4539 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:MWHPR03MB2702; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2702; 3:dw4R7FCp1xMN+IuCQBIs86BMBFJZI0/Jvx2/RCb8rvYKhxlDUTdndQ4jON6SVUDbFT5G0SdCfr9c3EiVdiHs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8takA4zLNlDvxiyhQ4zXdN5C7AHwtLL83OWck5D8XSDx67UIluWrN8fYUqO0g4EgXIKIDt80JIAvpNGSd8ew+oW2ihwvRl2irpCOcIY/cpiPoZAuGi7bGqGWCFWFjDXybH1r9IfhSik3YD59ycsX0+k53/ZGUow9o= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123565025)(20161123563025)(20161123559100)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR03MB2702; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR03MB2702; X-Forefront-PRVS: 0444EB1997 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2702; 23:4xdkhYyIxVWzSprZR1Rrusp3y7qjflzPSp4e3zRUw?= =?us-ascii?Q?kCNLdIZeikjzrTBlx21V5ihX6umST0tTsCGf843/BktP46rX7nB1kywYNSyl?= =?us-ascii?Q?hj5y9Wl7t3J2YEaspOYbPwNdplxCl/520GeNF+dKm7kM2qMFvs6gyHfwkM/A?= =?us-ascii?Q?02W28xZlwEiokoZQ4xdsduu62YVo7bMJtWxMFhQUNNBHghIgcnneixumjx4h?= =?us-ascii?Q?Rr9j2Bqj9ZkczLSqsJZ6JiXDqDymNkT7td19F2uamqRIJrwBev1U80dPYCRJ?= =?us-ascii?Q?Vdux9sZ/VlYBdX5b0buHM1qgnuvmxACkM2cfVA74KB1hMOL6mObMK31ziGai?= =?us-ascii?Q?ETD4AERb7EGu167Ua6dYEMURzd/GsKG544rIqzwpg71idrO9X54mIlcaCVUJ?= =?us-ascii?Q?kM8fjWy8GwM+XSGaewfAUHNBEDerhYP0yk/Wn8wHnnHrNMJ7Q9tdxMJuiB9f?= =?us-ascii?Q?sEkgAAHqD2a6qFGOT/qeR1OFejFBkjnkvam3B/zLvHUnpjphcNffifW6OZTp?= =?us-ascii?Q?gIrZlVsArGBKD83J/f+5kbs/fU3za5Appo60CVKvPyUztqe9m44KEUUKPUMS?= =?us-ascii?Q?5QlWEBcyrmQibo8WqNNLSqNRCvUNFHDxD5ED48rcy6vzTx+7+Hhq0l2xMCM1?= =?us-ascii?Q?Jr3ZapGMautveIH/k0rhnhPfUFkLDIEq7YukSKdH+zPTzuiqtpJEoGa0g0Ld?= =?us-ascii?Q?P1cRfSqDJZs0+buqghQeAbJBsil1i31/C0eedQuC9xrrkfi/nW2Djn2jDjpX?= =?us-ascii?Q?D5mxyqCiPUWVTXWDeMM7nDP7ED6ZFYTMVRk/aOBpTXCbi32kwZx3oQ+BeIcs?= =?us-ascii?Q?gbYZ4HyFLLW7rgdgTqwnMR9z5lE0W20jArp1qjqiQe36SqQBbIWzwJogBxI0?= =?us-ascii?Q?8SfybAFJPajzB1utQLQDRkGlSwosHtn+qUE2P1ypjZCnW5/vS0QlFII0f+/V?= =?us-ascii?Q?wmXtfpz9EXrIbEqs2buXbnBxgi83Z3flFSqJbIXhALoBT45L7j328NlTELni?= =?us-ascii?Q?Dwyj0e6mUUqnIhYI0O7XOJr/s9lORhX9H/+/Mkczys49qlX6+bV+G1aZBzdx?= =?us-ascii?Q?Ombp2/djUMYvvVAwMkXtt42/9ffjera6FPs5YwcEG+S65tyNibxoLwXFeLcv?= =?us-ascii?Q?E32I7YBgKpnFuaKdh3pxTKf3woEDzO68elkjnSCmjnxmMZHUR620x8vRIAv6?= =?us-ascii?Q?t7c/AnIzaw6alvedli9Ii5B87ps6yNrIfbL?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2702; 6:CF1tTXFtp2wsxbcfRJCWMPvyCIdQ0aJW9KOne4UdbvoMamYhVALzHmddI9j5nPdMqJ8g4hoyt4r1Vw452Nkpo40lcrnhakhEiwxkMNK4+qETKi1u5xgf/EI3eS1XnD1XxazBJDbd/bhm9afPIdFGionuetNlSu2wNm0BHZSc1ghHy/f7uhfA61VrhT29M6QiNhvTwcFHLN3FURHkaTOhfemHuKjC2mxxWevc5LMwCZgUltzTZrTdkAVbMDMN0odgkxfGuoWIzF8YTr0L8P2oGH6ZD83gahESOCCWcYDJOOzR+dSdpvjIhmb7s2L8UzfEDa1Pio8GTiy71Za7Z/xymQ==; 5:Q7OY3QD/C2mJBOw092gPOTWsg9uFQDf7BOMBEuOkCNAYr+2Aj+nKchu/BdAbEkWmasPtMJVFeu2aaApRSSvbGUHQGQe4u+Gq1Y8zWwPOtS/EiEntQ0+K6/wmmHABbl59Nplg5UJE28j2Mlkh3OTkuA==; 24:FqB88FnHCQQzsQrv/UVyE63fEj6xbG5wzcHfgDBLPCtFT8VqITdyV1MB4SX0XuSAu8RyIrJyBGxbAlsNmq1vINKbpN8kdeDjuVaW4aIQaYk=; 7:fiHwCIBSr4Rkq4dAUHLmkwKHvgw29xxK+mqG4xsjphaHMCHbraTfZWv0qf5+gBt4QW0ZvPrrTgsIUEMGqqKG67+RCZ/temx5OH9eydCib1Tqa7Bz8p5uPdyK+miPnEYaDeuejMS6OEGGwjP3T7oNoCag7vz8ihWWQkGFOTonFxub4teUjGtDRDcTglmh91e8ei5seTfgRkKfmH0GpSc3/4lKjZkxQOrR/NRAMbUwuIw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2017 12:20:13.3714 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2702 Subject: [dpdk-dev] [PATCH v6 34/40] net/dpaa: support hashed RSS 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: , X-List-Received-Date: Thu, 28 Sep 2017 12:20:16 -0000 Signed-off-by: Hemant Agrawal Signed-off-by: Shreyansh Jain --- drivers/net/dpaa/dpaa_ethdev.c | 1 + drivers/net/dpaa/dpaa_ethdev.h | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 054d4bb..a11edeb 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -157,6 +157,7 @@ static void dpaa_eth_dev_info(struct rte_eth_dev *dev, dev_info->max_hash_mac_addrs = 0; dev_info->max_vfs = 0; dev_info->max_vmdq_pools = ETH_16_POOLS; + dev_info->flow_type_rss_offloads = DPAA_RSS_OFFLOAD_ALL; dev_info->speed_capa = (ETH_LINK_SPEED_1G | ETH_LINK_SPEED_10G); } diff --git a/drivers/net/dpaa/dpaa_ethdev.h b/drivers/net/dpaa/dpaa_ethdev.h index 2f25acb..e1e062e 100644 --- a/drivers/net/dpaa/dpaa_ethdev.h +++ b/drivers/net/dpaa/dpaa_ethdev.h @@ -88,6 +88,16 @@ #define DPAA_DEBUG_FQ_RX_ERROR 0 #define DPAA_DEBUG_FQ_TX_ERROR 1 +#define DPAA_RSS_OFFLOAD_ALL ( \ + ETH_RSS_FRAG_IPV4 | \ + ETH_RSS_NONFRAG_IPV4_TCP | \ + ETH_RSS_NONFRAG_IPV4_UDP | \ + ETH_RSS_NONFRAG_IPV4_SCTP | \ + ETH_RSS_FRAG_IPV6 | \ + ETH_RSS_NONFRAG_IPV6_TCP | \ + ETH_RSS_NONFRAG_IPV6_UDP | \ + ETH_RSS_NONFRAG_IPV6_SCTP) + #define DPAA_TX_CKSUM_OFFLOAD_MASK ( \ PKT_TX_IP_CKSUM | \ PKT_TX_TCP_CKSUM | \ -- 2.9.3