[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a512f1a513b747058ef972aef872c2b0@amazon.com>
Date: Thu, 4 Jan 2024 06:49:12 +0000
From: "Arinzon, David" <darinzon@...zon.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: David Miller <davem@...emloft.net>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>, "Woodhouse, David" <dwmw@...zon.co.uk>, "Machulsky,
Zorik" <zorik@...zon.com>, "Matushevsky, Alexander" <matua@...zon.com>,
"Bshara, Saeed" <saeedb@...zon.com>, "Wilson, Matt" <msw@...zon.com>,
"Liguori, Anthony" <aliguori@...zon.com>, "Bshara, Nafea" <nafea@...zon.com>,
"Belgazal, Netanel" <netanel@...zon.com>, "Saidi, Ali" <alisaidi@...zon.com>,
"Herrenschmidt, Benjamin" <benh@...zon.com>, "Kiyanovski, Arthur"
<akiyano@...zon.com>, "Dagan, Noam" <ndagan@...zon.com>, "Agroskin, Shay"
<shayagr@...zon.com>, "Itzko, Shahar" <itzko@...zon.com>, "Abboud, Osama"
<osamaabb@...zon.com>, "Ostrovsky, Evgeny" <evostrov@...zon.com>, "Tabachnik,
Ofir" <ofirt@...zon.com>
Subject: RE: [PATCH v2 net-next 07/11] net: ena: Refactor napi functions
> On Mon, 1 Jan 2024 19:08:51 +0000 darinzon@...zon.com wrote:
> > - xdp_work_done = ena_clean_xdp_irq(tx_ring, xdp_budget);
> > + work_done = ena_clean_xdp_irq(tx_ring, budget);
>
> Not related to this series, but please make sure that if budget is
> 0 you do *no* XDP processing, Rx or Tx. XDP expects to run in softirq
> context, when budget is 0 we may be in hard IRQ.
Thank you for the feedback, Jakub, we will look into it and will make the needed changes.
Powered by blists - more mailing lists