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 E50F7A0547; Fri, 29 Oct 2021 16:19:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2E13411C9; Fri, 29 Oct 2021 16:19:19 +0200 (CEST) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by mails.dpdk.org (Postfix) with ESMTP id A02E5410E1 for ; Fri, 29 Oct 2021 16:19:18 +0200 (CEST) Received: by mail-io1-f51.google.com with SMTP id f9so12588386ioo.11 for ; Fri, 29 Oct 2021 07:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q7hLcvTkk80fQ+E3ChcBkLU19wPCvTfTtkbd58zvKMU=; b=F77y/bHQqPId/oQYjCLePrNuMM7VY77MZu5f36qhWZGxmNiAQXFa/znGADJkCrTVgp AFFmk3WogPZjRD9NJ6/iqiwkgEmlvUaKj6eG0WAMKmgdMpf4JyW6f/AGBU9qftm3SDZR 5+5zxK6kQbTNi6EHmmhCvo8D0+0dbRsVsHOpPOiT2yZCGgM+3/FruPaWh1AIOcjwo91R CSPBKpcSTQyZMwe/KT5yRwTsSUt+lJ70hmEONXnUK9SbJzb/VI8xU29Q/T7T1fmfR5Y1 gPpZYxRaRkpWHI2h7CuC9nTBJ/H8RfFmLc/TDep8EB+4ST0nY684O0b/Zp03AP0F03F5 Ezyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=q7hLcvTkk80fQ+E3ChcBkLU19wPCvTfTtkbd58zvKMU=; b=AwWJgoMh6vzSDexQzoS3svNpM/zB+NLUnLSxVoTeZ0njF3Yr+PPc9PE/PzO+RlhKND hD1keANJ0bCpiaO+EQLcXM9hIlPA9ohku51fV/XrM0waSjQZFDtkfLaqgt4PgYJ3IX61 VvwP1LkxsCrd5tIigWL7+QvPrBluMrfLRxGWus8CHZnMptqps3LSljoPplDEqcu8nsrx LPuQzSPQT/ZWJ3j8BLSFnhnJMF4BMYoqznQN+f4lQAZLXWQUo/D23/Qq18VxEFbNTFOx hOpofKOStczFsZIUOiXvXH6j1LC4IMua1As9OMFe/xyrQwzoxpfb5l4YjHvdyT9e4QIO 89NA== X-Gm-Message-State: AOAM531NYiE+8aUCREOkC3IiNIUywqV1Ls3PhzQg4o+4LyI9egGAY3jR Z3sbT4SbowLONhaZ7Qv6+TyWw197gsx3hr5Eju4= X-Google-Smtp-Source: ABdhPJwGxK+zekaeUOvyBJatW9wPqgUhljN4O+8WToPGxySEWx7o9u7lCQOVJGQl9Nb+2G/zn+PCG7qe8lIwfzLk+rY= X-Received: by 2002:a05:6638:dc6:: with SMTP id m6mr8369075jaj.48.1635517158068; Fri, 29 Oct 2021 07:19:18 -0700 (PDT) MIME-Version: 1.0 References: <20211028221446.2455303-1-vfialko@marvell.com> In-Reply-To: <20211028221446.2455303-1-vfialko@marvell.com> From: Jerin Jacob Date: Fri, 29 Oct 2021 19:48:52 +0530 Message-ID: To: Volodymyr Fialko , Ferruh Yigit Cc: dpdk-dev , Jerin Jacob Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 0/3] fix max pools argument parsing 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 Fri, Oct 29, 2021 at 3:45 AM Volodymyr Fialko wrote: > > This series should fix issue with max pool argument parsing for cnxk > platforms > > Volodymyr Fialko (3): > mempool/cnxk: fix max pools argument parsing > common/cnxk: add roc npa init callback support > mempool/cnxk: parse max pools during npa initialization Updated the git log as below[1] Series Acked-by: Jerin Jacob Series applied to dpdk-next-net-mrvl/for-next-net. Thanks. [1] commit 5a6221d1e943b4e808b88ee2fd457d9ea6da5861 (HEAD -> for-next-net, origin/for-next-net) Author: Volodymyr Fialko Date: Fri Oct 29 00:14:46 2021 +0200 mempool/cnxk: postpone devargs parsing Use roc_npa_lf_init_cb_register() scheme to register callback for max_pools argument parsing. This will remove the dependency on the order of PCI devices probed. Signed-off-by: Volodymyr Fialko Reviewed-by: Jerin Jacob commit 2184cde7957e25abf23c8ce12ea3a3f7df4ade70 Author: Volodymyr Fialko Date: Fri Oct 29 00:14:45 2021 +0200 common/cnxk: add ROC NPA init callback support Add support for registering callback for ROC NPA init. Signed-off-by: Volodymyr Fialko Reviewed-by: Jerin Jacob commit b189001ce0ba7c4ccd67b7e40d9ba96cf96b21d1 Author: Volodymyr Fialko Date: Fri Oct 29 00:14:44 2021 +0200 mempool/cnxk: fix max pools argument parsing roc_idev_npa_maxpools_set() expects max_pools original value, not the AURA. Fixes: 0a50a5aad299 ("mempool/cnxk: add device probe/remove") Cc: stable@dpdk.org Signed-off-by: Volodymyr Fialko Acked-by: Jerin Jacob > > drivers/common/cnxk/roc_npa.c | 18 +++++++++++++++++ > drivers/common/cnxk/roc_npa.h | 4 ++++ > drivers/common/cnxk/version.map | 1 + > drivers/mempool/cnxk/cnxk_mempool.c | 31 +++++++++++++++++++---------- > 4 files changed, 44 insertions(+), 10 deletions(-) > > -- > 2.25.1 >