mbox series

[net-next,v2,0/3] cxgb4: add UDP Segmentation Offload support

Message ID cover.1574383652.git.rahul.lakkireddy@chelsio.com
Headers show
Series cxgb4: add UDP Segmentation Offload support | expand

Message

Rahul Lakkireddy Nov. 22, 2019, 1 a.m. UTC
This series of patches add UDP Segmentation Offload (USO) supported
by Chelsio T5/T6 NICs.

Patch 1 updates the current Scatter Gather List (SGL) DMA unmap logic
for USO requests.

Patch 2 adds USO support for NIC and MQPRIO QoS offload Tx path.

Patch 3 adds missing stats for MQPRIO QoS offload Tx path.

Thanks,
Rahul

v2:
- Remove inline keyword from write_eo_udp_wr() in sge.c in patch 2.
  Let the compiler decide.


Rahul Lakkireddy (3):
  cxgb4/chcr: update SGL DMA unmap for USO
  cxgb4: add UDP segmentation offload support
  cxgb4: add stats for MQPRIO QoS offload Tx path

 drivers/crypto/chelsio/chcr_ipsec.c           |  27 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h    |  21 +-
 .../ethernet/chelsio/cxgb4/cxgb4_debugfs.c    |   2 +
 .../ethernet/chelsio/cxgb4/cxgb4_ethtool.c    |  16 +-
 .../net/ethernet/chelsio/cxgb4/cxgb4_main.c   |  11 +-
 .../ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c  |   2 +-
 drivers/net/ethernet/chelsio/cxgb4/sge.c      | 290 ++++++++++--------
 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h |  14 +-
 8 files changed, 218 insertions(+), 165 deletions(-)

Comments

Jakub Kicinski Nov. 23, 2019, 12:48 a.m. UTC | #1
On Fri, 22 Nov 2019 06:30:00 +0530, Rahul Lakkireddy wrote:
> This series of patches add UDP Segmentation Offload (USO) supported
> by Chelsio T5/T6 NICs.
> 
> Patch 1 updates the current Scatter Gather List (SGL) DMA unmap logic
> for USO requests.
> 
> Patch 2 adds USO support for NIC and MQPRIO QoS offload Tx path.
> 
> Patch 3 adds missing stats for MQPRIO QoS offload Tx path.
> 
> Thanks,
> Rahul
> 
> v2:
> - Remove inline keyword from write_eo_udp_wr() in sge.c in patch 2.
>   Let the compiler decide.

Okay, these are good enough, so applied to net-next. Thanks!