DPDK patches and discussions
 help / color / mirror / Atom feed
From: Andrew Rybchenko <arybchenko@solarflare.com>
To: <dev@dpdk.org>
Subject: [dpdk-dev] [PATCH 00/12] net/sfc: add Tx prepare and encapsulated TSO
Date: Tue, 2 Apr 2019 10:28:32 +0100	[thread overview]
Message-ID: <1554197324-32391-1-git-send-email-arybchenko@solarflare.com> (raw)
Message-ID: <20190402092832.UW6zbQ0PTaaiGb5-fhipK1oBjxHHF3ppHwwiL5y-q8M@z> (raw)

Move and add missing Tx offloads checks to Tx prepare stage.
Keep absolutely required checks in Tx burst to avoid spoil of
memory and segmentation faults.

There are few checkpatches.sh warnings since positive errno is
used inside driver.

The patch series depends on [1] and should be applied only after it.
[1] is acked by Olivier and was acked by Konstantin Ananyev at RFC
stage saying that more testing is required.

[1] https://patches.dpdk.org/patch/51908/

Igor Romanov (9):
  net/sfc: improve TSO header length check in EFX datapath
  net/sfc: improve TSO header length check in EF10 datapath
  net/sfc: make TSO descriptor numbers EF10-specific
  net/sfc: support Tx preparation in EFX datapath
  net/sfc: support Tx preparation in EF10 datapath
  net/sfc: support Tx preparation in EF10 simple datapath
  net/sfc: move TSO header checks from Tx burst to Tx prepare
  net/sfc: introduce descriptor space check in Tx prepare
  net/sfc: add TSO header length check to Tx prepare

Ivan Malov (3):
  net/sfc: factor out function to get IPv4 packet ID for TSO
  net/sfc: improve log message about missing HW TSO support
  net/sfc: support tunnel TSO on EF10 native Tx datapath

 doc/guides/nics/sfc_efx.rst            |   2 +-
 doc/guides/rel_notes/release_19_05.rst |   2 +
 drivers/net/sfc/sfc.c                  |   9 +-
 drivers/net/sfc/sfc.h                  |   1 +
 drivers/net/sfc/sfc_dp_tx.h            |  84 ++++++++++++
 drivers/net/sfc/sfc_ef10_tx.c          | 172 ++++++++++++++++++++-----
 drivers/net/sfc/sfc_ethdev.c           |   4 +
 drivers/net/sfc/sfc_tso.c              |  46 +++----
 drivers/net/sfc/sfc_tso.h              |  16 ++-
 drivers/net/sfc/sfc_tx.c               |  59 +++++++--
 10 files changed, 322 insertions(+), 73 deletions(-)

-- 
2.17.1


             reply	other threads:[~2019-04-02  9:29 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-02  9:28 Andrew Rybchenko [this message]
2019-04-02  9:28 ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 01/12] net/sfc: improve TSO header length check in EFX datapath Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 02/12] net/sfc: improve TSO header length check in EF10 datapath Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 03/12] net/sfc: make TSO descriptor numbers EF10-specific Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 04/12] net/sfc: support Tx preparation in EFX datapath Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 05/12] net/sfc: support Tx preparation in EF10 datapath Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 06/12] net/sfc: support Tx preparation in EF10 simple datapath Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 07/12] net/sfc: move TSO header checks from Tx burst to Tx prepare Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 08/12] net/sfc: introduce descriptor space check in " Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 09/12] net/sfc: add TSO header length check to " Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 10/12] net/sfc: factor out function to get IPv4 packet ID for TSO Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 11/12] net/sfc: improve log message about missing HW TSO support Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-02  9:28 ` [dpdk-dev] [PATCH 12/12] net/sfc: support tunnel TSO on EF10 native Tx datapath Andrew Rybchenko
2019-04-02  9:28   ` Andrew Rybchenko
2019-04-03 18:03 ` [dpdk-dev] [PATCH 00/12] net/sfc: add Tx prepare and encapsulated TSO Ferruh Yigit
2019-04-03 18:03   ` 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=1554197324-32391-1-git-send-email-arybchenko@solarflare.com \
    --to=arybchenko@solarflare.com \
    --cc=dev@dpdk.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).