Re: [PATCH v2] net/nfp: ensure the MTU can work

2022-10-21 Thread Ferruh Yigit
On 10/21/2022 7:27 AM, Chaoyong He wrote: From: Peng Zhang 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 unrea

[PATCH v2] net/nfp: ensure the MTU can work

2022-10-20 Thread Chaoyong He
From: Peng Zhang 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 b