From: David Ahern Subject: Re: [RFC v4 3/5] vxlan: add support for underlay in non-default VRF Date: Mon, 26 Nov 2018 17:46:04 -0700 Message-ID: References: <20181122010713.3995-1-abauvin@scaleway.com> <20181122010713.3995-4-abauvin@scaleway.com> <570aef1e-2d72-9248-05c9-2187bddcabb0@cumulusnetworks.com> <193C143B-796E-4D93-8CC9-CA4E94D2F6B1@scaleway.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: netdev@vger.kernel.org, akherbouche@scaleway.com To: Alexis Bauvin , roopa@cumulusnetworks.com Return-path: Received: from mail-pg1-f173.google.com ([209.85.215.173]:38121 "EHLO mail-pg1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727445AbeK0LmI (ORCPT ); Tue, 27 Nov 2018 06:42:08 -0500 Received: by mail-pg1-f173.google.com with SMTP id g189so6990324pgc.5 for ; Mon, 26 Nov 2018 16:46:07 -0800 (PST) In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 11/26/18 5:41 PM, Alexis Bauvin wrote: > Le 26 nov. 2018 à 18:54, David Ahern a écrit : >> On 11/26/18 9:32 AM, Alexis Bauvin wrote: >>> Thanks for the review. I’ll send a v5 if you have no other comment on >>> this version! >> >> A few comments on the test script; see attached which has the changes. >> >> Mainly the cleanup does not need to be called at the end since you setup >> the exit trap. The cleanup calls ip to delete veth-hv-1 and veth-tap but >> those are moved to other namespaces. > > This was on purpose to be sure to cleanup the interfaces in case the > script crashes for some reason and left interfaces outside of the > namespace. ok. >> It would be good to copy the topology ascii art into the test script as >> well for future users. > > Will include this: Thanks for adding. > >> Also, add the test as a separate patch at the end and include it in >> tools/testing/selftests/net/Makefile > > Regarding the discussion on patch 5, it should be better to send it first > after patch 3, and remove the down/up from it after current patch 5, > right? Typically the test case is added at the end verifying the end goal of the patch set as opposed to being part of a patch (3 in your case) and then amended by a later patch.