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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240429202713.05a1d8fc@kernel.org>
Date: Mon, 29 Apr 2024 20:27:13 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: FUJITA Tomonori <fujita.tomonori@...il.com>
Cc: netdev@...r.kernel.org, andrew@...n.ch, jiri@...nulli.us,
 horms@...nel.org
Subject: Re: [PATCH net-next v3 4/6] net: tn40xx: add basic Rx handling

On Mon, 29 Apr 2024 13:38:25 +0900 FUJITA Tomonori wrote:
> This patch adds basic Rx handling. The Rx logic uses three major data
> structures; two ring buffers with NIC and one database. One ring
> buffer is used to send information to NIC about memory to be stored
> packets to be received. The other is used to get information from NIC
> about received packets. The database is used to keep the information
> about DMA mapping. After a packet arrived, the db is used to pass the
> packet to the network stack.

32b platforms are not on board:

drivers/net/ethernet/tehuti/tn40.c:318:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  318 |                            dm->off, (void *)dm->dma);
      |                                     ^
-- 
pw-bot: cr

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ