Re: [dpdk-dev] [PATCH v14 21/23] event/dlb: add PMD self-tests

2020-10-31 Thread David Marchand
On Sat, Oct 31, 2020 at 7:24 PM Timothy McDaniel wrote: > +static inline int > +create_ports(int num_ports) > +{ > + int i; > + > + if (num_ports > MAX_PORTS) > + return -1; > + > + for (i = 0; i < num_ports; i++) { > + struct rte_event_port_conf conf;

[dpdk-dev] [PATCH v14 21/23] event/dlb: add PMD self-tests

2020-10-31 Thread Timothy McDaniel
Add a variety of self-tests for both ldb and directed ports/queues, as well as configure, start, stop, link, etc... Signed-off-by: Timothy McDaniel Reviewed-by: Gage Eads --- app/test/test_eventdev.c |7 + drivers/event/dlb/dlb.c |1 + drivers/event/dlb/dlb_selftest.c |