From: Ferruh Yigit <ferruh.yigit@intel.com>
To: "Loftus, Ciara" <ciara.loftus@intel.com>,
Li RongQing <lirongqing@baidu.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH][v4] net/af_xdp: optimize RX path by removing the unneeded allocation mbuf
Date: Tue, 8 Dec 2020 13:00:43 +0000 [thread overview]
Message-ID: <38131c6c-91a9-c709-f1dc-16bc74652451@intel.com> (raw)
In-Reply-To: <240b885710cd4330abba4a44d786a23f@intel.com>
On 11/25/2020 1:03 PM, Loftus, Ciara wrote:
>> Subject: [dpdk-dev] [PATCH][v4] net/af_xdp: optimize RX path by removing
>> the unneeded allocation mbuf
>>
>> when receive packets, the max bunch number of mbuf are allocated
>> if hardware does not receive the max bunch number packets, it
>> will free redundancy mbuf, this is low performance
>>
>> so optimize rx performance, by allocating number of mbuf based on
>> result of xsk_ring_cons__peek, to avoid to redundancy allocation,
>> and free mbuf when receive packets
>>
>> and rx cached_cons must be rollbacked if fail to allocating mbuf,
>> found by Ciara Loftus
>>
>> Signed-off-by: Li RongQing <lirongqing@baidu.com>
>> Signed-off-by: Dongsheng Rong <rongdongsheng@baidu.com>
>
> Thanks for the v4.
>
> Acked-by: Ciara Loftus <ciara.loftus@intel.com>
>
Applied to dpdk-next-net/main, thanks.
prev parent reply other threads:[~2020-12-08 13:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-25 11:01 Li RongQing
2020-11-25 13:03 ` Loftus, Ciara
2020-12-08 13:00 ` Ferruh Yigit [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38131c6c-91a9-c709-f1dc-16bc74652451@intel.com \
--to=ferruh.yigit@intel.com \
--cc=ciara.loftus@intel.com \
--cc=dev@dpdk.org \
--cc=lirongqing@baidu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).