From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [PATCH net-next v3 04/12] net/mlx5e: Implement ndo_get_port_parent_id() Date: Wed, 6 Feb 2019 14:12:00 +0100 Message-ID: <20190206131200.GE2189@nanopsycho> References: <20190205235326.14600-1-f.fainelli@gmail.com> <20190205235326.14600-5-f.fainelli@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190205235326.14600-5-f.fainelli@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Florian Fainelli Cc: netdev@vger.kernel.org, "David S. Miller" , Ido Schimmel , open list , "open list:MELLANOX MLX5 core VPI driver" , "open list:NETRONOME ETHERNET DRIVERS" , "open list:STAGING SUBSYSTEM" , "moderated list:ETHERNET BRIDGE" List-Id: linux-rdma@vger.kernel.org Wed, Feb 06, 2019 at 12:53:18AM CET, f.fainelli@gmail.com wrote: >mlx5e only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a >great candidate to be converted to use the ndo_get_port_parent_id() NDO >instead of implementing switchdev_port_attr_get(). > >Since mlx5e makes use of switchdev_port_parent_id() convert it to use >netdev_port_same_parent_id(). > >Signed-off-by: Florian Fainelli Acked-by: Jiri Pirko