Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp488301pxk; Wed, 2 Sep 2020 07:08:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRqdvHtbOFCVbECzidd9ohTcAhIBt2NCZvDidCorPBUJ2Y7Z1JwR9gaJ0boto7ac3fs0GE X-Received: by 2002:a17:906:18a9:: with SMTP id c9mr207341ejf.294.1599055704867; Wed, 02 Sep 2020 07:08:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599055704; cv=none; d=google.com; s=arc-20160816; b=ZZTlnrhr4vyLdrNiXteAr2rv+t0IPv2Kv7pWy7TqQQbsP3WF/oyLfFPtUGCPshGvjA v2HC3q1u3iBYbpTGn8MUYEYWTJaJkSMdl5wkLdCTT91Ma1cO41clS9XBb9/JtjMvNyZe m/tuhr0B5D7R/9gPG3ykV7w0TLNAHlVArfaynMIFKNcORbRYBNoem0YzQYreLLu1RcWM 7NXjqsa3XhiUYS0/UbWWNtSCcPM2WgA5wh6q+K2/7X0YOaXGa7m+XasEpVspd+nsIoul G/12m9b3zNfwJKFz1munGx4LKmS74Rx3SvwGQZWzogNMh3ETEFLug0DVhJA+ca6S7AdT 4mng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:from:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date; bh=MjK8XW1tx3tpAkwCUD/QV5rchOn/p4LWkEFqE6+Jazc=; b=WVqNV1QXwCu/hoYUBVU6aKoxu+/VC5EHtYcY7QO1aMWeN/4Q7rUVU2x+Ds0RWznVm6 B2i5MpzS1IbYeezc0n8WKQKtDge02a5RnS1R4hJs4HwiNJb5A6aquyme/JXg8a28PPg5 /uaA31IPxE1Y+0tjhFkjBtmNh0x/83m8qQJNAJ1jCk5vSypLczpP0+pAz8saJTAkBHSW 4PV9HfX4Zs48MU0P3SZV8lSfmVMyr+bczXWMtS7ZD828DwXcJOrD+RyHs/LK2tIzX6qo sqiV+ft/WkNIFbBMg/wvBplChLpG7WKUgJNK8m2302aMnCZOCcNuBTWYhS61TlKkDgUa NOLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=csclub.uwaterloo.ca Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s3si2560825ejv.383.2020.09.02.07.08.01; Wed, 02 Sep 2020 07:08:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=csclub.uwaterloo.ca Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727851AbgIBODT (ORCPT + 99 others); Wed, 2 Sep 2020 10:03:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726979AbgIBNrr (ORCPT ); Wed, 2 Sep 2020 09:47:47 -0400 Received: from caffeine.csclub.uwaterloo.ca (caffeine.csclub.uwaterloo.ca [IPv6:2620:101:f000:4901:c5c:0:caff:e12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AFF7C061245; Wed, 2 Sep 2020 06:47:42 -0700 (PDT) Received: by caffeine.csclub.uwaterloo.ca (Postfix, from userid 20367) id E12B2460FF9; Wed, 2 Sep 2020 09:47:34 -0400 (EDT) Date: Wed, 2 Sep 2020 09:47:34 -0400 To: Jesse Brandeburg Cc: Linux Kernel Mailing List , netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org Subject: Re: [Intel-wired-lan] VRRP not working on i40e X722 S2600WFT Message-ID: <20200902134734.fvtyn5tbhpyssrbq@csclub.uwaterloo.ca> References: <20200827183039.hrfnb63cxq3pmv4z@csclub.uwaterloo.ca> <20200828155616.3sd2ivrml2gpcvod@csclub.uwaterloo.ca> <20200831103512.00001fab@intel.com> <20200901013519.rfmavd4763gdzw4r@csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200901013519.rfmavd4763gdzw4r@csclub.uwaterloo.ca> User-Agent: NeoMutt/20170113 (1.7.2) From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 31, 2020 at 09:35:19PM -0400, wrote: > On Mon, Aug 31, 2020 at 10:35:12AM -0700, Jesse Brandeburg wrote: > > Thanks for the report Lennart, I understand your frustration, as this > > should probably work without user configuration. > > > > However, please give this command a try: > > ethtool --set-priv-flags ethX disable-source-pruning on > > Hmm, our 4.9 kernel is just a touch too old to support that. And yes > that really should not require a flag to be set, given the card has no > reason to ever do that pruning. There is no justification you could > have for doing it in the first place. So backporting the patch that enabled that flag does allow it to work. Of course there isn't a particularly good place to put an ethtool command in the boot up to make sure it runs before vrrp is started. This has to be the default. I know I wasted about a week trying things to get this to work, and clearly lots of other people have wasted a ton of time on this "feature" too (calling it a feature is clearly wrong, it is a bug). By default the NIC should work as expected. Any weird questionable optimizations have to be turned on by the user explicitly when they understand the consequences. I can't find any use case documented anywhere for this bug, I can only find things it has broken (like apparently arp monitoring on bonding, and vrrp). So who should make the patch to change this to be the default? Clearly the current behaviour is harming and confusing more people than could possibly be impacted by changing the current default setting for the flag (in fact I would just about be willing to bet there are no people that want the current behaviour. After all no other NIC does this, so clearly there is no need for it to be done). -- Len Sorensen