Re: [PATCH] ip_frag: add IPv4 fast fragment switch and test data

2022-06-04 Thread Konstantin Ananyev
04/06/2022 03:19, Huichao Cai пишет: I've seen some applications that have to rewrite fragment functions themselves in order to use MBUF_FAST_FREE features, such as iQiYi's DPVS. I am not sure that it will really help to improve performance, as if you have a lot of packets to fragment, you'l

Re:Re: [PATCH] ip_frag: add IPv4 fast fragment switch and test data

2022-06-03 Thread Huichao Cai
I've seen some applications that have to rewrite fragment functions themselves in order to use MBUF_FAST_FREE features, such as iQiYi's DPVS.

Re:Re: [PATCH] ip_frag: add IPv4 fast fragment switch and test data

2022-06-03 Thread Huichao Cai
Thank you for your reply, Konstantin. Both MBUF_FAST_FREE and indirect mbufs are for performance reasons, but they cannot be used at the same time, which is indeed a pity. In a real-world application, I don't know which method is more conducive to the optimization of overall performance, so I wan

Re: [PATCH] ip_frag: add IPv4 fast fragment switch and test data

2022-06-03 Thread Konstantin Ananyev
Some NIC drivers support DEV_TX_OFFLOAD_MBUF_FAST_FREE offload( Device supports optimization for fast release of mbufs.When set application must guarantee that per-queue all mbufs comes from the same mempool and has refcnt = 1).In order to adapt to this offload function,we need to modify the ex

[PATCH] ip_frag: add IPv4 fast fragment switch and test data

2022-06-02 Thread Huichao Cai
Some NIC drivers support DEV_TX_OFFLOAD_MBUF_FAST_FREE offload( Device supports optimization for fast release of mbufs.When set application must guarantee that per-queue all mbufs comes from the same mempool and has refcnt = 1).In order to adapt to this offload function,we need to modify the existi