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: <cover.1738665783.git.petrm@nvidia.com>
Date: Tue, 4 Feb 2025 12:04:55 +0100
From: Petr Machata <petrm@...dia.com>
To: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
	<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
	<pabeni@...hat.com>, Andrew Lunn <andrew+netdev@...n.ch>,
	<netdev@...r.kernel.org>
CC: Amit Cohen <amcohen@...dia.com>, Ido Schimmel <idosch@...dia.com>, "Petr
 Machata" <petrm@...dia.com>, Alexei Starovoitov <ast@...nel.org>, "Daniel
 Borkmann" <daniel@...earbox.net>, Jesper Dangaard Brouer <hawk@...nel.org>,
	John Fastabend <john.fastabend@...il.com>, <bpf@...r.kernel.org>,
	<mlxsw@...dia.com>
Subject: [PATCH net-next 00/12] mlxsw: Preparations for XDP support

Amit Cohen writes:

A future patch set will add support for XDP in mlxsw driver. This set adds
some preparations.

Patch set overview:
Patch #1 removes debug prints
Patch #2 handles local port from LAG in PCI driver
Patches #3-#4 add rx_pkt_info and use it
Patch #5 adds a separate function for syncing buffer
Patches #6-#8 store mapping between local port to netdevice in PCI driver
Patch #9 initializes XDP Rx queue info
Patch #10 initializes PCI port
Patch #11 handles some SKB fields in PCI driver
Patch #12 moves local port validation to PCI driver

Amit Cohen (12):
  mlxsw: core: Remove debug prints
  mlxsw: Check Rx local port in PCI code
  mlxsw: Add struct mlxsw_pci_rx_pkt_info
  mlxsw: pci: Use mlxsw_pci_rx_pkt_info
  mlxsw: pci: Add a separate function for syncing buffers for CPU
  mlxsw: pci: Store maximum number of ports
  mlxsw: pci: Add PCI ports array
  mlxsw: Add APIs to init/fini PCI port
  mlxsw: pci: Initialize XDP Rx queue info per RDQ
  mlxsw: spectrum: Initialize PCI port with the relevant netdevice
  mlxsw: Set some SKB fields in bus driver
  mlxsw: Validate local port from CQE in PCI code

 drivers/net/ethernet/mellanox/mlxsw/core.c    |  38 ++-
 drivers/net/ethernet/mellanox/mlxsw/core.h    |  13 +-
 drivers/net/ethernet/mellanox/mlxsw/pci.c     | 249 +++++++++++++-----
 drivers/net/ethernet/mellanox/mlxsw/pci.h     |   8 +
 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h  |   1 -
 .../net/ethernet/mellanox/mlxsw/spectrum.c    |   8 +-
 .../ethernet/mellanox/mlxsw/spectrum_trap.c   |   6 +-
 7 files changed, 218 insertions(+), 105 deletions(-)

-- 
2.47.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ