add one example of DPI ?
Stephen Hemminger
stephen at networkplumber.org
Mon Apr 28 17:49:01 CEST 2025
On Mon, 28 Apr 2025 16:20:22 +0800
fengchengwen <fengchengwen at huawei.com> wrote:
> Hi all,
>
> Currently, we supported several DPI application scenarios performance tuning,
> in these scenarios, the DPDK library ethdev, ring, mbuf and hash APIs are used.
>
> One of the scenarios is:
>
> ------------------------ -------------------------
> | | rte_ring-0 | |
> | packet-recv-process | ===> rte_ring-1 ===> | packet-detect-process |
> | | ... | |
> | | rte_ring-n | |
> ------------------------ -------------------------
>
> packet-recv-process dispatch flow to different rings by such 'rte_hash_crc' function.
> packet-detect-process build flow context based on rte_hash library.
>
> I think it is necessary to add a DPI example to show that DPDK has the basic
> capability of building DPI applications and provides best performance practices.
>
> Hope to listen to the community's opinions.
>
> Thanks
>
Did you consider the impact of CPU cache on this scenario.
When you process the packet in two different threads, it ends up adding
an additional data cache miss which can cut performance in half.
More information about the dev
mailing list