Re: [PATCH net-next v3 3/3] net: macb: add support for Microchip pic64hpsc ethernet endpoint
From: Théo Lebrun
Date: Tue Mar 17 2026 - 11:36:56 EST
On Fri Mar 13, 2026 at 3:06 PM CET, Charles Perry wrote:
> pic64hpsc doesn't have the USRIO register so MACB_CAPS_USRIO_DISABLED is
> used.
>
> pic64hpsc does support PTP and has the timestamping unit so
> MACB_CAPS_GEM_HAS_PTP is used.
>
> jumbo_max_len is set to 16383 (0x3FFF) as reported by the DCFG2 register
> bits 0..13. The JML register also has a default value of 0x3FFF.
>
> dma_burst_length is set to 16 because that's what most other platforms
> use and it worked for me so far. There is one other mode where bursts of
> up to 256 are allowed but this might impact negatively other masters on
> the NOC. The register default value is 4 (bursts up to 4).
>
> Signed-off-by: Charles Perry <charles.perry@xxxxxxxxxxxxx>
> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>
> ---
> drivers/net/ethernet/cadence/macb_main.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
Reviewed-by: Théo Lebrun <theo.lebrun@xxxxxxxxxxx>
Thanks,
--
Théo Lebrun, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com