From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933986AbbJHPHt (ORCPT ); Thu, 8 Oct 2015 11:07:49 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:41432 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933597AbbJHPHr (ORCPT ); Thu, 8 Oct 2015 11:07:47 -0400 Date: Thu, 8 Oct 2015 17:07:41 +0200 From: Andrew Lunn To: Vivien Didelot Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Scott Feldman , Jiri Pirko , Florian Fainelli , Neil Armstrong , Sergei Shtylyov Subject: Re: [PATCH net-next 4/6] net: dsa: add port_fdb_prepare Message-ID: <20151008150741.GS17952@lunn.ch> References: <1444261711-1829-1-git-send-email-vivien.didelot@savoirfairelinux.com> <1444261711-1829-5-git-send-email-vivien.didelot@savoirfairelinux.com> <20151008002543.GB31267@lunn.ch> <20151008125524.GA1275@ketchup.mtl.sfl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151008125524.GA1275@ketchup.mtl.sfl> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Hi Vivien > > > > Bike shedding a bit, but i would call this > > mv88e6xxx_port_fdb_prepare_add. > > I think port_fdb_prepare is fine because it is the only step that > actually needs the 2-phase model. del and dump are safe and don't need > pre-check. O.K. I don't have a strong opinion, i just think sometime later we might run into a naming consistency issue. If this does happen, we can fix it then. Andrew