[dpdk-dev] [PATCH v1 00/15] preparing l2fwd for eventmode additions
Anoob Joseph
anoob.joseph at caviumnetworks.com
Thu Jun 14 13:48:51 CEST 2018
This patchset modularizes l2fwd application to prepare it for eventmode
additions. This patchset doesn't change the code flow or logic, except
for few minor improvements. Some of the newly added functions are used
in just one place, but is added for efficient usage with eventmode.
v1:
* Fix all checkpatch reported issues
Anoob Joseph (15):
examples/l2fwd: add new header to move common code
examples/l2fwd: move macro definitions to common header
examples/l2fwd: move structure definitions to common header
examples/l2fwd: move globally accessed vars to common header
examples/l2fwd: add missing space
examples/l2fwd: fix lines exceeding 80 char limit
examples/l2fwd: move dataplane code to new file
examples/l2fwd: remove unused header includes
examples/l2fwd: move drain buffers to new function
examples/l2fwd: optimize check for master core
examples/l2fwd: move periodic tasks to new function
examples/l2fwd: skip timer updates for non master cores
examples/l2fwd: move pkt send code to a new function
examples/l2fwd: use fprint instead of printf for usage print
examples/l2fwd: improvements to the usage print
examples/l2fwd/Makefile | 1 +
examples/l2fwd/l2fwd_common.h | 63 ++++++++++
examples/l2fwd/l2fwd_worker.c | 249 +++++++++++++++++++++++++++++++++++++
examples/l2fwd/l2fwd_worker.h | 16 +++
examples/l2fwd/main.c | 276 ++++++------------------------------------
5 files changed, 364 insertions(+), 241 deletions(-)
create mode 100644 examples/l2fwd/l2fwd_common.h
create mode 100644 examples/l2fwd/l2fwd_worker.c
create mode 100644 examples/l2fwd/l2fwd_worker.h
--
2.7.4
More information about the dev
mailing list