Re: ring name size

2023-09-04 Thread Thomas Monjalon
04/09/2023 11:33, Morten Brørup: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Monday, 4 September 2023 11.31 > > > > Hello, > > > > When creating a ring, we need to know the maximum length of the name. > > It seems this value is not documented. > > And there is no constant def

RE: ring name size

2023-09-04 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, 4 September 2023 11.31 > > Hello, > > When creating a ring, we need to know the maximum length of the name. > It seems this value is not documented. > And there is no constant defined. It is defined (with a description) here: h

ring name size

2023-09-04 Thread Thomas Monjalon
Hello, When creating a ring, we need to know the maximum length of the name. It seems this value is not documented. And there is no constant defined. There is only RTE_MEMZONE_NAMESIZE. Should we document the maximum length as 31 and add a constant? #define RTE_RING_NAME_SIZE RTE_MEMZONE_NAMESIZE