Changes in v6:
- address the comments from Frank and Jakub.
- only allow changing mtu when the adaptor is not running, simplifying
the configuration logic.
Changes in v5:
- move the macro FEC_DRV_RESERVE_SPACE to fec.h
- improve the comments for patch #0004
Changes in v4:
- configure the MAX_FL according to the MTU value, and correct the
comments for patch #3.
- in change_mtu function, revert to original setting when buffer
allocation fails in patch #4
- only enable the FIFO cut-through mode when mtu greater than
(PKT_MAXBUF_SIZE - ETH_HLEN - ETH_FCS_LEN)
Changes in v3:
- modify the OPT_FRAME_SIZE definition and drop the condition logic
- address the review comments from Wei Fang
Changes in v2:
- split the v1 patch per Andrew's feedback.
Shenwei Wang (6):
net: fec: use a member variable for maximum buffer size
net: fec: add pagepool_order to support variable page size
net: fec: update MAX_FL based on the current MTU
net: fec: add rx_frame_size to support configurable RX length
net: fec: add change_mtu to support dynamic buffer allocation
net: fec: enable the Jumbo frame support for i.MX8QM
drivers/net/ethernet/freescale/fec.h | 11 +++-
drivers/net/ethernet/freescale/fec_main.c | 68 ++++++++++++++++++-----
2 files changed, 63 insertions(+), 16 deletions(-)
--
2.43.0