From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilias Apalodimas Subject: Re: [RFC v2, net-next, PATCH 4/4] net/cpsw_switchdev: add switchdev mode of operation on cpsw driver Date: Thu, 14 Jun 2018 14:32:36 +0300 Message-ID: <20180614113236.GA32505@apalos> References: <1528974690-31600-1-git-send-email-ilias.apalodimas@linaro.org> <1528974690-31600-5-git-send-email-ilias.apalodimas@linaro.org> <20180614112349.GA2518@nanopsycho.orion> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, grygorii.strashko@ti.com, ivan.khoronzhuk@linaro.org, nsekhar@ti.com, ivecera@redhat.com, andrew@lunn.ch, f.fainelli@gmail.com, francois.ozog@linaro.org, yogeshs@ti.com, spatton@ti.com, Jose.Abreu@synopsys.com To: Jiri Pirko Return-path: Received: from mail-wr0-f195.google.com ([209.85.128.195]:41876 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754810AbeFNLcl (ORCPT ); Thu, 14 Jun 2018 07:32:41 -0400 Received: by mail-wr0-f195.google.com with SMTP id h10-v6so6022434wrq.8 for ; Thu, 14 Jun 2018 04:32:40 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20180614112349.GA2518@nanopsycho.orion> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Jun 14, 2018 at 01:23:49PM +0200, Jiri Pirko wrote: > Thu, Jun 14, 2018 at 01:11:30PM CEST, ilias.apalodimas@linaro.org wrote: > >This patch enables switchdev funtionality on the driver based on a > >.config option(CONFIG_TI_CPSW_SWITCHDEV). CPSW driver used a DTS option > >called dual_emac to enable switch or dual emac mode. The new config option > >will override this configuration. > > > >It creates 2 ports, eth0 and eth1(that can be renamed to sw0p1 and sw0p2 > >via udev rules). > > Actually the current udev should rename the netdevs by default, > according the phys_port_name. Could you check? I will if i manage to compile udev properly for this board