From: Andrew Lunn <andrew@lunn.ch>
To: Fil Dunsky <filipp.dunsky@gmail.com>
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, 2 Dec 2026 17:11:09 +0100 [thread overview]
Message-ID: <cd91771e-9117-45c8-8923-039f8af7e6ea@lunn.ch> (raw)
In-Reply-To: <179617937855.5.11721813140107507027@gmail.com>
On Wed, Dec 02, 2026 at 05:42:58AM +0300, Fil Dunsky wrote:
> 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
Pause frames don't really matter what address they use, they never get
passed the MAC into the network stack. They also use a link local
distination, the source address is ignored by the receiver. So pause
will probably work with any random source address.
> and
> the address for WoL detection.
WoL is going to be messy. Basically, if the user has changed the MAC
address, you cannot report the MAC supporting magic packet. Or you
need to somehow give the user a way to know what address it is
listening for. Maybe just rely on the PHY doing WoL?
Andrew
next prev parent reply other threads:[~2026-12-02 16:11 UTC|newest]
Thread overview: 7+ 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 ` [PATCH net-next v6 1/3] dt-bindings: net: Add Cortina CS7542 network engine Fil Dunsky via B4 Relay
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-02 2:08 ` Andrew Lunn
2026-12-02 2:42 ` Fil Dunsky
2026-12-02 16:11 ` Andrew Lunn [this message]
2026-12-01 23:36 ` [PATCH net-next v6 3/3] MAINTAINERS: Add CS7542 network engine support Fil Dunsky via B4 Relay
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=cd91771e-9117-45c8-8923-039f8af7e6ea@lunn.ch \
--to=andrew@lunn.ch \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@kernel.org \
--cc=filipp.dunsky@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®