Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1250783ybm; Tue, 21 May 2019 10:56:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKdVWA1iwAy2rLpZnyIyNiSdMS56PCTa8whVOHDN/eaQZQoT0oMhlfL1S228EtmjHBsj1K X-Received: by 2002:a17:902:d715:: with SMTP id w21mr68998383ply.234.1558461385482; Tue, 21 May 2019 10:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558461385; cv=none; d=google.com; s=arc-20160816; b=TAFVjXisHXv/UqapvuuMkZ7IJ7FTd0gEEvzWgubpdfjEL0Jd0+kIEgDb4stt02cPhg WBjsDiKJWYHUkpzYFBWirEDlgf+DVWBQE1pmMrDTJXyQlgUm2makrsXnERVulEcFhGxh JMDjnZV7W1kNQsVpknzZCPxiRCIPua/MpwGwIDjbUUna3qqq5poIrnIKoopEcaEfUkeo PFFXVCHLGY1U0uMHip7695tdS3bObHYVkomu2Adaz6wEbc6Xq+c1HVDaOLtZQZSh+4ks gR6Z5IPXQzvq/ho0B5uh5DWBRf9uWzkDJwjq0YSxRjRXQLjeZ7LXlbQp97Ubl6nHTZrr sKKQ== 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=WzoN2yglBzmvxXcACF+PGr019TKMNHRCWRNqQ89XYB8=; b=qScCRUNn8mqa+euEKwtaJJoy1w6Uo6bXUjXuHrYlC+PgIzelXJxlGrhPtoItvyIDV3 X17eO2r7m2ZcB/zvLn+l+AojxqJSfV7eOSpQke5mC9nXoYvH3CjqZlgs33BclbC2MnHT cOIjY8AL8qSqjNqQ0Rwbs7/nQQgWMV2tYsUQ2+VHZx/a/cbaVrTz9iwW9FTKO11QVyuo L2O9K9Ylmkp7Mn9CCVDD05qp0b9Fkhia9FxK9EO1rVIg+j+efKckqr9a72eiKEIfp28T TxkNza8FZ3WqYPcp51NZG9G5DmCEdmpqT1OJmQCDNjnrOtlIoYaKPl0oUMd4nxuIszSX eqbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id t136si24259066pfc.144.2019.05.21.10.56.10; Tue, 21 May 2019 10:56:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729170AbfEURy7 (ORCPT + 99 others); Tue, 21 May 2019 13:54:59 -0400 Received: from caffeine.csclub.uwaterloo.ca ([129.97.134.17]:38971 "EHLO caffeine.csclub.uwaterloo.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729098AbfEURy6 (ORCPT ); Tue, 21 May 2019 13:54:58 -0400 Received: by caffeine.csclub.uwaterloo.ca (Postfix, from userid 20367) id DDF5F460279; Tue, 21 May 2019 13:54:56 -0400 (EDT) Date: Tue, 21 May 2019 13:54:56 -0400 To: Alexander Duyck Cc: Jeff Kirsher , LKML , Netdev , intel-wired-lan Subject: Re: [Intel-wired-lan] i40e X722 RSS problem with NAT-Traversal IPsec packets Message-ID: <20190521175456.zlkiiov5hry2l4q2@csclub.uwaterloo.ca> References: <20190514163443.glfjva3ofqcy7lbg@csclub.uwaterloo.ca> <20190516183407.qswotwyjwtjqfdqm@csclub.uwaterloo.ca> <20190516183705.e4zflbli7oujlbek@csclub.uwaterloo.ca> <20190517172317.amopafirjfizlgej@csclub.uwaterloo.ca> <20190521151537.xga4aiq3gjtiif4j@csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue, May 21, 2019 at 09:51:33AM -0700, Alexander Duyck wrote: > I think we need to narrow this down a bit more. Let's try forcing the > lookup table all to one value and see if traffic is still going to > queue 0. > > Specifically what we need to is run the following command to try and > force all RSS traffic to queue 8, you can verify the result with > "ethtool -x": > ethtool -X weight 0 0 0 0 0 0 0 0 1 > > If that works and the IPSec traffic goes to queue 8 then we are likely > looking at some sort of input issue, either in the parsing or the > population of things like the input mask that we can then debug > further. > > If traffic still goes to queue 0 then that tells us the output of the > RSS hash and lookup table are being ignored, this would imply either > some other filter is rerouting the traffic or is directing us to limit > the queue index to 0 bits. # ethtool -x eth2 RX flow hash indirection table for eth2 with 12 RX ring(s): 0: 7 7 7 7 7 7 7 7 8: 7 7 7 7 7 7 7 7 16: 7 7 7 7 7 7 7 7 24: 7 7 7 7 7 7 7 7 32: 7 7 7 7 7 7 7 7 ... 472: 7 7 7 7 7 7 7 7 480: 7 7 7 7 7 7 7 7 488: 7 7 7 7 7 7 7 7 496: 7 7 7 7 7 7 7 7 504: 7 7 7 7 7 7 7 7 RSS hash key: 0b:1f:ae:ed:60:04:7d:e5:8a:2b:43:3f:1d:ee:6c:99:89:29:94:b0:25:db:c7:4b:fa:da:4d:3f:e8:cc:bc:00:ad:32:01:d6:1c:30:3f:f8:79:3e:f4:48:04:1f:51:d2:5a:39:f0:90 root@ECA:~# ethtool --show-priv-flags eth2 Private flags for eth2: MFP : off LinkPolling : off flow-director-atr: off veb-stats : off hw-atr-eviction : on legacy-rx : off All ipsec packets are still hitting queue 0. Seems it is completely ignoring RSS for these packets. That is impressively weird. -- Len Sorensen