RE: [PATCH 1/2] net/fsl: fman: Allow fm_max_frame_sz & rx_extra_headroom config from devicetree.

From: Madalin Bucur
Date: Fri Feb 18 2022 - 02:24:06 EST


> -----Original Message-----
> From: Fred Lefranc <hardware.evs@xxxxxxxxx>
> Subject: [PATCH 1/2] net/fsl: fman: Allow fm_max_frame_sz &
> rx_extra_headroom config from devicetree.
>
> Allow modification of two additional Frame Manager parameters :
> - FM Max Frame Size : Can be changed to a value other than 1522
> (ie support Jumbo Frames)
> - RX Extra Headroom
>
> Signed-off-by: Fred Lefranc <hardware.evs@xxxxxxxxx>

Hi, Fred,

there are module params already for both, look into

drivers/net/ethernet/freescale/fman/fman.c

for fsl_fm_rx_extra_headroom and fsl_fm_max_frm.

Regards,
Madalin