All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
To: dev@dpdk.org
Cc: Thomas Monjalon <thomas@monjalon.net>,
	Ferruh Yigit <ferruh.yigit@intel.com>,
	Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Subject: [PATCH v2 0/2] net/sfc: support SN1022 SoC
Date: Wed, 17 Nov 2021 10:05:43 +0300	[thread overview]
Message-ID: <20211117070545.4004374-1-andrew.rybchenko@oktetlabs.ru> (raw)
In-Reply-To: <20211105083333.1960017-1-andrew.rybchenko@oktetlabs.ru>

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. Now it is really late.

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.

Build time option is removed in v2 and there is no measurable
performance degration now (less than 1%).

[1] https://patches.dpdk.org/project/dpdk/patch/20211018224353.3362537-2-dkozlyuk@nvidia.com/

v2:
    - avoid recursive lock
    - avoid build-time option

Andrew Rybchenko (1):
  common/sfc_efx/base: support NIC DMA memory regions API

Viacheslav Galaktionov (1):
  net/sfc: support regioned NIC DMA memory mapping type

 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/version.map      |   3 +
 drivers/net/sfc/meson.build             |   1 +
 drivers/net/sfc/sfc.c                   |  25 +-
 drivers/net/sfc/sfc.h                   |   8 +-
 drivers/net/sfc/sfc_dp_rx.h             |   4 +
 drivers/net/sfc/sfc_dp_tx.h             |   4 +
 drivers/net/sfc/sfc_ef100_rx.c          |  40 ++-
 drivers/net/sfc/sfc_ef100_tx.c          | 111 ++++--
 drivers/net/sfc/sfc_ef10_essb_rx.c      |   5 +
 drivers/net/sfc/sfc_ef10_rx.c           |   5 +
 drivers/net/sfc/sfc_ef10_tx.c           |   5 +
 drivers/net/sfc/sfc_ethdev.c            |  13 +
 drivers/net/sfc/sfc_ev.c                |   1 +
 drivers/net/sfc/sfc_mcdi.c              |   5 +-
 drivers/net/sfc/sfc_nic_dma.c           | 335 +++++++++++++++++
 drivers/net/sfc/sfc_nic_dma.h           |  29 ++
 drivers/net/sfc/sfc_nic_dma_dp.h        |  57 +++
 drivers/net/sfc/sfc_port.c              |   3 +-
 drivers/net/sfc/sfc_rx.c                |   9 +-
 drivers/net/sfc/sfc_tx.c                |   9 +-
 28 files changed, 1431 insertions(+), 56 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.h

-- 
2.30.2


  parent reply	other threads:[~2021-11-17  7:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-05  8:33 [dpdk-dev] [PATCH 0/4] net/sfc: support SN1022 SoC Andrew Rybchenko
2021-11-05  8:33 ` [dpdk-dev] [PATCH 1/4] common/sfc_efx: use correct define to control debug Andrew Rybchenko
2021-11-05 21:07   ` Ferruh Yigit
2021-11-05  8:33 ` [dpdk-dev] [PATCH 2/4] common/sfc_efx/base: support NIC DMA memory regions API Andrew Rybchenko
2021-11-05  8:33 ` [dpdk-dev] [PATCH 3/4] net/sfc: make adapter lock recursive Andrew Rybchenko
2021-11-05  8:33 ` [dpdk-dev] [PATCH 4/4] net/sfc: support regioned NIC DMA memory mapping type Andrew Rybchenko
2021-11-05 19:05   ` Ferruh Yigit
2021-11-05 20:14     ` Thomas Monjalon
2021-11-06  8:39       ` Andrew Rybchenko
2021-11-06  8:48         ` Thomas Monjalon
2021-11-17  7:05 ` Andrew Rybchenko [this message]
2021-11-17  7:05   ` [PATCH v2 1/2] common/sfc_efx/base: support NIC DMA memory regions API Andrew Rybchenko
2021-11-17  7:05   ` [PATCH v2 2/2] net/sfc: support regioned NIC DMA memory mapping type Andrew Rybchenko
2021-11-17 11:44   ` [PATCH v2 0/2] net/sfc: support SN1022 SoC Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211117070545.4004374-1-andrew.rybchenko@oktetlabs.ru \
    --to=andrew.rybchenko@oktetlabs.ru \
    --cc=dev@dpdk.org \
    --cc=dkozlyuk@nvidia.com \
    --cc=ferruh.yigit@intel.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.