From patchwork Tue Oct 12 21:18:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajit Khaparde X-Patchwork-Id: 101276 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6EE09A0C4D; Tue, 12 Oct 2021 23:20:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A897410DF; Tue, 12 Oct 2021 23:20:10 +0200 (CEST) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mails.dpdk.org (Postfix) with ESMTP id 3BD7F410DC for ; Tue, 12 Oct 2021 23:20:08 +0200 (CEST) Received: by mail-pj1-f52.google.com with SMTP id qe4-20020a17090b4f8400b0019f663cfcd1so2860850pjb.1 for ; Tue, 12 Oct 2021 14:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=OGLzmmZGmzO28FujRpjNnN05nJM1tPHph8qkn0XpYq8=; b=IZBsSefyBZ63l6FAWueinyTE8AH3t2blWm2LMgEcNd98QxWddmDjMVrg3NZRzWZIaX 6DYfxSNYufsZICUQuBquGO94MLphifQd0zFnlXQQSHTatNa4GUG49NYEpMR9BURPxYUY i3tHY9IGx5dfIk0KGpTA6/boQvtP1OkfvGGys= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version; bh=OGLzmmZGmzO28FujRpjNnN05nJM1tPHph8qkn0XpYq8=; b=unxw8XkyLbaq2LIuvWWg7MYeK/N/QghSXz4AnqR8bTipMysb0FdVAg8Bqthax08cNa uirOrnZH/4X+FztHDuY4IzyEvpDMY5M9tQGo8rctjRvUM5vOqg4KMlNJeuaJCO6rPKcl idhqLHW+h44pjZszSPT9fYIzlNnaWSUcCNCpNckimKJS0EbD2XVHinl8Z5galIIiq1Z3 PBjNbDcs8w4mKokkiDyH8FDG/NVHknXvPkGHguiLDs4mTgbAfjIO63fJ8J6h/eY193Z8 agjqHQClcueOu0W11Ngkgg0is4nHPis9ZqULZ+DFS/S0cVREPYWBst6DSM7aVJCz/lCH P2UA== X-Gm-Message-State: AOAM5308KHM8uV58DirDflOkj1gej1mVrGTGXtR7JyDQAWUL+QuX3zt/ XcsHLBpTQf8XYYCL0n68R6iTkinHsyLbwJ9hakewE1qxDvgrh92ntjKRH8uTy9Gdvn1LJe09RpZ Z8qCSon+7GBLBbTCJGwzUG1/E6qFYrpka4ymi+p3ZyW9At4Nyvo3mGXLrkgZy40U= X-Google-Smtp-Source: ABdhPJy2V+BQ+Gjj10Y42iLiZKHu95BRmtBy8AdnnsDrB+u/CsOfURDBc7EFoo2mcPkyRHrQQc8n4g== X-Received: by 2002:a17:902:9a04:b0:13a:1ae3:add2 with SMTP id v4-20020a1709029a0400b0013a1ae3add2mr31802335plp.28.1634073607009; Tue, 12 Oct 2021 14:20:07 -0700 (PDT) Received: from localhost.localdomain ([136.52.99.246]) by smtp.gmail.com with ESMTPSA id ls7sm4084941pjb.16.2021.10.12.14.20.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Oct 2021 14:20:06 -0700 (PDT) From: Ajit Khaparde To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Tue, 12 Oct 2021 14:18:42 -0700 Message-Id: <20211012211845.71121-1-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.30.1 (Apple Git-130) In-Reply-To: References: MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] [PATCH v4 0/3] patchset for bnxt PMD 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" Apart from fixing an issue with Rx queue state at startup, this patchset enhances support for RSS action and optimizes the mbuf requirement at startup by creating the aggregation rings only when needed (rx_scatter is enabled). Please apply! --- v1->v2: use correct patch for 3/3. v2->v3: rebase against latest dpdk-next-net tree. v3->v4: fix checkpatch warnings and errors. Ajit Khaparde (3): net/bnxt: create aggregration rings when needed net/bnxt: fix Rx queue state on start net/bnxt: enhance support for RSS action drivers/net/bnxt/bnxt_ethdev.c | 16 ++- drivers/net/bnxt/bnxt_filter.h | 1 + drivers/net/bnxt/bnxt_flow.c | 196 ++++++++++++++++++++++++++++++++- drivers/net/bnxt/bnxt_hwrm.c | 9 ++ drivers/net/bnxt/bnxt_ring.c | 148 +++++++++++++++---------- drivers/net/bnxt/bnxt_rxq.c | 72 +++++++----- drivers/net/bnxt/bnxt_rxq.h | 2 + drivers/net/bnxt/bnxt_rxr.c | 111 +++++++++++-------- 8 files changed, 422 insertions(+), 133 deletions(-)