Re: [PATCH] examples/l3fwd: support setting the data size of mbuf

2024-10-17 Thread Stephen Hemminger
On Wed, 16 Oct 2024 16:22:32 +0800 Chaoyong He wrote: > From: Long Wu > > The previous code used a macro as the data size for mbuf > to create the mempool and users cannot modify the size. > > Now modify the code to support setting the data size of > mbuf by '--mbuf-size' parameter. If user do

Re: [PATCH] examples/l3fwd: support setting the data size of mbuf

2024-10-16 Thread Patrick Robb
Sorry to interrupt the conversation - obviously the CI testing fail is a false failure and should be ignored by the maintainer here. For those curious, it failed like this, which I have seen previously in a similar case: tester: Pkt number not matched,2000 sent and 1999 received I'm removing this

Re: [PATCH] examples/l3fwd: support setting the data size of mbuf

2024-10-16 Thread Stephen Hemminger
On Wed, 16 Oct 2024 16:22:32 +0800 Chaoyong He wrote: > From: Long Wu > > The previous code used a macro as the data size for mbuf > to create the mempool and users cannot modify the size. > > Now modify the code to support setting the data size of > mbuf by '--mbuf-size' parameter. If user do

RE: [PATCH] examples/l3fwd: support setting the data size of mbuf

2024-10-16 Thread Morten Brørup
> From: Chaoyong He [mailto:chaoyong...@corigine.com] > Sent: Wednesday, 16 October 2024 10.23 > > From: Long Wu > > The previous code used a macro as the data size for mbuf > to create the mempool and users cannot modify the size. > > Now modify the code to support setting the data size of > m

[PATCH] examples/l3fwd: support setting the data size of mbuf

2024-10-16 Thread Chaoyong He
From: Long Wu The previous code used a macro as the data size for mbuf to create the mempool and users cannot modify the size. Now modify the code to support setting the data size of mbuf by '--mbuf-size' parameter. If user does not add the parameter in start command line, the default size is st