[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL+tcoAYvN20aMz-WYFEUeBypS8yMJ53YgdMUHCX6FCr__qT9A@mail.gmail.com>
Date: Tue, 13 May 2025 14:13:05 +0800
From: Jason Xing <kerneljasonxing@...il.com>
To: Haifeng Xu <haifeng.xu@...pee.com>
Cc: Tony Nguyen <anthony.l.nguyen@...el.com>,
Jesse Brandeburg <jesse.brandeburg@...el.com>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: i40e: How the packets will be processed when status_error_len is 0
On Tue, May 13, 2025 at 12:08 PM Haifeng Xu <haifeng.xu@...pee.com> wrote:
>
> Hi all,
>
> If the packets arrive at the rx and then raise soft irq to handle it, but in i40e_clean_rx_irq, status_error_len is 0 and return.
Directly "return"? What version of I40E are you looking at?
> The data isn't fetchted from the rx buffer, so the how the packets arrive at the rx will be processed?
In i40e_clean_rx_irq(), packets are one by one constructed into the
sk_buff and then passed to the stack by napi_gro_receive().
AFAIK, common drivers implement nearly the same scenario.
Thanks,
Jason
>
> FYI, the every rx/tx queue has been bounded to one cpu(64 queues, 64 cpus).
>
> Thanks!
>
Powered by blists - more mailing lists