🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
2 messages
2 total messages Started by Jakub Kicinski Tue, 20 Oct 2026 20:34
Re: [PATCH net-next v3 5/5] bnge: make NQ0 persistent across open/stop cycles
#5707
Author: Jakub Kicinski
Date: Tue, 20 Oct 2026 20:34
8 lines
8200 bytes
On Wed, 14 Oct 2026 01:36:45 +0530 Bhargava Marreddy wrote:
> NQ0's NAPI keeps running while the interface is down

Sounds like abuse of netdev infra. Creative reuse of this sort makes it
extremely painful to add stack-level features.
-- 
pw-bot: cr
Re: [PATCH net-next v3 5/5] bnge: make NQ0 persistent across open/stop cycles
#6636
Author: Jakub Kicinski
Date: Fri, 23 Oct 2026 01:16
17 lines
8856 bytes
On Thu, 22 Oct 2026 16:27:42 +0530 Bhargava Chenna Marreddy wrote:
> What I propose for v4:
> 
> 1. NAPI for NQ0 is added in ndo_open and deleted in ndo_stop, like
>    every other NQ.
> 2. NQ0's IRQ stays requested across open/stop:
>    - When netdev is UP: The IRQ handler schedules NAPI, which handles
>      Rx/Tx, async (including link), and HWRM events.
>    - When netdev is DOWN: There is no NAPI instance. The IRQ handler
>      queues a work item that handles async and HWRM events.
> 3. Mode switches happen only in open/stop, so only one context
>    consumes NQ0 at a time:
>    - open: quiesce the IRQ, flush the work item, then enable NAPI.
>    - stop: disable NAPI, then allow the work item again.

Sounds reasonable (please note that net-next is closed now)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads