examples/l2fwd-crypto: fix build with pkg-config
authorDavid Marchand <david.marchand@redhat.com>
Sat, 14 Nov 2020 09:05:26 +0000 (10:05 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 15 Nov 2020 14:29:24 +0000 (15:29 +0100)
commitbcd3004381b09adaa1ab7ceb9c0592e640fb210c
tree8e0d7e6172ef497cf67898a4658b377bb53bc98f
parent58a0648bd33c3cb7ff6e746c639e0613fda4b9b0
examples/l2fwd-crypto: fix build with pkg-config

Two issues fixed here.

First add the experimental flag.
Then fix a link issue with the crypto scheduler driver:
/usr/bin/ld: /tmp/cchr7aHA.o: in function `main':
main.c:(.text.startup+0x1673): undefined reference to
`rte_cryptodev_scheduler_workers_get'
collect2: error: ld returned 1 exit status

Fixes: e3bcb99a5e13 ("examples/l2fwd-crypto: limit number of sessions")
Fixes: 261bbff75e34 ("examples: use separate crypto session mempools")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
examples/l2fwd-crypto/Makefile