> -----Original Message----- > From: Jerin Jacob <jerinjac...@gmail.com> > Sent: Wednesday, October 28, 2020 4:36 AM > To: McDaniel, Timothy <timothy.mcdan...@intel.com> > Cc: Richardson, Bruce <bruce.richard...@intel.com>; dpdk-dev > <dev@dpdk.org>; Carrillo, Erik G <erik.g.carri...@intel.com>; Eads, Gage > <gage.e...@intel.com>; Van Haaren, Harry <harry.van.haa...@intel.com>; > Jerin Jacob <jer...@marvell.com> > Subject: Re: [dpdk-dev] [PATCH 1/1] eventdev: increase MAX QUEUES PER DEV > to 255 > > On Mon, Oct 26, 2020 at 9:29 PM Timothy McDaniel > <timothy.mcdan...@intel.com> wrote: > > > > DLB supports a total of 256 queues, 128 load balanced queues > > and 128 directed queues. > > > > Signed-off-by: Timothy McDaniel <timothy.mcdan...@intel.com> > > --- > > config/rte_config.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/config/rte_config.h b/config/rte_config.h > > index 8aa46a1..b78c6aa 100644 > > --- a/config/rte_config.h > > +++ b/config/rte_config.h > > @@ -71,7 +71,7 @@ > > > > /* eventdev defines */ > > #define RTE_EVENT_MAX_DEVS 16 > > -#define RTE_EVENT_MAX_QUEUES_PER_DEV 64 > > +#define RTE_EVENT_MAX_QUEUES_PER_DEV 255 > > If it is 0..255 then this value should be 256. Isn't it? >
.max_event_queues is a uint8_t, so we could not go to 256 without changing the data structure. > > > #define RTE_EVENT_TIMER_ADAPTER_NUM_MAX 32 > > #define RTE_EVENT_ETH_INTR_RING_SIZE 1024 > > #define RTE_EVENT_CRYPTO_ADAPTER_MAX_INSTANCE 32 > > -- > > 2.6.4 > >