Message ID | 1538390698-22073-1-git-send-email-ruxandra.radulescu@nxp.com |
---|---|
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="SrNVZGN+"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42NzSq26kvz9s4V for <patchwork-incoming-netdev@ozlabs.org>; Mon, 1 Oct 2018 20:45:14 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728972AbeJARWX (ORCPT <rfc822;patchwork-incoming-netdev@ozlabs.org>); Mon, 1 Oct 2018 13:22:23 -0400 Received: from mail-he1eur01on0044.outbound.protection.outlook.com ([104.47.0.44]:56022 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728791AbeJARWX (ORCPT <rfc822;netdev@vger.kernel.org>); Mon, 1 Oct 2018 13:22:23 -0400 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:X-MS-Exchange-SenderADCheck; bh=0kRFzkjiChXlfO/ld6aqE/dVfgacnpC421/b7EvquKk=; b=SrNVZGN+9XUbUCdwuOWIqGS8fK+yi0+gq1sQgQVq9ED196A0W1UnbxSYZ0k7eDOpLfZGtrVtRnilX30pLRgCDCwwkVH0dBVrD8WbWo8406tNVedB+YIh2dH/WgE4IvT3kCC2kD/KTXM6DEOtjjw4Dd2shCy48gTtpCFnRJRQBmw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ruxandra.radulescu@nxp.com; Received: from fsr-ub1664-019.ea.freescale.net (86.34.165.90) by DB4PR04MB348.eurprd04.prod.outlook.com (2a01:111:e400:9831::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.25; Mon, 1 Oct 2018 10:45:07 +0000 From: Ioana Radulescu <ruxandra.radulescu@nxp.com> To: netdev@vger.kernel.org, davem@davemloft.net Cc: ioana.ciornei@nxp.com Subject: [PATCH net-next 0/4] dpaa2-eth: Add support for Rx flow classification Date: Mon, 1 Oct 2018 13:44:54 +0300 Message-Id: <1538390698-22073-1-git-send-email-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [86.34.165.90] X-ClientProxiedBy: VI1PR09CA0064.eurprd09.prod.outlook.com (2603:10a6:802:28::32) To DB4PR04MB348.eurprd04.prod.outlook.com (2a01:111:e400:9831::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 16035223-51c0-45d5-0c38-08d6278af475 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB4PR04MB348; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB348; 3:k3BZi1wmTZe8ylDXyDQRh427hh9XOME/c6ucjCvqQ0MqKEMIDe28w8B/gFITPh/jKF9EHM7QjLLjFpzXJnVKXOczbjxdJHNnK4TK1qnU9njRnOH6DE0xK7kCJWiTshbgrbFU5PDxd4Ht/7iDoMroqOgkG07xZL8jDKMYN6BdkU2rvttSfeuQe3r6E7zM78EvK040/BsCpxGel6Lyw4P9XYEevDrGCN1MzA7J14uPA5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IMA+fFg8jD7bmvQtReMWx+C0Po2y+N2t7msk9iXLRQxoQYS7fF5FunvcFaqf/evXiEsSyuf5giMTJgkmJFHMAj4a3wMkt5nkwT8a18tZaG+AnR0C9clXjFfn0FDwlYfqNR7; 4:SQZN6+b6UVJ8jF/ONNCe8IGfm4IylfdxxIhQ36RXpRpwS5R8VJQph9ViPNg2Qxwq9RW1Kzv8UK4h+SWdkJ9jLU5f0c0Va3ihrLTwcoCkM5RVoeHGFZsgDTsiYGSXGdYKcjcLCgnBlolepCkBs76xdacOSSqOE//KZcPY6/O9jUaDrncVACiyCQ1mQcmkDQsyG6cjHn1IbVbVfQqFY8eVUOCmB4UsnrBKxcSfWaob/bzFlUcDgeIRLAwOF1JPsK+OZuweo+fTzM7tf6CKNoly3A== X-Microsoft-Antispam-PRVS: <DB4PR04MB34826BF404D32CC4EF700C994EF0@DB4PR04MB348.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(201708071742011)(7699051); SRVR:DB4PR04MB348; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB348; X-Forefront-PRVS: 0812095267 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(396003)(136003)(376002)(39860400002)(366004)(189003)(199004)(48376002)(50226002)(52116002)(47776003)(51416003)(25786009)(66066001)(486006)(305945005)(81156014)(8676002)(7736002)(81166006)(34290500001)(86362001)(97736004)(6116002)(476003)(6486002)(36756003)(105586002)(8936002)(6512007)(106356001)(2616005)(956004)(16526019)(186003)(68736007)(6506007)(386003)(3846002)(53936002)(5660300001)(26005)(6666003)(2906002)(50466002)(16586007)(4326008)(316002)(478600001)(33830200001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB348; H:fsr-ub1664-019.ea.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: 1; DB4PR04MB348; 23:ouCU4BZGqUjq/9Hr5CHDHi49atGErRBk2dLiV58eiijYjfkmHWLIvrEnfOxhhSbox+pgqnEEMb1oh+Kikgw9tkanXdnR0C5Y+ln7S2DkO6nCy2zdXWUix3CB8+3E1ahePNh1VEOxB1j3NjQblnbiGFufk9L0MvrsIr/nGkwlRxrl7LwBWulvecJPAmBArhlhD0OGEG1c+S76QDYXACaGixopQSSqqihpbBTRmc7VlcCfClTuo+xVDBwcrqPnAn/wE8BX4XHzT8lVjJV8ghOTZgLNP4pm38lcVAUGbbD/nLipN2MT4ty/cEgE7lPQtocob5JS9WNKyXxDWJp4SOLqfwSbMvf65d9KTDnUhVxhl9d+GvzcSmCUiHGkr4DSgVuUHSwQPlNCQzsp7Ma831qBNwvB83aB+RUTuee7AmInCr/6H8z+JvNlCm03Dgik9NTzkz3tGoIgU6Y9NevtOKouhVzamm2lc97H5ZL36+i2eDLa1qdwnm7hyLqf8WrBojQaO5Me2kEcB8bLvmIyWC+8sB0SRzmWOUjEtJeaYPpYnh6MvuBUZ4N1iPWTY2oXmXWDSiKrBa41oANHJihHZPRGEo5sXieyrq1NhEtQ5tawmLAdozdoN6bqVQPyd+P0udYOquIdzj5KMFMr4nHfNBcubcJISzTGeaz76kj3YKpok2NcgnYi15OXLmmyaClEnIDoFngdPeq17on9jyuB647jMv4w/wqyIanzzerxozet4BRBx+WOiwOaEVjqJ7qabHreTrWYnJ5+gIZUGN1aeJvnGjn16VJAQ+NyNaewmU64emxwAfemfZQ6uvbkfVtpx4O2F3hDNwzHCMOwpc3YFdYks+eRtx9Y+nsZvGwUla3WjbD2x0Z+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2Z6TyDj5pnLR631qGMUG8dobMb8ETiCjOOTbMd9dLCq69GrUm1cPB8JwCPJLMrRivl9to6FiHwDJYFAHAvRaMnXXA==; 5:eqVyg0GuztIvJ7pFXhjIiecEQ6je7lAMRhgYRx1SUVug5CADW/32gjtGxCm/UwPu/iblEhz2mgqDyn8DXLfOHoSodMK8f9kMn5zkngX46LvYzX6GPS5SUuSrZQLBenanZGpQgDT7MQ+4YsWW1LIGmwUO4bkpOnuhiLowOW8x6tI=; 7:hw9c+MDWaHLVVk2j1i+kq46qG4FGjdOUzNX7cEJkJn6u7SERWqeYRKQybBrCdsrq5zMYDhz1ujExSEdlkJaQTWJCjD2lsg8g2VOtzTfHW6r6BEYapJbsgHhEB+dRRk/tPHKMrvJYUzCiY3rc6IPOFzYca1Tt+VSF6B60bY+WSQXPKJXXgAEqiTMmVOzSYKPWqlfN4KKbS9k6j58JPvvXBZSyCjUFJl8+jQ+2mn7Ib4n0X28BCsBM5Uv046tGiNy3 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2018 10:45:07.6162 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 16035223-51c0-45d5-0c38-08d6278af475 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB348 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
dpaa2-eth: Add support for Rx flow classification
|
expand
|
From: Ioana Radulescu <ruxandra.radulescu@nxp.com> Date: Mon, 1 Oct 2018 13:44:54 +0300 > The Management Complex (MC) firmware initially allowed the > configuration of a single key to be used both for Rx flow hashing > and flow classification. This prevented us from supporting > Rx flow classification independently of the hash key configuration. > > Newer firmware versions expose separate commands for > configuring the two types of keys, so we can use them to > introduce Rx classification support. For frames that don't match > any classification rule, we fall back to statistical distribution > based on the current hash key. > > The first patch in this set updates the Rx hashing code to use > the new firmware API for key config. Subsequent patches introduce > the firmware API for configuring the classification and actual > support for adding and deleting rules via ethtool. Series applied, thanks.