Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp953565ima; Wed, 6 Feb 2019 11:05:35 -0800 (PST) X-Google-Smtp-Source: AHgI3IZqvG+wfTOOZeAAGnKS9LtpxvjCGOIbHjVZCPaY8daMuoCjki05BD5xcAKoCOGafESw81RK X-Received: by 2002:a17:902:1aa:: with SMTP id b39mr9161342plb.244.1549479935161; Wed, 06 Feb 2019 11:05:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549479935; cv=none; d=google.com; s=arc-20160816; b=Nt049HHHvmtGghRGtPA+hcquCirG1EYfodVq0ZN7ZwtSIvECfvEUR5v3zN61KMEgrL mtzg23SyVzxWKxLy4W0VPZ3ixO02lIcGkkRHw8por69zEZgf3jMIGS7H22rcJvSTSzcS 9okyiVAvfGSJonXkKy2v/3Kf/Q/KF+Oc2Snlx2DM2AUZktPbx4O05RX+C83T6f/SjB5S oQRr9kxl1DB+46kKkE3sLx3b4dFc6U0aiPJYdfZFSyvhFlEggfE1NbLdL3qol44Bvsta A2zjKqEiUFD9uiqugmlv8QYkIL3mVwcYjvoVRLx5Xvq6JqS7ALsiJ+XatwqQaaI3QFVz Sotw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=Ua9OYuKaqBv59B7FaQeIa2i2qm/guFe03LFjWKpL8uw=; b=oWQWbdPzi7x1+hs20GEnaozhWBKfJt06EWtcStuMwFpLK7vWIO/mACzFiIrcrEIHkv GawmPHTkACDQIkfef9um6hzPK6eG6l+rsQrJuGxla7ZSA3QSM7kinwrNKo3Cx1u4L0W0 5DqFUP+2WiGiRKDd1VsE3EOi2ODBwaWhW0owpItXUr7WXcfOlluJSrEXDP0TIZ+15p7B pT5mBCt/rDCTjLmW0jq4r3Fp3z/x25LyFV9Z436v4jiStxNgi6KBCiuL5Alg8fawdMNF R46ysNADdX9fhvDL7VrHk3XlJrCQVWD4XCfPkCtONKaQBW2bIEUpMenjwcDtLJRfsZpA /tWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=mDqFTmDN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e93si4148726plk.56.2019.02.06.11.05.18; Wed, 06 Feb 2019 11:05:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=mDqFTmDN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726750AbfBFTEp (ORCPT + 99 others); Wed, 6 Feb 2019 14:04:45 -0500 Received: from mail-eopbgr150041.outbound.protection.outlook.com ([40.107.15.41]:26616 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725959AbfBFTEp (ORCPT ); Wed, 6 Feb 2019 14:04:45 -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=Ua9OYuKaqBv59B7FaQeIa2i2qm/guFe03LFjWKpL8uw=; b=mDqFTmDNJ3DF4qluHHR5EGjceaRUHkq5BXKERDKTpuLPMtza422AbuGm+kkyqbi3aECv2toQxWSp3WuuJhQTj7TYKfJWuCNuOg4V8h/ndY0U7GVHqqtnyJg6209TS1X6YTWzKo3Eode3pT3JQVHdvRz/mCAscnxHFBcxQlRQRUM= Received: from AM6PR05MB5240.eurprd05.prod.outlook.com (20.177.196.214) by AM6PR05MB5016.eurprd05.prod.outlook.com (20.177.36.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.19; Wed, 6 Feb 2019 19:04:41 +0000 Received: from AM6PR05MB5240.eurprd05.prod.outlook.com ([fe80::3542:889c:3a85:3866]) by AM6PR05MB5240.eurprd05.prod.outlook.com ([fe80::3542:889c:3a85:3866%5]) with mapi id 15.20.1601.016; Wed, 6 Feb 2019 19:04:41 +0000 From: Ido Schimmel To: Florian Fainelli CC: "netdev@vger.kernel.org" , "David S. Miller" , open list , "open list:MELLANOX MLX5 core VPI driver" , "open list:NETRONOME ETHERNET DRIVERS" , "open list:STAGING SUBSYSTEM" , "moderated list:ETHERNET BRIDGE" Subject: Re: [PATCH net-next v4 05/12] mlxsw: Implement ndo_get_port_parent_id() Thread-Topic: [PATCH net-next v4 05/12] mlxsw: Implement ndo_get_port_parent_id() Thread-Index: AQHUvkPcubgaoLXsz0uPXoY60kyO4qXTIRAA Date: Wed, 6 Feb 2019 19:04:41 +0000 Message-ID: <20190206190434.GA14340@splinter> References: <20190206174546.23597-1-f.fainelli@gmail.com> <20190206174546.23597-6-f.fainelli@gmail.com> In-Reply-To: <20190206174546.23597-6-f.fainelli@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5P189CA0013.EURP189.PROD.OUTLOOK.COM (2603:10a6:206:15::26) To AM6PR05MB5240.eurprd05.prod.outlook.com (2603:10a6:20b:64::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=idosch@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [37.142.229.58] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM6PR05MB5016;6:Agb4loeOqFz2BNCRRZk6S9Rja7LcbTfnU4OgbeKGlDgsXCch80Z7Fy87Yowih3FeKVUuVKOd9qII4Iq8ghdvXBdSiARJxmsTSwG8U6KeKM743r5o85Q+c0sfDrk+axrLvXASqT88Emn18RFpAiqNhRgdJoSLpX/QfcLi9G48CnlJFNyBEWjdnGRvGm6YYdBX7NAt7d/escEnj5eyo34tRRLPmcGMDRMoPakfUDU/6fyXtOhFbMztERaVFfeGsJBVEV4QckgmbTfGsqhCMzJbwmsdWUQaNzLF5SeX1Fy/sEFQxYitvTtrLs6GSPjLrm5zYLWPqL0qPHAHFT1FV5tAqEc9m9R+ZIk4M6MjcP5U3jxRmTmhA8f7u/l1nd3xsaRWW/uI0IlsZ8EUoGUmJBXrMUXpg/M+P9alffY3g++1D7aBmIMqB40JQpmwM2zBN8zwnkLp1KNa8bDghBGGxtXF8g==;5:TyhRn0IwRRGKYc/64R9tB2ZOANVLxeBZBDLiq/Vk6aLSklOWLUHvvET5BmBC06HIYcqCTbOOZJKQoEKTsz+USqdju6hv3/etR6oRNe1JLvar89qz2yb0RPdCTZeCHpM6aPYMJDwZtM9yw+V+nq2clXt/nBhHK+nEF2POqkk9hTHu2gznYltJ1bYq5hAR4cAmB3aBK6K7aCuxSe+pvYB1Jg==;7:xSOoXC+IX7Qf9qXA1KG/Cxd8cCICDXo7WlGKrOaBLpwXS43tXi4w0peD5s9VHeu4/Uc3XMGRQPGZEFt+6ZPXSgHcUdn1Um//yslZxcqzgDDeKQn7FJC1n8W9qy85/PqzYVslMSA1XWnV4bGtgSB/dQ== x-ms-office365-filtering-correlation-id: ea04d3f4-fe11-4982-ad16-08d68c65f25f 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:AM6PR05MB5016; x-ms-traffictypediagnostic: AM6PR05MB5016: x-microsoft-antispam-prvs: x-forefront-prvs: 0940A19703 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(7916004)(136003)(366004)(396003)(346002)(376002)(39860400002)(189003)(199004)(7736002)(66066001)(8676002)(6436002)(478600001)(86362001)(105586002)(6512007)(9686003)(486006)(4326008)(446003)(386003)(476003)(6916009)(1076003)(52116002)(6506007)(4744005)(53936002)(81156014)(81166006)(33656002)(106356001)(316002)(6246003)(33716001)(102836004)(229853002)(6116002)(256004)(54906003)(305945005)(71190400001)(71200400001)(26005)(3846002)(25786009)(97736004)(76176011)(14454004)(68736007)(8936002)(33896004)(11346002)(2906002)(99286004)(6486002)(186003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR05MB5016;H:AM6PR05MB5240.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: 8VnsC8H3ZFD133t4qx/7P9bqhyGgXLpzwNmhtz74lgIDRjxYsxyLpgXidTwbf2AX5nH+Nh92/sc4PWmPWCxvJPhI/1UfZN2geC50AeHEghW/NqwQM+FMG18xcptuLAPDvT6iATqK5BpAyG15FGR+li9TXYX7MR4CuT+5d9uhddCN4MW7/H0xI3CpQdkabQo1l+bKjpp06//BPn2DFzooedxoe1fIh+a7L5OKwTOFNIpKwqcjUaCHDmrE/9t5lyzbSgyW5GvZBpnRWZY6dlnPdKaReAYdv3+uMZcfRKOp6Xd9P0gxbKzAdH69s+3+AJz/Z9GpjFfhcqwsdoWur7h++3J+dbzzHGk+gDepuxHQ5Fw8pdz//HF6++GWHxvmi22emeGUzqKS+C2N+9sF5d8JshVOFT/9N6XXXyIho0srdQE= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea04d3f4-fe11-4982-ad16-08d68c65f25f X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Feb 2019 19:04:40.3084 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB5016 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 06, 2019 at 09:45:39AM -0800, Florian Fainelli wrote: > mlxsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid > of switchdev_ops eventually, ease that migration by implementing a > ndo_get_port_parent_id() function which returns what > switchdev_port_attr_get() would do. >=20 > Acked-by: Jiri Pirko > Signed-off-by: Florian Fainelli Reviewed-by: Ido Schimmel