From patchwork Sun Jan 3 03:46:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajit Khaparde X-Patchwork-Id: 85932 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 16A85A09E4; Sun, 3 Jan 2021 04:46:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95859160683; Sun, 3 Jan 2021 04:46:37 +0100 (CET) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTP id D1AE5160682 for ; Sun, 3 Jan 2021 04:46:36 +0100 (CET) Received: by mail-pj1-f53.google.com with SMTP id f14so7818790pju.4 for ; Sat, 02 Jan 2021 19:46:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version; bh=1yGEefGHBbRuuEWKxrDrkpBdHXqqF8pgKHLwgd/RllM=; b=Bd3sRtkpzURKU31OTFeGYZkph9PKEBipuwTzvN6jBXyBfLgCMEZ6cQQsVVwWYZnMyq /wiKdgC+cw+fOwRGDYzwhOMFqukXvCGK9wW9AAr9U1C4R9j/qD8B9kn1X/yvHCdS5HVS N7FSooXKOhsYjG16wci67z0NIk9RK/Os1IA2Y= 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; bh=1yGEefGHBbRuuEWKxrDrkpBdHXqqF8pgKHLwgd/RllM=; b=uXa252JbEHeHrkvLprLWwPvAqoldOK/se5hTcw+6MgaYzSi16jCtROZDQhXqkbSjbd pQucjnKsvjR0vULmQDYN80HUtwfknVm2J5RXSRtCs4Ja8gU3MaLwnBMLBtyJ1CAuU2iC 9N9xIKZW97iwyOzL+RTATCybN/ovPcKWuuC/OOq8MdZDPOJynfFYt6beDZ2sbFjEusoN +C7/oiCcmwY/lnmvv93YKNmPST2mzK4T4S0jHjT9mvHOZJykVwZtsfJOye/svi+YfOl1 nl/ZV4Ms3aP3m7zkd6V3P9cYnpNovifDW+dGE5YGuorEdqibzlM1v6or7j67+hwaQfQ4 tccQ== X-Gm-Message-State: AOAM5310tQ0uskxoGu67AELc0WNEUbY7oQfMSIvEgMTBW4evGmTc97rF JMYTJaOqFkYC1q6J5SUQESHEO305eS/nIgloBs7J5RSrV/HR90N6s2kXLFKGKhYfHOGY62kfexD 4VG0m85jmleRPcg/TsXdagu9kos1aHBa6xC1YlTCdWguPik+WlCOqJgwbNkzT6sH/sw== X-Google-Smtp-Source: ABdhPJxsrl49z4pQGan3D8297lQNtO6yvucuaU3ABS/JPo5KqIXhUbNjs235nAc3y2bjyrjcl/J1hg== X-Received: by 2002:a17:902:c104:b029:da:5206:8b9b with SMTP id 4-20020a170902c104b02900da52068b9bmr66925842pli.46.1609645595571; Sat, 02 Jan 2021 19:46:35 -0800 (PST) Received: from localhost.localdomain ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id k7sm51391194pfh.201.2021.01.02.19.46.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Jan 2021 19:46:35 -0800 (PST) From: Ajit Khaparde To: dev@dpdk.org Date: Sat, 2 Jan 2021 19:46:21 -0800 Message-Id: <20210103034627.80169-1-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <20201220052430.99990-1-ajit.khaparde@broadcom.com> References: <20201220052430.99990-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] [PATCH v2 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. 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 code 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(-)