From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8140AC282C8 for ; Mon, 28 Jan 2019 12:02:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 40F23214DA for ; Mon, 28 Jan 2019 12:02:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Mellanox.com header.i=@Mellanox.com header.b="SoGT7SiH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726713AbfA1MCL (ORCPT ); Mon, 28 Jan 2019 07:02:11 -0500 Received: from mail-eopbgr30068.outbound.protection.outlook.com ([40.107.3.68]:30567 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726668AbfA1MCL (ORCPT ); Mon, 28 Jan 2019 07:02:11 -0500 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=D6MT3064sZV/gNoYYu2HDxVZwN9BYE6rnfG3tIEvwbo=; b=SoGT7SiHsyf/4dxjK8eomKnmPgeQJG9TOXqxQEn87x7L7onCdNtOfl+P+WoR6lpG5EO+TX0lYLrNZZJA0b9JYF31VpTO9/7XwcEHZ37rS9eLcJx39gLEEtyVTSK0mHd2Krzk35m5K2HPw/4B5JdW/XWz4XuK6fHfLKxnqPCugzk= Received: from DB7PR05MB4940.eurprd05.prod.outlook.com (20.176.235.152) by DB7PR05MB4250.eurprd05.prod.outlook.com (52.134.108.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.21; Mon, 28 Jan 2019 12:02:06 +0000 Received: from DB7PR05MB4940.eurprd05.prod.outlook.com ([fe80::6161:97fd:d315:7b07]) by DB7PR05MB4940.eurprd05.prod.outlook.com ([fe80::6161:97fd:d315:7b07%6]) with mapi id 15.20.1558.023; Mon, 28 Jan 2019 12:02:06 +0000 From: Ido Schimmel To: "netdev@vger.kernel.org" CC: "davem@davemloft.net" , Jiri Pirko , mlxsw , Ido Schimmel Subject: [PATCH net-next 0/7] mlxsw: Misc updates Thread-Topic: [PATCH net-next 0/7] mlxsw: Misc updates Thread-Index: AQHUtwFJsniuQtZWlka+nQtpz61dGw== Date: Mon, 28 Jan 2019 12:02:06 +0000 Message-ID: <20190128120131.2848-1-idosch@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P194CA0090.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:8f::31) To DB7PR05MB4940.eurprd05.prod.outlook.com (2603:10a6:10:1e::24) authentication-results: spf=none (sender IP is ) smtp.mailfrom=idosch@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.20.1 x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB7PR05MB4250;6:J0CozGiv/VCzmdXK26Fxtz8QGnsbBcZTJXKk9KtuaMCrbO9NzfFN+k+Ot6206XSJbVXqyNjKJZost7lo28yh5ye6+uWXqG9wQni9ectjf/uyOQn35/DkGRlJLHKkzRjZtZMU9jQtyCh4CRXe67FdgtcbKztKAgy1BzwOyfTC9ktMNcadvlljhDizJVZAyfCAwaxZkFChIa4d792J7SlXNti/02Wl0LnLkCIuEPvG7dSjre6V46ygJOIDM7hWidvCj3viPObW5Mm5plgdUXEcNwnE3uDREiJHifqbWYBjxh+yWMX5YyVnxL1nZ5nrHRf/HzrbVxEfd9Bz+ABCiygaPKvIqhFHbv5hIBg5ygFsOf3Ykbm3CVx1agJbpUCW4fbD6TPmevz/5+Ofo32Qs0lwgSnWlGooqec60o7SgvFNXXCxEHtmtAwx74FpG21znwLOu4Ccbcl1hICa0sKKfTtV3w==;5:YNiClnk6f1/4eLD95hhHzfxut15bHKHSY8jberbVfgJj9mJhrk8eIMrmzHBmhbwDmWoiJFNPjT7oaE3VjeLifTBtiiKrNo2YKveMNFj9YMf2AQ4gYUezY9D1km1UNTzd3dOZ2Ar2Ya6iL4AmwxGoUqpz9kM4DM1j95eimvgTwnrd7n9yo9eM5371AGCHEb5ArOYYJgMgzvOc9kZJw2Xxtg==;7:OK1kUGNCvpl7h+4rEHHqKVSJlqUEjG/5gXPQ2sAxQ6m1tlOs6L8Dpx/kA+pRxeDJOzH1mIg+Hih6cKcsD8tFrisbKOo8gYWQPxvCtqla5ZpAhChEzwGx7N2W19hjZ+9Il4iDc4fEyjFF/wgptCSMcQ== x-ms-office365-filtering-correlation-id: be632d9b-da0f-4a62-cf45-08d685186c30 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB7PR05MB4250; x-ms-traffictypediagnostic: DB7PR05MB4250: x-microsoft-antispam-prvs: x-forefront-prvs: 0931CB1479 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(396003)(376002)(136003)(39860400002)(366004)(199004)(189003)(54906003)(478600001)(6916009)(36756003)(305945005)(256004)(86362001)(81156014)(8676002)(6506007)(14454004)(486006)(2616005)(1730700003)(68736007)(105586002)(386003)(52116002)(102836004)(2351001)(476003)(106356001)(7736002)(316002)(99286004)(186003)(53936002)(107886003)(25786009)(26005)(4326008)(81166006)(6486002)(6116002)(3846002)(2501003)(8936002)(97736004)(1076003)(6512007)(15650500001)(5640700003)(2906002)(6436002)(71200400001)(66066001)(71190400001)(50226002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR05MB4250;H:DB7PR05MB4940.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: YqTqDdQAaiGi5nL7XgYmge7Gw7j7Afj2Xz8rJyLK9o3vzJTqVAwTSMyngRMHiuIm0DyrOP/ptVGiwW74tHA8Wi7scbPs8e/V41tapBXHYETl3rHXKyOAN4CnYgEU3uphGfpK3Qdosc//ResP9ZJWG9LTHeGE8OO6bE1g6020nyfpe/7FMKdboxuMY7gvAgvFmMQy8DhrWFnOivpLDmxj3Vypn8UHzjSNWdaASgqjVVt6rWiXbUPN5vIXLl+nS6xQAHvsnUbXPBvXazjrn0IwoWUrBImasvT2BNQR4+XMeXU1yyRgy89ordpt0/Zo0pSjUn0aUIRmkq0FZ9viYHQRPcMIZZFp7Qlx9DkwcZxERutwOQgjiv7BlcjQc5iFA+34IVpPBr++ycUGtxP3pjJssbATbD8MYCAFOmwuyDRpNH4= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: be632d9b-da0f-4a62-cf45-08d685186c30 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jan 2019 12:02:05.4607 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4250 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patchset contains miscellaneous patches we gathered in our queue. Some of them are dependencies of larger patchsets that I will submit later this cycle. Patches #1-#3 perform small non-functional changes in mlxsw. Patch #4 adds more extended ack messages in mlxsw. Patch #5 adds devlink parameters documentation for mlxsw. To be extended with more parameters this cycle. Patches #6-#7 perform small changes in forwarding selftests infrastructure. Ido Schimmel (2): mlxsw: spectrum_switchdev: Add more extack messages selftests: forwarding: Use OK instead of PASS in test output Jiri Pirko (5): mlxsw: spectrum_acl: Remove unnecessary arg on action_replace call path mlxsw: spectrum_acl: Move mr_ruleset and mr_rule structs mlxsw: spectrum_acl: Fix rul/rule typo Documentation: add devlink param file for mlxsw driver selftests: net: forwarding: change devlink resource support checking .../networking/devlink-params-mlxsw.txt | 2 ++ .../net/ethernet/mellanox/mlxsw/spectrum.h | 3 +- .../mellanox/mlxsw/spectrum1_acl_tcam.c | 3 +- .../mellanox/mlxsw/spectrum2_acl_tcam.c | 5 +--- .../ethernet/mellanox/mlxsw/spectrum_acl.c | 7 ++--- .../mellanox/mlxsw/spectrum_acl_atcam.c | 2 -- .../mellanox/mlxsw/spectrum_acl_ctcam.c | 1 - .../mellanox/mlxsw/spectrum_acl_tcam.c | 29 +++++++++---------- .../mellanox/mlxsw/spectrum_acl_tcam.h | 5 +--- .../mellanox/mlxsw/spectrum_switchdev.c | 10 +++++-- .../selftests/net/forwarding/devlink_lib.sh | 2 +- tools/testing/selftests/net/forwarding/lib.sh | 2 +- 12 files changed, 32 insertions(+), 39 deletions(-) create mode 100644 Documentation/networking/devlink-params-mlxsw.txt --=20 2.20.1