At 2022-07-25 23:42:06, "Stephen Hemminger" wrote:
On Sun, 24 Jul 2022 16:10:03 +0800
Huichao Cai wrote:
+
+ /*
+* Formal parameter checking.
+*/
+ if (unlikely(pkt_in == NULL) || unlikely(pkts_out == NULL) ||
+ unlikely(nb_pkts_out == 0) || unlikely(
24/07/2022 09:10, 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,has refcnt = 1,direct
and non-segmented.)offload. In order to adapt to this
At 2022-07-25 23:42:06, "Stephen Hemminger" wrote:
>On Sun, 24 Jul 2022 16:10:03 +0800
>Huichao Cai wrote:
>
>> +
>> +/*
>> + * Formal parameter checking.
>> + */
>> +if (unlikely(pkt_in == NULL) || unlikely(pkts_out == NULL) ||
>> +unlikely(nb_pkts_out
On Sun, 24 Jul 2022 16:10:03 +0800
Huichao Cai wrote:
> +
> + /*
> + * Formal parameter checking.
> + */
> + if (unlikely(pkt_in == NULL) || unlikely(pkts_out == NULL) ||
> + unlikely(nb_pkts_out == 0) || unlikely(pool_direct == NULL) ||
> + unlikely(mtu_size < R
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,has refcnt = 1,direct
and non-segmented.)offload. In order to adapt to this offload function,
add this API. Add so
5 matches
Mail list logo