Skip to content

pktdev update

Bruce Richardson dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6kni: add function to query the name of a kni objectlib/librte_kni/rte_kni.c lib/librte_kni/rte_kni.h lib/librte_kni/rte_kni_version.map+17 -00 replies
2/6pktdev: Add pktdev implementation libraryconfig/common_bsdapp config/common_linuxapp lib/Makefile +5 more+667 -00 replies
3/6example app showing pktdevs used in a chainexamples/pktdev-chain/Makefile examples/pktdev-chain/basicfwd.c+278 -00 replies
4/6new pktdev l2fwd sampleexamples/pktdev-l2fwd/Makefile examples/pktdev-l2fwd/main.c+580 -00 replies
5/6pktdev: adding app testapp/test/Makefile app/test/test_pktdev.c+444 -00 replies
6/6test: add pktdev performance testsapp/test/Makefile app/test/test_pktdev_perf.c lib/librte_pktdev/rte_pktdev.h+265 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC-PATCH-v3 0/6] pktdev update

Following on from the feedback received from the community about the pktdev idea, I've decided not to push this approach further for DPDK 2.1.

Instead, for future releases, I'll look at taking some of what was investigated in this work and see if it can be applied to the existing ethdev library, which seems to be the favoured point of convergence in the community. Hopefully, we can get ethdev to meet all the requirements I had looked for for pktdev. [If not, I may need to come back to look at this again, but I hope not! :-)]

For the sake of completeness, I'm also sending out my latest, and final, draft set of patches for pktdev, in case Marc, or someone else, wishes to take this further right now. As I've said, for the time being, I'm going to switch focus to ethdev.

Thanks for all the feedback.

Regards,
/Bruce

Bruce Richardson (5):
kni: add function to query the name of a kni object
pktdev: Add pktdev implementation library example app showing pktdevs used in a chain new pktdev l2fwd sample
test: add pktdev performance tests

Marc Sune (1):
pktdev: adding app test

 app/test/Makefile                        |   2 +
 app/test/test_pktdev.c                   | 440 +++++++++++++++++++++++++
 app/test/test_pktdev_perf.c              | 260 +++++++++++++++
 config/common_bsdapp                     |   5 +
 config/common_linuxapp                   |   5 +
 examples/pktdev-chain/Makefile           |  57 ++++
 examples/pktdev-chain/basicfwd.c         | 221 +++++++++++++
 examples/pktdev-l2fwd/Makefile           |  50 +++
 examples/pktdev-l2fwd/main.c             | 530 +++++++++++++++++++++++++++++++
 lib/Makefile                             |   1 +
 lib/librte_kni/rte_kni.c                 |   6 +
 lib/librte_kni/rte_kni.h                 |  10 +
 lib/librte_kni/rte_kni_version.map       |   1 +
 lib/librte_pktdev/Makefile               |  56 ++++
 lib/librte_pktdev/rte_pktdev.c           | 188 +++++++++++
 lib/librte_pktdev/rte_pktdev.h           | 400 +++++++++++++++++++++++
 lib/librte_pktdev/rte_pktdev_version.map |  11 +
 mk/rte.app.mk                            |   1 +
 18 files changed, 2244 insertions(+)
 create mode 100644 app/test/test_pktdev.c
 create mode 100644 app/test/test_pktdev_perf.c
 create mode 100644 examples/pktdev-chain/Makefile
 create mode 100644 examples/pktdev-chain/basicfwd.c
 create mode 100644 examples/pktdev-l2fwd/Makefile
 create mode 100644 examples/pktdev-l2fwd/main.c
 create mode 100644 lib/librte_pktdev/Makefile
 create mode 100644 lib/librte_pktdev/rte_pktdev.c
 create mode 100644 lib/librte_pktdev/rte_pktdev.h
 create mode 100644 lib/librte_pktdev/rte_pktdev_version.map
Signature · 1 line
2.4.2