All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fil Dunsky <filipp.dunsky@gmail.com>
To: sashiko-reviews@lists.linux.dev
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH net-next v8 2/3] net: cortina: Add CS7542 CPU network datapath
Date: Sat, 05 Dec 2026 13:53:41 -0000	[thread overview]
Message-ID: <179647882170.6.6820387330319858360@gmail.com> (raw)
In-Reply-To: <sashiko-outbox-251080@kernel.org>

Thanks for the review. v9 disables netpoll for the shared TX ring,
takes a reference on each port's DT node until after phylink teardown,
uses GFP_KERNEL for the probe-time RX pool, and uses DEV_STATS_INC()
for the error and drop counters.

The linear and scatter-gather TX paths share the descriptor helper and
write the DMA words in little-endian order. The head is published once,
after the complete frame has been mapped. Updates to head, tail and
fault use WRITE_ONCE() to pair with the lockless reads. The shared lock
still protects mapping and completion against per-port TX and teardown.

RX now uses the refreshed XRAM write pointer. The IRQ handler still
acknowledges the latch, so a stale latch can cause an extra empty poll.
The current RX lock and jumbo skb allocation are retained. The receive
path copies from a persistent DMA pool, and transferring those pages
to the stack would also require changing how the pool is replenished.

The DRR bypass command addresses the port shaper, so v9 issues it once
per port, outside the queue loop. The per-queue DRR enable commands and
the existing LT/ST programming are retained.

I'll post the full v9 series separately.

Thanks,
Fil

  reply	other threads:[~2026-12-05 14:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  3:57 [PATCH net-next v8 0/3] Add Cortina Systems CS7542 network engine support Fil Dunsky via B4 Relay
2026-12-04  3:57 ` Fil Dunsky
2026-12-04  3:57 ` [PATCH net-next v8 1/3] dt-bindings: net: Add Cortina CS7542 network engine Fil Dunsky via B4 Relay
2026-12-04  3:57   ` Fil Dunsky
2026-12-04  3:57 ` [PATCH net-next v8 2/3] net: cortina: Add CS7542 CPU network datapath Fil Dunsky via B4 Relay
2026-12-04  3:57   ` Fil Dunsky
2026-12-05  4:20   ` sashiko-bot
2026-12-05 13:53     ` Fil Dunsky [this message]
2026-12-04  3:57 ` [PATCH net-next v8 3/3] MAINTAINERS: Add CS7542 network engine support Fil Dunsky via B4 Relay
2026-12-04  3:57   ` Fil Dunsky

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=179647882170.6.6820387330319858360@gmail.com \
    --to=filipp.dunsky@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.