From: "Creeley, Brett" <bcreeley@amd.com>
To: frank-w@public-files.de, Frank Wunderlich <linux@fw-web.de>,
Felix Fietkau <nbd@nbd.name>, Sean Wang <sean.wang@mediatek.com>,
Lorenzo Bianconi <lorenzo@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Russell King <linux@armlinux.org.uk>
Cc: Daniel Golle <daniel@makrotopia.org>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
Mason Chang <mason-cw.chang@mediatek.com>
Subject: Re: [RFC net-next v3 1/3] net: ethernet: mtk_eth_soc: Add register definitions for RSS and LRO
Date: Mon, 15 Dec 2025 15:39:08 -0800 [thread overview]
Message-ID: <9b7109cf-01d2-4dba-9e7b-7b94094ef4db@amd.com> (raw)
In-Reply-To: <033E8AC9-21D6-4707-AE75-37556241CC52@public-files.de>
On 12/15/2025 11:57 AM, Frank Wunderlich wrote:
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
>
>
> Am 15. Dezember 2025 20:28:36 MEZ schrieb "Creeley, Brett" <bcreeley@amd.com>:
>>
>> On 12/14/2025 3:03 AM, Frank Wunderlich wrote:
>>> diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.h b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
>>> index 0168e2fbc619..334625814b97 100644
>>> --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h
>>> +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
>>> @@ -1143,16 +1143,30 @@ struct mtk_reg_map {
>>> u32 tx_irq_mask;
>>> u32 tx_irq_status;
>>> struct {
>>> - u32 rx_ptr; /* rx base pointer */
>>> - u32 rx_cnt_cfg; /* rx max count configuration */
>>> - u32 pcrx_ptr; /* rx cpu pointer */
>>> - u32 glo_cfg; /* global configuration */
>>> - u32 rst_idx; /* reset index */
>>> - u32 delay_irq; /* delay interrupt */
>>> - u32 irq_status; /* interrupt status */
>>> - u32 irq_mask; /* interrupt mask */
>>> + u32 rx_ptr; /* rx base pointer */
>>> + u32 rx_cnt_cfg; /* rx max count configuration */
>>> + u32 pcrx_ptr; /* rx cpu pointer */
>>> + u32 pdrx_ptr; /* rx dma pointer */
>>> + u32 glo_cfg; /* global configuration */
>>> + u32 rst_idx; /* reset index */
>>> + u32 rx_cfg; /* rx dma configuration */
>>> + u32 delay_irq; /* delay interrupt */
>>> + u32 irq_status; /* interrupt status */
>>> + u32 irq_mask; /* interrupt mask */
>> Small nit - is the comment alignment really necessary?
> I could transform it to something like this:
>
> <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ethernet/mediatek/mtk_eth_soc.h#n921>
I think it's okay as is. I was more concerned about the extra noise, but
it's a pretty minimal change.
Brett
>
>> Thanks,
>>
>> Brett
>
> regards Frank
>
next prev parent reply other threads:[~2025-12-15 23:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-14 11:03 [RFC net-next v3 0/3] Add RSS and LRO support Frank Wunderlich
2025-12-14 11:03 ` [RFC net-next v3 1/3] net: ethernet: mtk_eth_soc: Add register definitions for RSS and LRO Frank Wunderlich
2025-12-15 19:28 ` Creeley, Brett
2025-12-15 19:57 ` Frank Wunderlich
2025-12-15 23:39 ` Creeley, Brett [this message]
2025-12-14 11:03 ` [RFC net-next v3 2/3] net: ethernet: mtk_eth_soc: Add RSS support Frank Wunderlich
2025-12-14 16:43 ` Andrew Lunn
2025-12-14 11:03 ` [RFC net-next v3 3/3] net: ethernet: mtk_eth_soc: Add LRO support Frank Wunderlich
2025-12-14 16:49 ` Andrew Lunn
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=9b7109cf-01d2-4dba-9e7b-7b94094ef4db@amd.com \
--to=bcreeley@amd.com \
--cc=andrew+netdev@lunn.ch \
--cc=angelogioacchino.delregno@collabora.com \
--cc=daniel@makrotopia.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=frank-w@public-files.de \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=linux@fw-web.de \
--cc=lorenzo@kernel.org \
--cc=mason-cw.chang@mediatek.com \
--cc=matthias.bgg@gmail.com \
--cc=nbd@nbd.name \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sean.wang@mediatek.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®