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: <20240501.151616.1646623450396319799.fujita.tomonori@gmail.com>
Date: Wed, 01 May 2024 15:16:16 +0900 (JST)
From: FUJITA Tomonori <fujita.tomonori@...il.com>
To: kuba@...nel.org
Cc: fujita.tomonori@...il.com, 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

Hi,

On Mon, 29 Apr 2024 20:27:13 -0700
Jakub Kicinski <kuba@...nel.org> wrote:

> 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);
>       |                                     ^

My bad. Fixed. I should have found this warning in patchwork before.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ