On 10/21/2022 7:27 AM, Chaoyong He wrote:
From: Peng Zhang <[email protected]>When MTU is bigger than hw->flbufsz, it can't work. hw->flbufsz is set in the nfp_net_rx_queue_setup(). At first, in the nfp_net_configure(), the hw->flbufsz isn't set the value, it just judge the initialized value and MTU, it is unreasonable. Now, it just check the MTU can't be more than the NFP_FRAME_SIZE_MAX in the nfp_net_configure(), when hw->flbufsz is set the value, in the nfp_net_start(), judge the hw->flbufsz and MTU. Fixes: 5c305e218f15 ("net/nfp: fix initialization") Cc: [email protected] Signed-off-by: Peng Zhang <[email protected]> Reviewed-by: Chaoyong He <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]>
Applied to dpdk-next-net/main, thanks.

