Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp918673rdb; Tue, 30 Jan 2024 02:36:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPQurrRnrw6KnLhU3axGekUfAJuiy1S21UFV51Q/ca1kz4ys7Z26oroLmwNBn+zPZiP/zk X-Received: by 2002:a17:90a:b94a:b0:290:2cf6:9772 with SMTP id f10-20020a17090ab94a00b002902cf69772mr3945112pjw.2.1706610967543; Tue, 30 Jan 2024 02:36:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706610967; cv=pass; d=google.com; s=arc-20160816; b=vUJRrEicrjICZdXDU3kr6Ij37w6VpaSOeKtxQyHeoqWdE0BM/noPZoIGz1/1x0iy83 KaYrW/C4yvpmw9lb330gqtgR6MRLMKwEMRLxaUNDb86cIjQv+nJ2ZtR5yqyK67I0KyYH 4exNPHRl47kullsi9EwMpYqAMmhDovilqLt3N0Xzot4RU/LkLi1VCkMRRvDvyjQGBqWH W+UK0G64No6S6A0dOyI3+yhyZZc6+tClVdokpplRL8xMHShVVyGVbvzewXCfs+H5AXL8 qt5z0sFtZma5qUZYCJe0Hngsvyhor8/m8a8xOZMGSMBJZjLm6OzkDEMDfOWJjuUGdntf 5J0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=lmOeyMwWYgVH9cF8GPIvshL3MIJRZ/YHOwbCDZdOR50=; fh=hsf6ejPlWWHjQKEaPfJ+PiI7pWC78dJOLiTxvO6rUfI=; b=wYEKBA1cKGbAc4LVMxFTQcObpxGUZ8jSZinjdaT4AlVJmvNM9G41GmeJfc19pc+IYb FO84+rT/E5go8lqe75uXI5U7POWUpkORrimy+kBJFRTOUxARoHqHHJbsrSM+iloKylq7 rwUqIqC4K+fcd965CuX90JFJ0JEAml4QLwAyfOTjraQyp97J553gJ4Ej/b9qJvtezeqm yci5LzyfgsMsLA/4phTERRjoqFiNqLm4IRRUK2JiPCLCkKf5M+H5dNARJfytw7Yr3ejZ YCh9fGJEDDLOqad/EttkmB/n87Y/5gDenY2o2u4Qjah7GgKCt5S7yMA8vgtiJM26yzFX UIUw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cfne4MM+; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-44359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l15-20020a17090a598f00b00294841b5d0bsi6555995pji.135.2024.01.30.02.36.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 02:36:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cfne4MM+; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-44359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5423BB282AD for ; Tue, 30 Jan 2024 10:11:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 952F460B8F; Tue, 30 Jan 2024 10:11:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cfne4MM+" Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5212E605B1; Tue, 30 Jan 2024 10:11:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706609499; cv=none; b=j0cnNUd3noPqF0geQ8edyaCMFWRVuDY/bkJ4qCZoZc+/gY6GCrCa43u6/4yiW1CeBQCS3+dQjgi7JT16BKkyAqHZycj4o4MZ+NdB9u+8jgnUE5CdNQaUnHGI4uccFnnYwZZFVoyNhqXDLKQoJvdAAQSykmgyyeTeDSUYMORtviM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706609499; c=relaxed/simple; bh=lmOeyMwWYgVH9cF8GPIvshL3MIJRZ/YHOwbCDZdOR50=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=RQ7enoLGZIaBozYThipx8GP604w5cEU7iq9JmU259HeJvSoWUEOvQwRWW5YtMWhiKFB9tWHGz9rIs6IfK4iNScYAIZ7ww3ax4mvmtgAPDzDxtwc5Plz74dZlMHxTFKZsoSgCpCHtGCYP7T54JCRSOfasrfHOhZ9NRfzPiifoM7k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cfne4MM+; arc=none smtp.client-ip=209.85.219.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-dbed0710c74so3896562276.1; Tue, 30 Jan 2024 02:11:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706609497; x=1707214297; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lmOeyMwWYgVH9cF8GPIvshL3MIJRZ/YHOwbCDZdOR50=; b=cfne4MM+gEwiBpnK+Oyx5nisbmWmrfMRXUTm4stwzNrOy3+xmEXllUFRcpaw9FIyAZ 1nvx4Tgs3/gZlbI+UOLmWtX6e33q+mW/gPlfgNcq230CuPeZHdN+Pic6dCQ2jmZ0nVdY kSID51gRQC5j58FNnBE8R1j2OGjMjDMElwhTByRL2wZIVX9gnPs1S1Vh+XoPnFCr5rtw Mw6Ki97WZMMtQlqiKxafUDtwsZ/ZOfQh81RlUaoFD5yRDwglQ7NbdxgmdaGtaN0uvbS7 il5XgDIW2l5+jMQJmAUNO31BNQRSWa4TRr99L+CC4DPIDzDwFiWlcQwq/+SQ0JCioBLm zs9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706609497; x=1707214297; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lmOeyMwWYgVH9cF8GPIvshL3MIJRZ/YHOwbCDZdOR50=; b=Q+T7wMG/4QOEPVmNXAA28lv0ir5+7JMyB9txeOE71dsrYgAdgZQu6wzEV3hAk0xms4 NZ+UT3V0XsVFyVpupWjTaHXZfJQT8wvhXwWseTOsNCpJCsC8TlXvtaa3Tr69nPOOl8BC mdEhgFGfQCHeAu5FiiRq2Kk47LN+jQ/koPf7feJv18sAEy1IrJfwNpag2hKmneTa7yui qPuJ2qKgHKTYwlFkrt+pISLQH9JHdssY56VlO5E4OlMHbv5fi24CkP/S1AIQOjbPxR51 uyPjFA7fjX1FRmWkbhgTClKQl3tBOIRxBM50yGv0amdApAOeMoIe7Igfbv8GMFAwTjli HlAA== X-Gm-Message-State: AOJu0Yzb0PDdMd7bHm5jICH5Lg9004MuerRA7Jgbr0LAOW6BhpamKgVb Tg72mj8ZjKuM7HUU8j0Hp4GN31OxqNSLjiSGCpDTzUV9Ctw6oiW7A3FLQyv+ldkbIcGmV+s53Tk 9x64/r5PxTrEHP1Abs3DflwQVnX0= X-Received: by 2002:a25:9b44:0:b0:dc6:9c4f:9e7f with SMTP id u4-20020a259b44000000b00dc69c4f9e7fmr1139552ybo.18.1706609497124; Tue, 30 Jan 2024 02:11:37 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240127140747.905552-1-hayatake396@gmail.com> <154f979e-a335-461b-b72e-5e9c54fe940c@linux.intel.com> <92958c7b-7e5f-4e25-819f-4e52f9ffcf7b@linux.intel.com> In-Reply-To: <92958c7b-7e5f-4e25-819f-4e52f9ffcf7b@linux.intel.com> From: takeru hayasaka Date: Tue, 30 Jan 2024 19:11:26 +0900 Message-ID: Subject: Re: [Intel-wired-lan] [PATCH net-next RESENT v3] ethtool: ice: Support for RSS settings to GTP from ethtool To: Marcin Szycik Cc: Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , linux-doc@vger.kernel.org, vladimir.oltean@nxp.com, linux-kernel@vger.kernel.org, laforge@gnumonks.org, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, mailhol.vincent@wanadoo.fr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Marcin-san Thank you for your comment:) > The way I understand it now, this patch (and the ethtool one) adds hashin= g on > TEID field in GTP* headers. So I wanted to ask why do we have a case (gtp= c(4|6)) > that doesn't include TEID? Do we hash on other fields in this header? I understand your question to be asking why it is necessary to have the option to select gtpc(4|6) for RSS when it doesn't include the TEID. When hashing in cases where TEID is not included, it can be done with the IMSI (telephone number) or the SeqNum of the GTPC in this header. Essentially, it depends on the implementation, but there is a reason for differentiation as the context is different between cases where GTPC includes TEID and those where it does not. Thanks, Takeru 2024=E5=B9=B41=E6=9C=8830=E6=97=A5(=E7=81=AB) 18:59 Marcin Szycik : > > > > On 30.01.2024 07:39, takeru hayasaka wrote: > > Hi Marcin-san > > Thanks for your review! > > > >> Do I understand correctly that all gtpu* include TEID? Maybe write it = here. > > Yes, that's correct. > > > >> It would be nice to see a link to the patch that added GTP and 'e' fla= g support > > to ethtool itself ("ethtool: add support for rx-flow-hash gtp"). > > I will send you the link. > > The one I sent earlier was outdated, so I've updated it to match this p= atch. > > https://lore.kernel.org/netdev/20240130053742.946517-1-hayatake396@gmai= l.com/ > > > >> gtpc(4|6) doesn't include TEID, so what is its purpose? > > In GTPC communication, there is no TEID in the CSR (Create Session Requ= est). > > Therefore, there are cases of GTPC that do not include TEID. > > The way I understand it now, this patch (and the ethtool one) adds hashin= g on > TEID field in GTP* headers. So I wanted to ask why do we have a case (gtp= c(4|6)) > that doesn't include TEID? Do we hash on other fields in this header? > > > > >> s/TEID(4byte)/TEID (4bytes)/ > >> Also, I think two newlines should remain here. > > I will correct the TEID notation in the next patch! > > Thanks, > Marcin > > ---8<---