[net-next v1] net: wwan: t7xx: Parameterize data plane RX BAT and FAG count
Jinjian Song
jinjian.song at fibocom.com
Wed Jun 4 02:17:22 PDT 2025
>On Tue, 20 May 2025 10:59:34 +0800 Jinjian Song wrote:
>> If it's not feasible to directly add parameters for configuring this RX buffer(BAT/FAG) to
>> the mtk_t7xx driver, would it be allowed to add aparameter for a default configuration
>> ratio (1/2, 1/4)? Or is it not recommended to use driver parameters for mtk_t7xx driver.
>
>Looks into devlink params then
>
Hi Jakub,
The parameters are used by data plane to request RX DMA buffers for the entrire lifetime of
the driver, so it's best to determine them at the driver load time. Adjusting them after the
driver has been probed could introduce complex issues (e.g., the DMA buffers may already be
in use for communication when the parameters are changed. While devlink appears to support
parameter configuration via driver reload and runtime adjustment, both of these occur after
the driver has been probed, which doesn't seem very friendly to the overall logic.
Thanks.
Jinjian,
Best Regards.
More information about the Linux-mediatek
mailing list