All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fil Dunsky <filipp.dunsky@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Linus Walleij <linusw@kernel.org>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Hans Ulli Kroll <ulli.kroll@googlemail.com>,
	Russell King <linux@armlinux.org.uk>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v6 2/3] net: cortina: Add CS7542 CPU network datapath
Date: Wed, 02 Dec 2026 05:42:58 +0300	[thread overview]
Message-ID: <179617937855.5.11721813140107507027@gmail.com> (raw)
In-Reply-To: <8fc46e0b-0b85-4bad-9c78-58cb5f2dd2d3@lunn.ch>

Hi Andrew,

Thanks for the review. The Cortina NI has one MAC_ADDR0 register for
octets 0–3 and one MAC_ADDR1 field for octet 4. Each GE port has its own
CONFIG2.mac_addr6 field at 0x18 + 12 * port. The vendor driver describes
the resulting address as the source for generated pause frames and
the address for WoL detection. It programs a separate, full-width
FE AN_BNG_MAC table for ingress destination addresses.

The v6 CPU path classifies ingress by logical source port. Our
five-octet restriction came from programming the shared NI prefix for
hardware pause. I have a candidate that allows independent addresses
using eth_mac_addr() and leaves hardware pause disabled. I'll test
arbitrary addresses on both ports, including RX and TX after changing
just one port, before rerolling.

I've split packet handling out of the NAPI loop and addressed the
declaration order and FE return. I'll keep the ndo_stop callback's
required int signature. It returns zero after teardown.

Thanks,
Fil


  reply	other threads:[~2026-12-02  2:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 23:36 [PATCH net-next v6 0/3] Add Cortina Systems CS7542 network engine support Fil Dunsky via B4 Relay
2026-12-01 23:36 ` Fil Dunsky
2026-12-01 23:36 ` [PATCH net-next v6 1/3] dt-bindings: net: Add Cortina CS7542 network engine Fil Dunsky via B4 Relay
2026-12-01 23:36   ` Fil Dunsky
2026-12-01 23:36 ` [PATCH net-next v6 2/3] net: cortina: Add CS7542 CPU network datapath Fil Dunsky via B4 Relay
2026-12-01 23:36   ` Fil Dunsky
2026-12-02  2:08   ` Andrew Lunn
2026-12-02  2:42     ` Fil Dunsky [this message]
2026-12-01 23:36 ` [PATCH net-next v6 3/3] MAINTAINERS: Add CS7542 network engine support Fil Dunsky via B4 Relay
2026-12-01 23:36   ` 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=179617937855.5.11721813140107507027@gmail.com \
    --to=filipp.dunsky@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=pabeni@redhat.com \
    --cc=robh@kernel.org \
    --cc=ulli.kroll@googlemail.com \
    /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.