[dpdk-dev] [PATCH v7 00/10] example/l2fwd-event: introduce l2fwd-event example

Jerin Jacob jerinjacobk at gmail.com
Wed Oct 30 13:58:56 CET 2019


On Sat, Oct 26, 2019 at 4:41 PM <pbhagavatula at marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
>
> This patchset adds a new application to demonstrate the usage of event
> mode. The poll mode is also available to help with the transition.
>
> The following new command line parameters are added:
>  --mode: Dictates the mode of operation either poll or event.
>  --eventq_sched: Dictates event scheduling mode ordered, atomic or
>                  parallel.
>
> Based on event device capability the configuration is done as follows:
>     - A single event device is enabled.
>     - The number of event ports is equal to the number of worker
>       cores enabled in the core mask. Additional event ports might
>       be configured based on Rx/Tx adapter capability.
>     - The number of event queues is equal to the number of ethernet
>       ports. If Tx adapter doesn't have internal port capability then
>       an additional single link event queue is used to enqueue events
>       to Tx adapter.
>     - Each event port is linked to all existing event queues.
>     - Dedicated Rx/Tx adapters for each Ethernet port.

Please fix the below clang build issue

http://mails.dpdk.org/archives/test-report/2019-October/104973.html

../examples/l2fwd-event/l2fwd_event.c:(.text+0xb4d): undefined
reference to `__atomic_fetch_add_8'
examples/c590b3c@@dpdk-l2fwd-event at
exe/l2fwd-event_l2fwd_event.c.o:../examples/l2fwd-event/l2fwd_event.c:(.text+0xbb0):
more undefined references to `__atomic_fetch_add_8' follow
clang: error: linker command failed with exit code 1 (use -v to see invocation)


More information about the dev mailing list