Message ID | 20190118155719.14827-5-idosch@mellanox.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
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=mellanox.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=Mellanox.com header.i=@Mellanox.com header.b="vibRdqWc"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43h5G237Sgz9sBQ for <patchwork-incoming-netdev@ozlabs.org>; Sat, 19 Jan 2019 02:58:34 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728002AbfARP6d (ORCPT <rfc822;patchwork-incoming-netdev@ozlabs.org>); Fri, 18 Jan 2019 10:58:33 -0500 Received: from mail-eopbgr140054.outbound.protection.outlook.com ([40.107.14.54]:20406 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727674AbfARP6c (ORCPT <rfc822;netdev@vger.kernel.org>); Fri, 18 Jan 2019 10:58:32 -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=WiZGfCXQBVKstj3zu3WE8wHYpMA+8rwDEHOVsPM6fcQ=; b=vibRdqWcBxFofkwjL0vR7eR4MO/DAcWmvHWcskLiQecm2cLs2ZdO4mhBEuM+Cn/xdsFFxTsitXqIYK70RTx0N/twrUjlKPLCsNCLArCL3/cVSCNR/2/06LHfOi/ZebspfaX+MTdVo9zWufcoSNy6N5XqCGf2Va+tyaD9nkFbglU= Received: from AM6PR05MB6056.eurprd05.prod.outlook.com (20.179.2.148) by AM6PR05MB6424.eurprd05.prod.outlook.com (20.179.6.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1537.26; Fri, 18 Jan 2019 15:57:59 +0000 Received: from AM6PR05MB6056.eurprd05.prod.outlook.com ([fe80::5490:e4ea:7798:e65f]) by AM6PR05MB6056.eurprd05.prod.outlook.com ([fe80::5490:e4ea:7798:e65f%3]) with mapi id 15.20.1516.019; Fri, 18 Jan 2019 15:57:59 +0000 From: Ido Schimmel <idosch@mellanox.com> To: "netdev@vger.kernel.org" <netdev@vger.kernel.org> CC: "davem@davemloft.net" <davem@davemloft.net>, Jiri Pirko <jiri@mellanox.com>, mlxsw <mlxsw@mellanox.com>, Alexander Petrovskiy <alexpe@mellanox.com>, Nir Dotan <nird@mellanox.com>, Ido Schimmel <idosch@mellanox.com> Subject: [PATCH net 4/8] mlxsw: spectrum_fid: Update dummy FID index Thread-Topic: [PATCH net 4/8] mlxsw: spectrum_fid: Update dummy FID index Thread-Index: AQHUr0aVgF7WnLUYvkiVLkatIStwbQ== Date: Fri, 18 Jan 2019 15:57:59 +0000 Message-ID: <20190118155719.14827-5-idosch@mellanox.com> References: <20190118155719.14827-1-idosch@mellanox.com> In-Reply-To: <20190118155719.14827-1-idosch@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P193CA0032.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:3e::45) To AM6PR05MB6056.eurprd05.prod.outlook.com (2603:10a6:20b:ab::20) 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: [79.183.38.137] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR05MB6424; 6:pEIeGaRuvb2kMp8M6I6K9adF98NygyYeqU/gF0OR7x9iUyAAxp1744Xedc7No0bypcWmsPfTSvWdnwcaYgd3xixvjJbJ01qARI4PBns05zIHOa30sbFfbtjAeQE3tishxryo0oz/IL5rwbPn1tj3hA/0W0TBxww3wJgRjHaeMN3GqH5GRYEtdh8MCE5uP0LoVPMr8loKAM1AepjltRrR8ITnq2gklMXVJjv0xhAufcioHExqdbszG+2v+C5kYAJwMM1Dpt2TB2PWaZfSeWFL2bWg9u+0tXwWwvZ7Pgx4zA+G+AYj/zbbikWhnWBCQSEAQbg8ABK8Lqs/NWIPm4qbDSEADI3ycSm0yTJiqWZ5PZoemxu7bkhcrHNaAQIcFL+wm9KnVZQqhgA/wfp46fUOgc8l7my5849jzDuP3iuST+xj/GNMpNK2wffcqdcGsIi8glSoMr/McV6lpNvgZMkZ4A==; 5:pAd6n9QUuXk2cqZiBHPHqGfwCs0mXKClP9W3rSvpSkAajMFANrdjGX2B1l5y9OSFqCaIOH9NsRrl+LXpMAa1PZlcISfVYmOZo4lU9MOR760LI63MchrcS4YTwtBZAiQGNGSpbmHqOFG0Zh4pmZiQna12T8peZwcuKtHKF054arjgHsUDc7ctOhkxltWry8dDHTn+AKRd1V8l2RLGl7hJ1w==; 7:/TRmn2V7PueonpguwEQTPFgg0pUdYSbAOQc9mwAO5zuWTIKMuaMvDTPgCySR+vzmlj5l3PTROScVSQoOTvY7Y8UQ2mCcC6EuPolrcsu2UHOJc69zU0uHFOhAjqzXVRNALpkE4bxzbuZ/JKR8Falamw== x-ms-office365-filtering-correlation-id: c6a0315b-fae0-4142-296a-08d67d5db7b3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR05MB6424; x-ms-traffictypediagnostic: AM6PR05MB6424: x-microsoft-antispam-prvs: <AM6PR05MB6424C6E2624E7DB258CB974DBF9C0@AM6PR05MB6424.eurprd05.prod.outlook.com> x-forefront-prvs: 0921D55E4F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(136003)(346002)(39860400002)(189003)(199004)(81166006)(11346002)(256004)(86362001)(54906003)(106356001)(316002)(2616005)(5640700003)(105586002)(71190400001)(476003)(97736004)(71200400001)(486006)(99286004)(6436002)(446003)(2906002)(6486002)(14454004)(25786009)(2501003)(305945005)(7736002)(8936002)(26005)(5660300001)(1730700003)(81156014)(386003)(186003)(50226002)(102836004)(36756003)(8676002)(478600001)(4326008)(66066001)(6512007)(1076003)(53936002)(6506007)(2351001)(6916009)(6116002)(3846002)(76176011)(52116002)(68736007)(107886003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR05MB6424; H:AM6PR05MB6056.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: KTg8fW6yJ3JM4Hz+tb3MhGz2+b9Y/f2Cu0F1I/eqq13cdDL0Ga7y4TjAesN114AC+gtyBqDOqnf2xRavfb1fooz5xUjVgEkZyIf1kXVPsP481PgFgnYpiY0NKBa1Cru2GNsyvpTo1WMYuBO5ONkdi4iscdTit4H3nXuyz/gFFN450zBIxXPRg0zll8zbrzhfK97CDfrxZVdaXd0/nH0gNMLtALoftBdWYNvxhBlywKe1LRr1Yh1Fs0HUIHs4Cl8hia0ZkYJX96T+8ePOHdsbxuna7tcr09+zf/aYmlJg31kWjAevhiBUqi5ufxSJda5s9UTJR45khsR/z8IWsiHZRd95VJDTgr9wdv8gmfoV/EZL7pzsdz3j5n1Zav6ugyvta9Iw86k7C0StkhH+KLtN6nhDDCxM14bGEs47r/iiwfU= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: c6a0315b-fae0-4142-296a-08d67d5db7b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2019 15:57:58.0391 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB6424 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
mlxsw: Various fixes
|
expand
|
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c index 055cc6943b34..9d9aa28684af 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c @@ -997,8 +997,8 @@ static const struct mlxsw_sp_fid_ops mlxsw_sp_fid_dummy_ops = { static const struct mlxsw_sp_fid_family mlxsw_sp_fid_dummy_family = { .type = MLXSW_SP_FID_TYPE_DUMMY, .fid_size = sizeof(struct mlxsw_sp_fid), - .start_index = MLXSW_SP_RFID_BASE - 1, - .end_index = MLXSW_SP_RFID_BASE - 1, + .start_index = VLAN_N_VID - 1, + .end_index = VLAN_N_VID - 1, .ops = &mlxsw_sp_fid_dummy_ops, };