From patchwork Tue May 1 12:52:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreyansh Jain X-Patchwork-Id: 134781 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp4906786lji; Tue, 1 May 2018 05:36:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp+iBDVyBhqycrCtBL+0Tp7SgxCLO5KOKy3Yk4ORbOLW8IGC85NVv8SGlbTwGTuwIN6Lrij X-Received: by 2002:adf:8505:: with SMTP id 5-v6mr4379248wrh.77.1525178219109; Tue, 01 May 2018 05:36:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525178219; cv=none; d=google.com; s=arc-20160816; b=zc6Sn4iH/PGJDLFlcsR80yV8yTxPcWpIt+1ilRxPUiQNF5661VJJUAlUthblp9g1Ts qDOaf1dGyxhi7EIUAwbF7ulYHxPP6KUR/pfChF8YdfExZtPc50GzLS/10IaLw1pnClC4 mHuib+RZTApV7eTZI5OrHzlWgbPTCmoXJq0u9NYNYh6pI++5xS/cPiVTa+yW2KLAZnpB 9M/x8q7PwjWTTcL+kuckXztY8814X6hNPtl4v0gaCM4LaCEfqOsTUutt6DI1m4mQiGSY bkLCAUiWvPERA966XEfQxKrHbZK5oSdhykBZfO+Hl2freUVxxkyK0yVWYKYn99iqELQr DdBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:cc:to:from :dkim-signature:arc-authentication-results; bh=JQ2ONuKB5rjkPffqEpffh0K23GS0EW21ddSG5LTorlI=; b=Q9s9/qYrnfZn9D9NyNEoVXur+hXKEwdwNT8neOE8v8sfGdORKnk12Vj5NuFgKOJuGI frv9qGGmYxl35nS4XKuVnn7X7WqhcyKBw8Rn/6nqybWDM4MA4IM7QVAQh3CuYafkQ83V FjQmdtjzH2angR7A/c1ZUj/hBHUBRjVZWmV8AA6Sye7rEa5Ozo3WXw8zTEfKCXVa2Sqm 4b4d7ygI8ooexsSk8wJL6DPvxsh3B3Cos8TH5Lfs899fLOmKtviZKfShyqsdOipHFxzV DbXIFxsq95lCgrvuiAlRozBbx+CEbDrRrdMX/3hVGmxkVdqrCMLU/tsy+cuq+U2V31HR wdbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=rfSBiu73; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id n2-v6si7570714wrh.394.2018.05.01.05.36.58; Tue, 01 May 2018 05:36:59 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=rfSBiu73; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E627CDED; Tue, 1 May 2018 14:36:56 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00062.outbound.protection.outlook.com [40.107.0.62]) by dpdk.org (Postfix) with ESMTP id 51F86DD2 for ; Tue, 1 May 2018 14:36:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=JQ2ONuKB5rjkPffqEpffh0K23GS0EW21ddSG5LTorlI=; b=rfSBiu73WP4eUuFBn2nIrG4Wk6XrcGkNzU5JbH42ZTdL+mf3UJT5Y/6RxCxOOKLHgdGDDM8+yuMYguIz4wT/VX3kfuEwFtmEFBhc13hIQTHOQe4po4AuS3QqzOYy6tfWpVEXH5gKZ7Ngs43/15AFgPhLNnw3ifyr7GYipoEFNhs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by VI1PR0402MB2781.eurprd04.prod.outlook.com (2603:10a6:800:ad::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.22; Tue, 1 May 2018 12:36:53 +0000 From: Shreyansh Jain To: ferruh.yigit@intel.com Cc: dev@dpdk.org, Hemant Agrawal Date: Tue, 1 May 2018 18:22:48 +0530 Message-Id: <20180501125249.12409-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: MAXPR0101CA0005.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::15) To VI1PR0402MB2781.eurprd04.prod.outlook.com (2603:10a6:800:ad::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0402MB2781; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB2781; 3:uIa9I3RRIDphYCChXOqshtQ89IWIhynyjM09ulSfFl1kRzAKf9inK7qSXO2hI77dXbRwCgbS+IAXwxzTt3s2qJHYcsnDizOsnUZ0E36WyVi6TVqz3/PsL+j1yGetnPrt+XENOO7t4fWxG6NGk7DJrwxutjHORigTZj9CCgWGNWclb+1UpdLGrWc0VM05q9zYmlWhCQlpAC3S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/lbHt/138d9lltyNVO5zaW5Tnr59hhRlNmGDN8O4zKLkkxwUZqGw/hOYWoqrJbZJx+vgNMCo52nXQSHWWj40lpaiVgIYetYG8acybSunUqrZcXun1uKinf+IfHA81minT36oZbwx38/wc; 4:fevoVYqlGMvwC0GVSrzt/T8O9sFSVZtArNWgTXh27qCL6iEujMoBfhChnsB9nuq0mCxzp/2axmEzKBTn2Kqik/5lZLXrzCdh8ERNakustoWERLCrvw4NAlT7RRFpPPVgzLVQZ3aDfh59fWvzATl6e/BqFdMAhly+TFQHVMbauhzYHvIFFH4kZ/PlHO038Def2Yhigozwv43k0Ox2cDld+7aUjk6UXR683gpdti66r8W6nBOcwuYozwaH+fUybLT90BqzsJLzInQRSJ/51glvEInupuBBwsg881WV68EtEHzP08W+qw8+VbCXnvgzQ4kh X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231254)(944501410)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR0402MB2781; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0402MB2781; X-Forefront-PRVS: 06592CCE58 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(396003)(366004)(39860400002)(346002)(376002)(189003)(199004)(66066001)(186003)(16526019)(26005)(3846002)(478600001)(44832011)(97736004)(6506007)(1076002)(48376002)(51416003)(52116002)(6486002)(5009440100003)(476003)(6916009)(6666003)(47776003)(55236004)(6116002)(25786009)(2616005)(386003)(50226002)(956004)(5660300001)(486006)(68736007)(2351001)(50466002)(86362001)(53936002)(8676002)(81156014)(81166006)(6512007)(8936002)(36756003)(4326008)(16586007)(316002)(106356001)(2361001)(305945005)(7736002)(2906002)(105586002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB2781; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0402MB2781; 23:+pcqk43Q8N4tcIWLNViuaeTpvewVwJh1NFEm6me?= oSy/bvc4WQXg/VtoHwdHxckxY3tvnbhMFt4wLM3C3iqMiFIJPOjLOthzFCcPwGaCQUbgyA9BuPVXfgPYMWlVLAnh8UDxr++cEQUhflLedgvTuvZ2ADJQRo41+4QE6oXTHdUKN+KMNhs+8IpI5cEVRHoQuBCC+5Z71fu2esCdMLABdcHTs1zGNczWv3bextNMzA9dRzsaXqm2cdJ0JF5iiNuDh/ZFmdRzAetq0sPN8vOKfV9Cs4PttuoVUfC86ERQ568O5kXn678O6Pio5w85WV3decckCZcwcMjWkHfRmCdYyhDHU5zSdJju4Y8T34aOMR3j7RWrgt4NmePi0Cbr8F7ugF74g2WB+I3WKBkkdFaRXC2zPl2XwTiqYBhX33qqsDaBg/tlSQE4BuF8O+IpRgRba1qiPKIYh78KR3IN/UAPqYqrlPeNBihIoqHz5cEOKQgphqfvdT8f4SS6rmOEvYOeeq3XOHp198ahisbFXcb+M1beHfzEVAVyvZXKl37yFrto9fKw7m6s3nMMGcl+5rEQfTpYE5umek/VixnReOFXR7h2cJZ7VmVODQBZOK4T4YSJPgKoT9WmpaWyReXsPMOLNto7jeAcZFO87bNInRGxYmJhSXw7cWQYuRU6irSiiOGxz/mck8VKN0/qzn47mpSAaHJdClDcNgyFi/RjfIS41Z9l03G9t+EJQk2jpqEoLNw8JPIkuitoFmQHRFt1PxouF5MMvZ+O4zZ4ciYyZ7b48Fgi14eU3s6E4dkYk/2aCyPGqi9MuNVg4Wx0y9hcz7YkJs9QZ6dnuNMqdz0208zqyYThLktMIbF4DueztZ6YBTcFPTmtIjW8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/C+lLURaCTSQ45jc0efpa0vWaayHhCIf1jAwgsSPQ==; 5:lVHmThQ8oO+gzeeT4YztFKkRhhT44KwsJ/4t948LxQGqBc9T2t19XaKODoQExWLRnIpXulNbFoStHSIpXa0jd7n2BnGDYbJuYVDaW7dmCvGUGL6vjrDw8U/aDLIasc0dhUTSIOlLA0lAXyYVyXExnKEkz4VkOXodeQrdQM+zTDc=; 24:5eTrCtD3K1BfdNm3SPxDH7Z3wF9ny2bEj6slmGiLmyq8MyvW1iA8tXPiuA7B4ufY37j3uF3TFvDOdBF7BPhAR3Hvw1zjB3up1BvOanDI8RI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0402MB2781; 7:3KuSvJZu5tiA5Y9ckJqsgcueJInZ3LmFZBq5EVNEe8/alODKZyHSP9Hc71zkiQDQC1dVbvcM7i0mkhbz6NmDVI/lM8Or2exFSJqT68tsaAHZ4d/KqNfBP718ywAWmsG9D2pODf5rH5Dg9SCe+DzXePmAieQ+xoF+ADggCMG7U9L5yrubIs7siGowtNxaLS0Bp8KU4YZBiSK7O7O0c2oghkH1OH8UBvdhCBW4CuFQRLYK8Oj96EF5qIMow7vcK/se X-MS-Office365-Filtering-Correlation-Id: 91cb3c94-9c65-4072-eb7d-08d5af60388a X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 May 2018 12:36:53.2048 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 91cb3c94-9c65-4072-eb7d-08d5af60388a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2781 Subject: [dpdk-dev] [PATCH 1/2] net/dpaa: enhance the RSS hash support 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" From: Hemant Agrawal Enhance the RSS hash fields supported by DPAA1. The RSS Hash key fields are configured external to DPDK, through SoC specific scripts. Signed-off-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/net/dpaa/dpaa_ethdev.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) -- 2.14.1 diff --git a/drivers/net/dpaa/dpaa_ethdev.h b/drivers/net/dpaa/dpaa_ethdev.h index c051ae32a..df2b38444 100644 --- a/drivers/net/dpaa/dpaa_ethdev.h +++ b/drivers/net/dpaa/dpaa_ethdev.h @@ -74,14 +74,10 @@ #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) + ETH_RSS_IP | \ + ETH_RSS_UDP | \ + ETH_RSS_TCP | \ + ETH_RSS_SCTP) #define DPAA_TX_CKSUM_OFFLOAD_MASK ( \ PKT_TX_IP_CKSUM | \