lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220318205248.33367-1-saeed@kernel.org>
Date:   Fri, 18 Mar 2022 13:52:33 -0700
From:   Saeed Mahameed <saeed@...nel.org>
To:     "David S. Miller" <davem@...emloft.net>,
        Jakub Kicinski <kuba@...nel.org>
Cc:     netdev@...r.kernel.org, Saeed Mahameed <saeedm@...dia.com>
Subject: [pull request][net-next 00/15] mlx5 updates 2022-03-18

From: Saeed Mahameed <saeedm@...dia.com>

Hi Dave, Hi Jakub,

This series adds XDP multi-buffer support to mlx5.
For more information please see tag log below.

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

Thanks,
Saeed.


The following changes since commit e89600ebeeb14d18c0b062837a84196f72542830:

  af_vsock: SOCK_SEQPACKET broken buffer test (2022-03-18 15:13:19 +0000)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2022-03-18

for you to fetch changes up to 5dc2b581cd2cf518d28d0c703478a0c1fd54436c:

  net/mlx5e: HTB, remove unused function declaration (2022-03-18 13:51:16 -0700)

----------------------------------------------------------------
mlx5-updates-2022-03-18

1) XDP multi buffer support

This series enables XDP on non-linear legacy RQ in multi buffer mode.

When XDP is enabled, fragmentation scheme on non-linear legacy RQ is
adjusted to comply to limitations of XDP multi buffer (fragments of the
same size). DMA addresses of fragments are stored in struct page for the
completion handler to be able to unmap them. XDP_TX is supported.

XDP_REDIRECT is not yet supported, the XDP core blocks it for multi
buffer packets at the moment.

2) Trivial cleanups

----------------------------------------------------------------
Maxim Mikityanskiy (13):
      net/mlx5e: Prepare non-linear legacy RQ for XDP multi buffer support
      net/mlx5e: Use fragments of the same size in non-linear legacy RQ with XDP
      net/mlx5e: Use page-sized fragments with XDP multi buffer
      net/mlx5e: Add XDP multi buffer support to the non-linear legacy RQ
      net/mlx5e: Store DMA address inside struct page
      net/mlx5e: Move mlx5e_xdpi_fifo_push out of xmit_xdp_frame
      net/mlx5e: Remove assignment of inline_hdr.sz on XDP TX
      net/mlx5e: Don't prefill WQEs in XDP SQ in the multi buffer mode
      net/mlx5e: Implement sending multi buffer XDP frames
      net/mlx5e: Unindent the else-block in mlx5e_xmit_xdp_buff
      net/mlx5e: Support multi buffer XDP_TX
      net/mlx5e: Permit XDP with non-linear legacy RQ
      net/mlx5e: Remove MLX5E_XDP_TX_DS_COUNT

Saeed Mahameed (1):
      net/mlx5e: HTB, remove unused function declaration

Tariq Toukan (1):
      net/mlx5e: Statify function mlx5_cmd_trigger_completions

 drivers/net/ethernet/mellanox/mlx5/core/cmd.c      |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/en.h       |   5 +-
 .../net/ethernet/mellanox/mlx5/core/en/params.c    |  34 ++--
 .../net/ethernet/mellanox/mlx5/core/en/params.h    |   2 +
 drivers/net/ethernet/mellanox/mlx5/core/en/qos.h   |   1 -
 drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h  |   6 +-
 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c   | 198 ++++++++++++++++-----
 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h   |   7 +-
 .../net/ethernet/mellanox/mlx5/core/en/xsk/setup.c |   2 +-
 .../net/ethernet/mellanox/mlx5/core/en/xsk/tx.c    |   5 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  53 ++++--
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c    | 126 +++++++++----
 .../net/ethernet/mellanox/mlx5/core/mlx5_core.h    |   1 -
 13 files changed, 329 insertions(+), 113 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ