From patchwork Sun Jun 2 17:42:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Richardson X-Patchwork-Id: 54116 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3C1804C9D; Sun, 2 Jun 2019 19:43:06 +0200 (CEST) Received: from mail-yb1-f195.google.com (mail-yb1-f195.google.com [209.85.219.195]) by dpdk.org (Postfix) with ESMTP id D6F462BEA for ; Sun, 2 Jun 2019 19:43:04 +0200 (CEST) Received: by mail-yb1-f195.google.com with SMTP id x32so3192879ybh.1 for ; Sun, 02 Jun 2019 10:43:04 -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; bh=v+Q1mfYZ8YlFMBBhgqYubZKcBS797vWrcGMEQ5Y5mSM=; b=HzWod66XSLTQvYG1TZWfz/yanCM5ESB+3h2LgmzEEgBd15AWWggHe2FTV2C5dMEsWy DAUzd7HE6ZwAC35cYXI8LaGQj0EQPpJJAz4SSE7nq7oqDKbRcXqcQdtTzD5xNEZky77p 88J2Em9gLKgX5vKRhilfIrzV1VYUhLPHkmhW0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=v+Q1mfYZ8YlFMBBhgqYubZKcBS797vWrcGMEQ5Y5mSM=; b=VpB20WWRWRY+3rvk8olBbsRGNLsSlgQLwNOayuLY8ujFjF3lcyONjbMtLcozyR5XLo 33pEhHeIS8nYe+QTi91fcgz5bvt9z36wEyclu6Xcgs7X2S5nzXoGtRr+UHmFFr1msDYL A44tUq3PNYbndxMz9YBnjlQiHk3WoSLCeY1QfoJH7x1f0x7hgSvCfvLqW5q1MQ6gJjsu 0bzNCQJDp6aoev/RO5bRWhUPvR+VdZs/EsHo8y0mX1hMSknAEac58fT1lBn1NvKHuWbn 95K7Q/cqpUbXdnHRn3PHzWUTcwf3gPLMD1+pHJcYWcKCv+ERG3PM0RX3b24dNWLmEizI Q+qg== X-Gm-Message-State: APjAAAUywaCukKGkUeUloYALU9BKDrUHkJt8UefVmJ8g/10RVkc1fkyi u0nEfnCFUCGyVJ+05muMwBLErOqQWkp9hcZgltREEQjMIO1xVTJCDp88LlWnF2mdDg3Ot9wccLe Frd370tGPIXotLbBHWbhOY3Kyagli6Jd1l6rJ6jbpYtQ6pUaASiTT3cyLZ4q8CMH/ X-Google-Smtp-Source: APXvYqxlcRrqAkKPcRPwY428avNdlpH/xRNg8Q2Jvczlluuo3j/Q9DwcumTdr9wTX85KDsKejzZ8kQ== X-Received: by 2002:a5b:590:: with SMTP id l16mr7306849ybp.22.1559497384007; Sun, 02 Jun 2019 10:43:04 -0700 (PDT) Received: from lrichardson-VirtualBox.attlocal.net (69-218-223-106.lightspeed.rlghnc.sbcglobal.net. [69.218.223.106]) by smtp.gmail.com with ESMTPSA id n78sm1000819ywd.2.2019.06.02.10.43.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Jun 2019 10:43:03 -0700 (PDT) From: Lance Richardson To: dev@dpdk.org Cc: ajit.khaparde@broadcom.com, ferruh.yigit@intel.com, Lance Richardson Date: Sun, 2 Jun 2019 13:42:35 -0400 Message-Id: <20190602174247.32368-1-lance.richardson@broadcom.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH 00/11] add support for BCM57508 controller X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" NOTE: This patch series has dependencies on the "bnxt patchset" series that is currently under review. This patch series adds support to the bnxt PMD for the BCM57508 Ethernet controller (a.k.a the "Thor" controller). Patches 1-5 include cleanups and bug fixes for the existing driver. Patch 6 adds support for "extended" HWRM requests. Extended HWRM requests are larger in size and use indirection to a buffer in host memory. Patch 7 refactors doorbell handling in preparation for the doorbell protocol used for Thor. Patch 8 refactors descriptor ring allocation in preparation for thor, which requires an additional "notification queue" ring to be associated with transmit/receive completion rings. Patch 9 contains the core of the changes needed to support the thor controller. Patch 10 adds thor-specific completion coalescing configuration. Patch 11 adds thor-specific support for RSS. Lance Richardson (11): net/bnxt: endianness conversions in cp ring macros net/bnxt: fix ring type macro name usage net/bnxt: fix width in stats ctx endian conversion net/bnxt: use consistent values for vnic RSS rule net/bnxt: reset function earlier in initialization net/bnxt: support extended hwrm request sizes net/bnxt: refactor doorbell handling net/bnxt: refactor ring allocation code net/bnxt: add support for thor controller net/bnxt: enable completion coalescing for thor net/bnxt: enable RSS for thor-based controllers drivers/net/bnxt/bnxt.h | 99 +++- drivers/net/bnxt/bnxt_cpr.h | 44 +- drivers/net/bnxt/bnxt_ethdev.c | 396 ++++++++++++++-- drivers/net/bnxt/bnxt_hwrm.c | 683 +++++++++++++++++++++++---- drivers/net/bnxt/bnxt_hwrm.h | 16 +- drivers/net/bnxt/bnxt_irq.c | 4 +- drivers/net/bnxt/bnxt_ring.c | 350 ++++++++++---- drivers/net/bnxt/bnxt_ring.h | 33 ++ drivers/net/bnxt/bnxt_rxq.c | 16 +- drivers/net/bnxt/bnxt_rxq.h | 1 + drivers/net/bnxt/bnxt_rxr.c | 37 +- drivers/net/bnxt/bnxt_rxr.h | 4 +- drivers/net/bnxt/bnxt_rxtx_vec_sse.c | 8 +- drivers/net/bnxt/bnxt_txq.c | 2 +- drivers/net/bnxt/bnxt_txq.h | 1 + drivers/net/bnxt/bnxt_txr.c | 29 +- drivers/net/bnxt/bnxt_txr.h | 2 +- drivers/net/bnxt/bnxt_vnic.c | 15 +- drivers/net/bnxt/bnxt_vnic.h | 1 + 19 files changed, 1474 insertions(+), 267 deletions(-)