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 29339A0C61; Fri, 5 Nov 2021 09:34:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE15040689; Fri, 5 Nov 2021 09:34:10 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 8B63440151 for ; Fri, 5 Nov 2021 09:34:09 +0100 (CET) Received: by shelob.oktetlabs.ru (Postfix, from userid 122) id C59F57F70F; Fri, 5 Nov 2021 11:34:08 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shelob.oktetlabs.ru X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_DISCARD, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from aros.oktetlabs.ru (aros.oktetlabs.ru [192.168.38.17]) by shelob.oktetlabs.ru (Postfix) with ESMTP id 658077F51A; Fri, 5 Nov 2021 11:34:04 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 658077F51A Authentication-Results: shelob.oktetlabs.ru/658077F51A; dkim=none; dkim-atps=neutral From: Andrew Rybchenko To: dev@dpdk.org Cc: Ferruh Yigit , Dmitry Kozlyuk Date: Fri, 5 Nov 2021 11:33:29 +0300 Message-Id: <20211105083333.1960017-1-andrew.rybchenko@oktetlabs.ru> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/4] net/sfc: support SN1022 SoC 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" I apologize for very late patch series. Of course, I'd be happy if the series is included in 21.11 since it is a final step to support SN1022 SoC. A tiny excuse is that net/sfc part was 90% rewritten to use [1]. Many thanks to Dmitry. Solution with mempool event callback is much better than our previous. The series is carefully tested on all NICs supported by net/sfc. Build is tested on RHEL, CentOS, Fedora, Debian and Ubuntu distros with introduced build-time option on and off. Unfortunately build-time option is really required since single core performance drop is 10% on x86_64 if the option is enabled (when it is absolutely unnecessary). [1] https://patches.dpdk.org/project/dpdk/patch/20211018224353.3362537-2-dkozlyuk@nvidia.com/ Andrew Rybchenko (3): common/sfc_efx: use correct define to control debug common/sfc_efx/base: support NIC DMA memory regions API net/sfc: make adapter lock recursive Viacheslav Galaktionov (1): net/sfc: support regioned NIC DMA memory mapping type doc/guides/nics/sfc_efx.rst | 4 + doc/guides/rel_notes/release_21_11.rst | 1 + drivers/common/sfc_efx/base/ef10_nic.c | 51 +++ drivers/common/sfc_efx/base/efx.h | 46 +++ drivers/common/sfc_efx/base/efx_impl.h | 20 ++ drivers/common/sfc_efx/base/efx_mcdi.c | 204 +++++++++++ drivers/common/sfc_efx/base/efx_mcdi.h | 31 ++ drivers/common/sfc_efx/base/efx_nic.c | 460 ++++++++++++++++++++++++ drivers/common/sfc_efx/base/siena_nic.c | 2 + drivers/common/sfc_efx/efsys.h | 4 +- drivers/common/sfc_efx/version.map | 3 + drivers/net/sfc/meson.build | 2 + drivers/net/sfc/sfc.c | 33 +- drivers/net/sfc/sfc.h | 23 +- drivers/net/sfc/sfc_dp.h | 1 + drivers/net/sfc/sfc_dp_rx.h | 6 + drivers/net/sfc/sfc_dp_tx.h | 7 + drivers/net/sfc/sfc_ef100_rx.c | 62 +++- drivers/net/sfc/sfc_ef100_tx.c | 124 +++++-- drivers/net/sfc/sfc_ev.c | 1 + drivers/net/sfc/sfc_mcdi.c | 5 +- drivers/net/sfc/sfc_nic_dma.c | 374 +++++++++++++++++++ drivers/net/sfc/sfc_nic_dma.h | 30 ++ drivers/net/sfc/sfc_nic_dma_dp.c | 52 +++ drivers/net/sfc/sfc_nic_dma_dp.h | 46 +++ drivers/net/sfc/sfc_port.c | 3 +- drivers/net/sfc/sfc_rx.c | 6 +- drivers/net/sfc/sfc_tweak.h | 9 + drivers/net/sfc/sfc_tx.c | 6 +- 29 files changed, 1552 insertions(+), 64 deletions(-) create mode 100644 drivers/net/sfc/sfc_nic_dma.c create mode 100644 drivers/net/sfc/sfc_nic_dma.h create mode 100644 drivers/net/sfc/sfc_nic_dma_dp.c create mode 100644 drivers/net/sfc/sfc_nic_dma_dp.h -- 2.30.2