Re: [RFC net-next v3 1/3] net: ethernet: mtk_eth_soc: Add register definitions for RSS and LRO
Frank Wunderlich
frank-w at public-files.de
Mon Dec 15 11:57:40 PST 2025
Am 15. Dezember 2025 20:28:36 MEZ schrieb "Creeley, Brett" <bcreeley at 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>
>Thanks,
>
>Brett
regards Frank
More information about the Linux-mediatek
mailing list