From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1067D6216E; Thu, 1 Feb 2024 14:23:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.55.52.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706797386; cv=none; b=A1PatvQJRjb943nOjM7TBJ9GjlQUrUaf4XZDTFvcmjZl/LdGOb5GZxzVxX+1mk+ybWpyzfoiFmxevkmVR2SE/yAw1dTYLxXPMhagMYkQCW4/X6GXKyor6xvT8uvNp7eCB8dJpoBd9WHhWQikhYMVk0N1sl67c61KmqOS0sa8ApU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706797386; c=relaxed/simple; bh=beLTsREvyK9FUzFZYTG52FSXQznbugUd1IC83SdrD8k=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tIIDMS8rpRNAk64Nthl7qgMTxxvboTYsyVhjx14+8TlQ95Hsq9Z9LrFLMq4QpmmVY/ult8yviySZMBgwbeCCLdhAiNK2qkHGml6BsgkwQli7VK5EWPyvcrnWwUxb19pJnDAkXH5bDyBSU+RjCbg1J7ZW1r1rlhgpDQcdSaNoGKY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=CKwTF3zf; arc=none smtp.client-ip=192.55.52.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="CKwTF3zf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706797384; x=1738333384; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=beLTsREvyK9FUzFZYTG52FSXQznbugUd1IC83SdrD8k=; b=CKwTF3zfSlFWtb5HOnsBgcaULtmniSW1COf+E1OkNxk+XGLaG8j7hHVE KJNU3aCDkDEvYnA57OkTHSK8PqrL3GyytTKcnWl91pwbnQDEnS19XKtpP 8HHMeGuO21LdupklZkzL8+IF/TvuS9vx3LrIXGyI6SX4Y5B/6kgsDNAYb TX4XGWrutL6RajsP2YVooJMNToDKk6V7U7z1Y8L/STIibFWJQf5aIQX8T GtWoCd+0tRozxoRzNNVM5tzWZDhYPw+oIZeX7/iX0iJQnozuU3J4zn2fs rSIRWEwwkR/yRrIG/rO4SzrR1uDRZLbdHdCcq3UZq9j7XBmB5Yxr2X0V7 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="401034214" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="401034214" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2024 06:23:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="1119948486" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="1119948486" Received: from mszycik-mobl1.ger.corp.intel.com (HELO [10.246.35.198]) ([10.246.35.198]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2024 06:22:57 -0800 Message-ID: <59b9beae-8dcf-4c51-9588-6fb4ad52dec6@linux.intel.com> Date: Thu, 1 Feb 2024 15:22:57 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Intel-wired-lan] [PATCH net-next v7 2/2] ice: Implement RSS settings for GTP using ethtool Content-Language: en-US To: Takeru Hayasaka , Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet Cc: 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 References: <20240201033310.1028154-1-hayatake396@gmail.com> <20240201033310.1028154-2-hayatake396@gmail.com> From: Marcin Szycik In-Reply-To: <20240201033310.1028154-2-hayatake396@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 01.02.2024 04:33, Takeru Hayasaka wrote: > Following the addition of new GTP RSS hash options to ethtool.h, this patch > implements the corresponding RSS settings for GTP packets in the Intel ice > driver. It enables users to configure RSS for GTP-U and GTP-C traffic over IPv4 > and IPv6, utilizing the newly defined hash options. > > The implementation covers the handling of gtpu(4|6), gtpc(4|6), gtpc(4|6)t, > gtpu(4|6)e, gtpu(4|6)u, and gtpu(4|6)d traffic, providing enhanced load > distribution for GTP traffic across multiple processing units. Reviewed-by: Marcin Szycik > Signed-off-by: Takeru Hayasaka > --- > .../device_drivers/ethernet/intel/ice.rst | 21 ++++- > drivers/net/ethernet/intel/ice/ice_ethtool.c | 82 +++++++++++++++++++ > drivers/net/ethernet/intel/ice/ice_flow.h | 31 +++++-- > drivers/net/ethernet/intel/ice/ice_lib.c | 37 +++++++++ > 4 files changed, 162 insertions(+), 9 deletions(-) > > diff --git a/Documentation/networking/device_drivers/ethernet/intel/ice.rst b/Documentation/networking/device_drivers/ethernet/intel/ice.rst > index 5038e54586af..934752f675ba 100644 > --- a/Documentation/networking/device_drivers/ethernet/intel/ice.rst > +++ b/Documentation/networking/device_drivers/ethernet/intel/ice.rst > @@ -368,15 +368,28 @@ more options for Receive Side Scaling (RSS) hash byte configuration. > # ethtool -N rx-flow-hash