netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: FUJITA Tomonori <fujita.tomonori@gmail.com>
Cc: netdev@vger.kernel.org, andrew@lunn.ch, jiri@resnulli.us,
	horms@kernel.org
Subject: Re: [PATCH net-next v3 4/6] net: tn40xx: add basic Rx handling
Date: Mon, 29 Apr 2024 20:27:13 -0700	[thread overview]
Message-ID: <20240429202713.05a1d8fc@kernel.org> (raw)
In-Reply-To: <20240429043827.44407-5-fujita.tomonori@gmail.com>

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

  reply	other threads:[~2024-04-30  3:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29  4:38 [PATCH net-next v3 0/6] add ethernet driver for Tehuti Networks TN40xx chips FUJITA Tomonori
2024-04-29  4:38 ` [PATCH net-next v3 1/6] net: tn40xx: add pci " FUJITA Tomonori
2024-04-30 15:40   ` Andrew Lunn
2024-04-29  4:38 ` [PATCH net-next v3 2/6] net: tn40xx: add register defines FUJITA Tomonori
2024-04-29  4:38 ` [PATCH net-next v3 3/6] net: tn40xx: add basic Tx handling FUJITA Tomonori
2024-04-30 20:40   ` Andrew Lunn
2024-05-01  6:48     ` FUJITA Tomonori
2024-04-29  4:38 ` [PATCH net-next v3 4/6] net: tn40xx: add basic Rx handling FUJITA Tomonori
2024-04-30  3:27   ` Jakub Kicinski [this message]
2024-05-01  6:16     ` FUJITA Tomonori
2024-05-01 13:34       ` Jakub Kicinski
2024-05-01 16:08         ` Andrew Lunn
2024-04-29  4:38 ` [PATCH net-next v3 5/6] net: tn40xx: add mdio bus support FUJITA Tomonori
2024-04-30 20:51   ` Andrew Lunn
2024-05-01  6:22     ` FUJITA Tomonori
2024-04-29  4:38 ` [PATCH net-next v3 6/6] net: tn40xx: add PHYLIB support FUJITA Tomonori
2024-04-30 20:58   ` Andrew Lunn
2024-05-01  6:41     ` FUJITA Tomonori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240429202713.05a1d8fc@kernel.org \
    --to=kuba@kernel.org \
    --cc=andrew@lunn.ch \
    --cc=fujita.tomonori@gmail.com \
    --cc=horms@kernel.org \
    --cc=jiri@resnulli.us \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).