mbox

[pull,request,net,00/15] Mellanox, mlx5 kTLS fixes 18-10-2019

Message ID 20191018193737.13959-1-saeedm@mellanox.com
State Accepted
Delegated to: David Miller
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-fixes-2019-10-18

Message

Saeed Mahameed Oct. 18, 2019, 7:37 p.m. UTC
Hi Dave,

This series introduces kTLS related fixes to mlx5 driver from Tariq,
and two misc memory leak fixes form Navid Emamdoost.

Please pull and let me know if there is any problem.

I would appreciate it if you queue up kTLS fixes from the list below to
stable kernel v5.3 !

For -stable v4.13:
  nett/mlx5: prevent memory leak in mlx5_fpga_conn_create_cq 

For -stable v5.3:
  net/mlx5: fix memory leak in mlx5_fw_fatal_reporter_dump
  net/mlx5e: Tx, Fix assumption of single WQEBB of NOP in cleanup flow
  net/mlx5e: Tx, Zero-memset WQE info struct upon update
  net/mlx5e: kTLS, Release reference on DUMPed fragments in shutdown flow
  net/mlx5e: kTLS, Size of a Dump WQE is fixed
  net/mlx5e: kTLS, Save only the frag page to release at completion
  net/mlx5e: kTLS, Save by-value copy of the record frags
  net/mlx5e: kTLS, Fix page refcnt leak in TX resync error flow
  net/mlx5e: kTLS, Fix missing SQ edge fill
  net/mlx5e: kTLS, Limit DUMP wqe size
  net/mlx5e: kTLS, Remove unneeded cipher type checks
  net/mlx5e: kTLS, Save a copy of the crypto info
  net/mlx5e: kTLS, Enhance TX resync flow
  net/mlx5e: TX, Fix consumer index of error cqe dump

Thanks,
Saeed.

---
The following changes since commit 38b4fe320119859c11b1dc06f6b4987a16344fa1:

  net: usb: lan78xx: Connect PHY before registering MAC (2019-10-18 10:22:04 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-fixes-2019-10-18

for you to fetch changes up to c7ed6d0183d5ea9bc31bcaeeba4070bd62546471:

  net/mlx5: fix memory leak in mlx5_fw_fatal_reporter_dump (2019-10-18 12:11:55 -0700)

----------------------------------------------------------------
mlx5-fixes-2019-10-18

----------------------------------------------------------------
Navid Emamdoost (2):
      net/mlx5: prevent memory leak in mlx5_fpga_conn_create_cq
      net/mlx5: fix memory leak in mlx5_fw_fatal_reporter_dump

Tariq Toukan (13):
      net/mlx5e: Tx, Fix assumption of single WQEBB of NOP in cleanup flow
      net/mlx5e: Tx, Zero-memset WQE info struct upon update
      net/mlx5e: kTLS, Release reference on DUMPed fragments in shutdown flow
      net/mlx5e: kTLS, Size of a Dump WQE is fixed
      net/mlx5e: kTLS, Save only the frag page to release at completion
      net/mlx5e: kTLS, Save by-value copy of the record frags
      net/mlx5e: kTLS, Fix page refcnt leak in TX resync error flow
      net/mlx5e: kTLS, Fix missing SQ edge fill
      net/mlx5e: kTLS, Limit DUMP wqe size
      net/mlx5e: kTLS, Remove unneeded cipher type checks
      net/mlx5e: kTLS, Save a copy of the crypto info
      net/mlx5e: kTLS, Enhance TX resync flow
      net/mlx5e: TX, Fix consumer index of error cqe dump

 drivers/net/ethernet/mellanox/mlx5/core/en.h       |   3 +-
 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h  |  13 +-
 .../ethernet/mellanox/mlx5/core/en_accel/ktls.c    |   2 +-
 .../ethernet/mellanox/mlx5/core/en_accel/ktls.h    |  29 +++-
 .../ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c | 190 ++++++++++++---------
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  13 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c |  16 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h |  10 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c    |  35 ++--
 .../net/ethernet/mellanox/mlx5/core/fpga/conn.c    |   4 +-
 drivers/net/ethernet/mellanox/mlx5/core/health.c   |   2 +-
 11 files changed, 199 insertions(+), 118 deletions(-)

Comments

David Miller Oct. 21, 2019, 4:19 p.m. UTC | #1
From: Saeed Mahameed <saeedm@mellanox.com>
Date: Fri, 18 Oct 2019 19:37:59 +0000

> This series introduces kTLS related fixes to mlx5 driver from Tariq,
> and two misc memory leak fixes form Navid Emamdoost.
> 
> Please pull and let me know if there is any problem.

Puleld.

> I would appreciate it if you queue up kTLS fixes from the list below to
> stable kernel v5.3 !
> 
> For -stable v4.13:
>   nett/mlx5: prevent memory leak in mlx5_fpga_conn_create_cq 
> 
> For -stable v5.3:
>   net/mlx5: fix memory leak in mlx5_fw_fatal_reporter_dump
>   net/mlx5e: Tx, Fix assumption of single WQEBB of NOP in cleanup flow
>   net/mlx5e: Tx, Zero-memset WQE info struct upon update
>   net/mlx5e: kTLS, Release reference on DUMPed fragments in shutdown flow
>   net/mlx5e: kTLS, Size of a Dump WQE is fixed
>   net/mlx5e: kTLS, Save only the frag page to release at completion
>   net/mlx5e: kTLS, Save by-value copy of the record frags
>   net/mlx5e: kTLS, Fix page refcnt leak in TX resync error flow
>   net/mlx5e: kTLS, Fix missing SQ edge fill
>   net/mlx5e: kTLS, Limit DUMP wqe size
>   net/mlx5e: kTLS, Remove unneeded cipher type checks
>   net/mlx5e: kTLS, Save a copy of the crypto info
>   net/mlx5e: kTLS, Enhance TX resync flow
>   net/mlx5e: TX, Fix consumer index of error cqe dump

Queued up.