* add one example of DPI ?
@ 2025-04-28 8:20 fengchengwen
2025-04-28 15:49 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: fengchengwen @ 2025-04-28 8:20 UTC (permalink / raw)
To: thomas Monjalon, dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: add one example of DPI ?
2025-04-28 8:20 add one example of DPI ? fengchengwen
@ 2025-04-28 15:49 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2025-04-28 15:49 UTC (permalink / raw)
To: fengchengwen; +Cc: thomas Monjalon, dev
On Mon, 28 Apr 2025 16:20:22 +0800
fengchengwen <fengchengwen@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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-28 15:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-28 8:20 add one example of DPI ? fengchengwen
2025-04-28 15:49 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).