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 C8A53A0C4E; Mon, 12 Jul 2021 18:06:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 42F2C4069E; Mon, 12 Jul 2021 18:06:45 +0200 (CEST) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) by mails.dpdk.org (Postfix) with ESMTP id A70254069D for ; Mon, 12 Jul 2021 18:06:44 +0200 (CEST) Received: by mail-io1-f41.google.com with SMTP id h6so23372433iok.6 for ; Mon, 12 Jul 2021 09:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AIM9mCxJBtgH3ZqZs0iSDxDIE21wszaQ5sp5gvLOll0=; b=Bz3Rcx+3oE/ZGdZ3dP7g0tx2ar71ylQW+oSkKv34F2rRf43g7la6UrBBBijmF+BzAL X/1fWX0P3Yxzk6Bi5KFX0N9PKj86wtfDled/c9WQ+Vc0cyFhdXZ4DBFZHc08HyxGb5Y+ WEhVFDsjXdG1spwwKCUg2lquz1UiZYtEICXcQWwePBnuag5gUoYfd9v2zgSdoBo34uOI XvhL6ceTTjCYT0/98Lkr5zGkX5GMHmICmYhmuRwUI18JH14djAfdjznCY7kpoxAyNeD7 8NS2W83DYGT4T5JXoOi6MFDNNKk98nGhQGKl6vqPgf/vXEg+fjzN6IUlgBedKMsseGQu q0tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AIM9mCxJBtgH3ZqZs0iSDxDIE21wszaQ5sp5gvLOll0=; b=E9ulaD11wQAk5uIaaHupVl0OUTPcuKwy78GBj4MLGkzeRP6sG2p+utPYB1yAhZBzu4 95R7bWQvau311ytbomd2gfxMT/VNWt1JuSUlCIhnT4KN6G+tcfDtp0SXlDw/bPDvKgHV h1RbEase6GQGkOiiQa61sQahh0d0WMucvgV2eSbL7aupDskCzWAh/FwUqOpW/4d/eGGF 5b+teKgDM4Tq0hetnonFpaChh38jGNaxfyX+YLVPttc3kSlk4myTyDYSsehVkB+D0OEr RwkGb7rURBAvONIRthvG1+G7GA+jo9m/rF0JgGGiXdy+qM3XFbHQ9D+6etqRqcJkYS7u NGTg== X-Gm-Message-State: AOAM531wNv03je9FxTJmAaKQXCq3kf0uuUhprV7rKJLgtkJVLkYrt8HR Yg7APHUHvK40j9RZm72l92Fo2FX6rkEawTvEGOs= X-Google-Smtp-Source: ABdhPJwSITPs1DCkNDOO+WH8vKj6Vt+r+Uebyr8uKsDXquXS9zBXubw9a4Y4dzE2G3ykn/iRNITu5Uw+irGi1K1vqQ8= X-Received: by 2002:a6b:db18:: with SMTP id t24mr712697ioc.163.1626106004072; Mon, 12 Jul 2021 09:06:44 -0700 (PDT) MIME-Version: 1.0 References: <20210706081918.1596477-1-psatheesh@marvell.com> In-Reply-To: <20210706081918.1596477-1-psatheesh@marvell.com> From: Jerin Jacob Date: Mon, 12 Jul 2021 21:36:17 +0530 Message-ID: To: Satheesh Paul Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , dpdk-dev Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] net/cnxk: fix default MCAM allocation size 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 Tue, Jul 6, 2021 at 1:49 PM wrote: > > From: Satheesh Paul > > 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. > > Fixes: 168c59cfe42 ("net/octeontx2: add flow MCAM utility functions") > > Signed-off-by: Satheesh Paul Acked-by: Jerin Jacob Applied to dpdk-next-net-mrvl/for-next-net. Thanks > --- > drivers/net/cnxk/cnxk_ethdev_devargs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/cnxk/cnxk_ethdev_devargs.c b/drivers/net/cnxk/cnxk_ethdev_devargs.c > index c76b6281c..7f20e9228 100644 > --- a/drivers/net/cnxk/cnxk_ethdev_devargs.c > +++ b/drivers/net/cnxk/cnxk_ethdev_devargs.c > @@ -116,7 +116,7 @@ cnxk_ethdev_parse_devargs(struct rte_devargs *devargs, struct cnxk_eth_dev *dev) > { > uint16_t reta_sz = ROC_NIX_RSS_RETA_SZ_64; > uint16_t sqb_count = CNXK_NIX_TX_MAX_SQB; > - uint16_t flow_prealloc_size = 8; > + uint16_t flow_prealloc_size = 1; > uint16_t switch_header_type = 0; > uint16_t flow_max_priority = 3; > uint16_t rss_tag_as_xor = 0; > -- > 2.25.4 >