mbox series

[00/12] net/sfc: add Tx prepare and encapsulated TSO

Message ID 1554197324-32391-1-git-send-email-arybchenko@solarflare.com (mailing list archive)
Headers
Series net/sfc: add Tx prepare and encapsulated TSO |

Message

Andrew Rybchenko April 2, 2019, 9:28 a.m. UTC
  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(-)
  

Comments

Ferruh Yigit April 3, 2019, 6:03 p.m. UTC | #1
On 4/2/2019 10:28 AM, Andrew Rybchenko wrote:
> 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

Series applied to dpdk-next-net/master, thanks.