Re: [PATCH v2] ip_frag: add IPv4 fragment copy packet API

2022-07-19 Thread Konstantin Ananyev
Hi Huichao,     I've been busy lately, sorry to reply to you late. No worries at all. Instead of implicitly assuming that output mbufs will be allocated from pkt_in pool, it would be better to have output_pool as explicit parameter for that function. In a same way we have it for rte_

Re:Re: [PATCH v2] ip_frag: add IPv4 fragment copy packet API

2022-07-15 Thread Huichao Cai
Hi Konstantin, I've been busy lately, sorry to reply to you late. > Instead of implicitly assuming that output mbufs will be allocated > from pkt_in pool, it would be better to have output_pool as explicit > parameter for that function. > In a same way we have it for rte_ipv4_fragment_

Re: [PATCH v2] ip_frag: add IPv4 fragment copy packet API

2022-07-11 Thread Konstantin Ananyev
11/07/2022 00:35, Konstantin Ananyev пишет: > Some NIC drivers support MBUF_FAST_FREE(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) > offload. In order to adapt to this o

Re: [PATCH v2] ip_frag: add IPv4 fragment copy packet API

2022-07-10 Thread Konstantin Ananyev
> Some NIC drivers support MBUF_FAST_FREE(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) > offload. In order to adapt to this offload function, add this API. > Add some test da

[PATCH v2] ip_frag: add IPv4 fragment copy packet API

2022-06-09 Thread Huichao Cai
Some NIC drivers support MBUF_FAST_FREE(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) offload. In order to adapt to this offload function, add this API. Add some test data for this