From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 350D0A052A; Tue, 26 Jan 2021 19:03:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4F0B140EEA; Tue, 26 Jan 2021 19:03:52 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 60C5E140EE9 for ; Tue, 26 Jan 2021 19:03:50 +0100 (CET) IronPort-SDR: fZmC+8ZoUnap5qZJnl9XQSUFkmvmqP0NqfoP0Vqu+MZF/5niQ4L0MzSvWoSlyT9wvGXBuRlGJU XkPT8QRNhGHw== X-IronPort-AV: E=McAfee;i="6000,8403,9876"; a="159723528" X-IronPort-AV: E=Sophos;i="5.79,377,1602572400"; d="scan'208";a="159723528" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2021 10:02:29 -0800 IronPort-SDR: 9QXNBgteHpeAsiwSNoJ0PUqK+azmer1DG2Tt2EMU23gKcOlgNn68X0F9pwqY/u5aGYoE1KkZbL cpaFPFZYaE8A== X-IronPort-AV: E=Sophos;i="5.79,377,1602572400"; d="scan'208";a="362073612" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.227.53]) ([10.213.227.53]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2021 10:02:28 -0800 To: lironh@marvell.com, jerinj@marvell.com Cc: dev@dpdk.org, Yuri Chipchev References: <20201202101212.4717-1-lironh@marvell.com> <20210122191925.24308-1-lironh@marvell.com> <20210122191925.24308-8-lironh@marvell.com> From: Ferruh Yigit Message-ID: <5b3b1a2c-d169-776c-4ca7-f7fca2f17349@intel.com> Date: Tue, 26 Jan 2021 18:02:24 +0000 MIME-Version: 1.0 In-Reply-To: <20210122191925.24308-8-lironh@marvell.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v2 07/37] net/mvpp2: update RSS tables reservation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 1/22/2021 7:18 PM, lironh@marvell.com wrote: > From: Yuri Chipchev > > In kernel-4.14 the pp2 kernel occupied 4 RSS tables > as opposed to 1 RSS table in older version. > > Signed-off-by: Yuri Chipchev > Reviewed-by: Liron Himi > --- > drivers/net/mvpp2/mrvl_ethdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/mvpp2/mrvl_ethdev.c b/drivers/net/mvpp2/mrvl_ethdev.c > index f7e3f62e3..e4ec343d5 100644 > --- a/drivers/net/mvpp2/mrvl_ethdev.c > +++ b/drivers/net/mvpp2/mrvl_ethdev.c > @@ -33,7 +33,7 @@ > /* bitmask with reserved bpools */ > #define MRVL_MUSDK_BPOOLS_RESERVED 0x07 > /* bitmask with reserved kernel RSS tables */ > -#define MRVL_MUSDK_RSS_RESERVED 0x01 > +#define MRVL_MUSDK_RSS_RESERVED 0x0F > /* maximum number of available hifs */ > #define MRVL_MUSDK_HIFS_MAX 9 > Will this be compatible with all kernel versions that has 1 RSS table? Is this related to the kernel version, kernel driver version or musdk version?