From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko 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 13:23:49 +0200 Message-ID: <20180614112349.GA2518@nanopsycho.orion> References: <1528974690-31600-1-git-send-email-ilias.apalodimas@linaro.org> <1528974690-31600-5-git-send-email-ilias.apalodimas@linaro.org> 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: Ilias Apalodimas Return-path: Received: from mail-wr0-f194.google.com ([209.85.128.194]:40917 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933214AbeFNLYw (ORCPT ); Thu, 14 Jun 2018 07:24:52 -0400 Received: by mail-wr0-f194.google.com with SMTP id l41-v6so6017552wre.7 for ; Thu, 14 Jun 2018 04:24:51 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1528974690-31600-5-git-send-email-ilias.apalodimas@linaro.org> Sender: netdev-owner@vger.kernel.org List-ID: 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?