Subject: Re: [PATCH net-next v3 4/6] net: tn40xx: add basic Rx handling

From: Jakub Kicinski <[email-masked]>
Date: Mon, 29 Apr 2024 20:27:13 -0700

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