From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [RFC PATCH net-next 02/12] selftests: forwarding: Add a test for FDB learning Date: Mon, 15 Jan 2018 20:41:46 +0100 Message-ID: <20180115194146.GA31030@lunn.ch> References: <20180115191853.26129-1-idosch@mellanox.com> <20180115191853.26129-3-idosch@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, davem@davemloft.net, shuah@kernel.org, dsahern@gmail.com, nikolay@cumulusnetworks.com, roopa@cumulusnetworks.com, andy@greyhouse.net, jiri@mellanox.com, mlxsw@mellanox.com, saeedm@mellanox.com, tariqt@mellanox.com, jhs@mojatatu.com, lucasb@mojatatu.com, f.fainelli@gmail.com, vivien.didelot@savoirfairelinux.com, jakub.kicinski@netronome.com, simon.horman@netronome.com To: Ido Schimmel Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:49086 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750737AbeAOTlu (ORCPT ); Mon, 15 Jan 2018 14:41:50 -0500 Content-Disposition: inline In-Reply-To: <20180115191853.26129-3-idosch@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Jan 15, 2018 at 09:18:43PM +0200, Ido Schimmel wrote: > Send a packet with a specific destination MAC, make sure it was learned > on the ingress port and then aged-out. Hi Ido It would be interesting to show the hardware actually uses the FDB, not just learns it. Send some packets back, and ensure they go out the intended port. Also, check they don't go out a third port, i.e. make sure the hardware is not flooding. Once it has aged-out, then test is is flooding out all ports. Andrew