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 55759A0C40 for ; Thu, 29 Jul 2021 10:36:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4638E40041; Thu, 29 Jul 2021 10:36:21 +0200 (CEST) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mails.dpdk.org (Postfix) with ESMTP id 690DC40041 for ; Thu, 29 Jul 2021 10:36:20 +0200 (CEST) Received: by mail-wr1-f43.google.com with SMTP id r2so5897219wrl.1 for ; Thu, 29 Jul 2021 01:36:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=9h/6rmGOgbLIIfEx+N0ceKBT9Jbs/gzilgtxlMdgseo=; b=gxDTTemCWGbowO5A8+P58LfjRxalMytBBTVULUTy+ik0e7kN52Sq97Y/DNlu+uwNYC VAkJ/rC66q/tISMyqN+YynAhseN5fGXV7zCUSQ2RPaxUeTrWc2nL1/UVrm8DcAAiQ37D gTlkBZb5gw9vmrm72rPy66Ei9ZVqdw5swTGsdfCjpijlHf2pGQN5iOrvMyEqvixGzCHs mGQLumTKpSb8vZ619ChAmANgUAIse9ngOm5xDGEPcQhMJTdVJU2dpR7eE1bDPmiGr9RU aPxZfE+CCXLeVm55h0hMkH0eLlSwxD6OdhgXmdadg3tfMh7VLhRFpWdlBMPRf11TqGEv 1WQw== X-Gm-Message-State: AOAM530Nz+0AGS11LbmZl07DP6kOlf5jPiby30XYdMTMMGUiDfMNrMtN 3XEQNZSuyT3vrBfvukR1E+I= X-Google-Smtp-Source: ABdhPJx7CWXyaxH7nNkEyeoNr2YGXWuTlxP26T78Y+N/70x58oYK6M53PNvKIGysXSJzd6BpOmyB9A== X-Received: by 2002:adf:dfcb:: with SMTP id q11mr3640670wrn.16.1627547780221; Thu, 29 Jul 2021 01:36:20 -0700 (PDT) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id p8sm2618628wrn.79.2021.07.29.01.36.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jul 2021 01:36:19 -0700 (PDT) Message-ID: <0ee91b303c2afba34820499a7597b0ac191d98a8.camel@debian.org> From: Luca Boccassi To: psatheesh@marvell.com, Jerin Jacob , Nithin Dabilpuram , Kiran Kumar K Cc: stable@dpdk.org Date: Thu, 29 Jul 2021 09:36:18 +0100 In-Reply-To: <20210729041356.2053698-1-psatheesh@marvell.com> References: <20210729041356.2053698-1-psatheesh@marvell.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.2 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH 20.11] net/octeontx2: fix default MCAM allocation size X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Thu, 2021-07-29 at 09:43 +0530, psatheesh@marvell.com wrote: > From: Satheesh Paul >=20 > [ upstream commit d81cea5280112f5f6c8796c2fb0bad72bf29d41e ] >=20 > Preallocation of MCAM entries is not valid anymore since the > AF side MCAM allocation scheme has changed. This patch disables > preallocation by changing the default MCAM preallocation size > from 8 to 1. >=20 > Fixes: 168c59cfe42 ("net/octeontx2: add flow MCAM utility functions") >=20 > Signed-off-by: Satheesh Paul > --- > drivers/net/octeontx2/otx2_ethdev_devargs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/octeontx2/otx2_ethdev_devargs.c b/drivers/net/oc= teontx2/otx2_ethdev_devargs.c > index d4a85bf55e..3f9542331f 100644 > --- a/drivers/net/octeontx2/otx2_ethdev_devargs.c > +++ b/drivers/net/octeontx2/otx2_ethdev_devargs.c > @@ -134,7 +134,7 @@ otx2_ethdev_parse_devargs(struct rte_devargs *devargs= , struct otx2_eth_dev *dev) > { > uint16_t rss_size =3D NIX_RSS_RETA_SIZE; > uint16_t sqb_count =3D NIX_MAX_SQB; > - uint16_t flow_prealloc_size =3D 8; > + uint16_t flow_prealloc_size =3D 1; > uint16_t switch_header_type =3D 0; > uint16_t flow_max_priority =3D 3; > uint16_t ipsec_in_max_spi =3D 1; Acked-by: Luca Boccassi Thanks, applied and pushed. --=20 Kind regards, Luca Boccassi