From patchwork Fri Jan 8 05:12:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajit Khaparde X-Patchwork-Id: 86156 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 166EFA0524; Fri, 8 Jan 2021 06:13:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A31FD140DCD; Fri, 8 Jan 2021 06:13:08 +0100 (CET) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id 10D9A140DBB for ; Fri, 8 Jan 2021 06:13:07 +0100 (CET) Received: by mail-pj1-f46.google.com with SMTP id z12so3034347pjn.1 for ; Thu, 07 Jan 2021 21:13:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=3pymgX0e8rwx7qesYaWrcdGU4TyIazvF9lwAL0LMcUQ=; b=UqCA4G5gJlH65ea7jXLZ4H8Ya1GBx1EgWIm3u2u6h7u4SPBEPwGxbqTpMxBV0Uw6+3 PeWM9pSLGCynYj5kzu478j3FYusNFy0IdPBLEDwmopu/lW0zkrSfDGbs/3JqY5qytxqV eeb57Wa6P5wQlx4sy4hTAaQ34Bw4TdIfhRMvy9vkLqI6OMinn1LOI/HAVK9vyOM0qm22 lq5xcf0EAyRxg5Eth6LXsUg53Yf6Sk9C263UD5Uq0C4DqjAZ49gr78L9XI9zRh+BnyFo i2Xa22sRFiquDIrfCk18Ap0P34QToqMHidNcqrLjjmS2zJt9+aDX4btXG1o3laLxDnnF /kWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3pymgX0e8rwx7qesYaWrcdGU4TyIazvF9lwAL0LMcUQ=; b=JrNbxSoxMtQLB/49CTeuPiaPXpz8OllgqUZJVZ8lDl4/6Amh4mKtoM14BqpmvxxlXI v4nrVAPvTHyYkRCeme051hvNGTyv2TXKvXjMlq7wE1yy1YHvlwL9deOgx+RNqBg/1/ZG p6JEo50wcP1OWf8as84smYSpKmA6ekpWdcJ9nC6knrqJxy4tBZJg8WnR+uK29qnfUpcc Q6Q+AFzdhITcJ2ncHw7udi21RA0AT2gZfrH0/iDRnzXrm6wLN/hW21dUNBZ0fxOi1DkJ TyecaJGEATdDcfuVqVggbxvDMT9V5p5mxBHHTR+EKpfPy77Io2vVaNBfCkw5r7zl3tz/ xBJQ== X-Gm-Message-State: AOAM533+AEGxTFKksbvrlyr+TgCbvK88rUzTevdtZHJIYUVBRusmr+31 y5GbG94H8sZRoYNxDIDoyuU+u6a5BCmnqQ== X-Google-Smtp-Source: ABdhPJyD/JsmMoAO2RbV/g3Tkmf72gCb/S4s6jTo/4RYdU50hqNwfkWBjnlxtSbnwTpOoXErm9plaA== X-Received: by 2002:a17:90a:638a:: with SMTP id f10mr1952258pjj.191.1610082785795; Thu, 07 Jan 2021 21:13:05 -0800 (PST) Received: from localhost.localdomain ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id n15sm7688829pgl.31.2021.01.07.21.13.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jan 2021 21:13:05 -0800 (PST) From: Ajit Khaparde X-Google-Original-From: Ajit Khaparde To: dev@dpdk.org Date: Thu, 7 Jan 2021 21:12:55 -0800 Message-Id: <20210108051301.33416-1-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <20210103034627.80169-1-ajit.khaparde@broadcom.com> References: <20210103034627.80169-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v3 0/6] net/bnxt: add support for Stingray2 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" Add support for 58818/Stingray2 chip. The new chip Stingray 2 belongs to the P5 generation. Some changes in the PMD are required to support this new chip. This patchset adds the necessary changes. Please apply. v1->v2: rebased to latest dpdk-next-net-brcm tree. v2->v3: rebased to latest code base. Kalesh AP (6): net/bnxt: add support for 58818 chip family net/bnxt: add new RX checksum mode net/bnxt: modify VNIC accounting net/bnxt: add LRO support for SR2 chip net/bnxt: modify context memory allocation net/bnxt: add Rx logic for 58818 chips doc/guides/rel_notes/release_21_02.rst | 6 + drivers/net/bnxt/bnxt.h | 19 +++ drivers/net/bnxt/bnxt_cpr.h | 7 +- drivers/net/bnxt/bnxt_ethdev.c | 102 +++++++++---- drivers/net/bnxt/bnxt_flow.c | 14 +- drivers/net/bnxt/bnxt_hwrm.c | 49 ++++++ drivers/net/bnxt/bnxt_hwrm.h | 5 +- drivers/net/bnxt/bnxt_ring.c | 19 ++- drivers/net/bnxt/bnxt_rxr.c | 96 +++++++++--- drivers/net/bnxt/bnxt_rxr.h | 203 ++++++++++++++++++++++++- 10 files changed, 462 insertions(+), 58 deletions(-)