Re: [PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-18 Thread Ferruh Yigit
On 10/18/2022 10:50 AM, Nole Zhang wrote: -Original Message- From: Ferruh Yigit Sent: 2022年10月18日 17:36 To: Nole Zhang ; Chaoyong He ; dev@dpdk.org Cc: oss-drivers ; Niklas Soderlund ; sta...@dpdk.org Subject: Re: [PATCH] net/nfp: set the appropriate initialized value of flbufsz On

RE: [PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-18 Thread Nole Zhang
> -Original Message- > From: Ferruh Yigit > Sent: 2022年10月18日 17:36 > To: Nole Zhang ; Chaoyong He > ; dev@dpdk.org > Cc: oss-drivers ; Niklas Soderlund > ; sta...@dpdk.org > Subject: Re: [PATCH] net/nfp: set the appropriate initialized value of flbufsz > &g

Re: [PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-18 Thread Ferruh Yigit
On 10/18/2022 9:51 AM, Nole Zhang wrote: On 10/18/2022 2:41 AM, Nole Zhang wrote: On 10/15/2022 8:38 AM, Nole Zhang wrote: > On 10/10/2022 7:48 AM, Chaoyong He wrote: From: Peng Zhang When the testpmd app start-up with parameter max-pkt-len, it will set MTU. But the initialized value

RE: [PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-18 Thread Nole Zhang
> On 10/18/2022 2:41 AM, Nole Zhang wrote: > > > >> On 10/15/2022 8:38 AM, Nole Zhang wrote: > >>>> On 10/10/2022 7:48 AM, Chaoyong He wrote: > > From: Peng Zhang > > > > When the testpmd app start-up with parameter max-pkt-len, it will > > set > MTU. > > But the initi

Re: [PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-18 Thread Ferruh Yigit
On 10/18/2022 2:41 AM, Nole Zhang wrote: On 10/15/2022 8:38 AM, Nole Zhang wrote: > On 10/10/2022 7:48 AM, Chaoyong He wrote: From: Peng Zhang When the testpmd app start-up with parameter max-pkt-len, it will set MTU. But the initialized value of flubfsz is inappropriate, if the value

RE: [PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-17 Thread Nole Zhang
> On 10/15/2022 8:38 AM, Nole Zhang wrote: > > > On 10/10/2022 7:48 AM, Chaoyong He wrote: > >>> From: Peng Zhang > >>> > >>> When the testpmd app start-up with parameter max-pkt-len, it will > >>> set > >> MTU. > >>> But the initialized value of flubfsz is inappropriate, if the value > >>> of

Re: [PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-17 Thread Ferruh Yigit
On 10/15/2022 8:38 AM, Nole Zhang wrote: > On 10/10/2022 7:48 AM, Chaoyong He wrote: From: Peng Zhang When the testpmd app start-up with parameter max-pkt-len, it will set MTU. But the initialized value of flubfsz is inappropriate, if the value of flbufsz is smaller than the valude of max-

RE: [PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-15 Thread Nole Zhang
> On 10/10/2022 7:48 AM, Chaoyong He wrote: > > From: Peng Zhang > > > > When the testpmd app start-up with parameter max-pkt-len, it will set > MTU. > > But the initialized value of flubfsz is inappropriate, if the value of > > flbufsz is smaller than the valude of max-pkt-len, the testpmd app >

Re: [PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-13 Thread Ferruh Yigit
On 10/10/2022 7:48 AM, Chaoyong He wrote: From: Peng Zhang When the testpmd app start-up with parameter max-pkt-len, it will set MTU. But the initialized value of flubfsz is inappropriate, if the value of flbufsz is smaller than the valude of max-pkt-len, the testpmd app will start fail. Wha

[PATCH] net/nfp: set the appropriate initialized value of flbufsz

2022-10-09 Thread Chaoyong He
From: Peng Zhang When the testpmd app start-up with parameter max-pkt-len, it will set MTU. But the initialized value of flubfsz is inappropriate, if the value of flbufsz is smaller than the valude of max-pkt-len, the testpmd app will start fail. Fixes: 5c305e218f15 ("net/nfp: fix initialization