Re: [PATCH] net: mark skb NAPI IDs independently of busy polling
From: Jakub Kicinski
Date: Tue Nov 10 2026 - 16:46:08 EST
On Thu, 5 Nov 2026 15:16:08 +0800 Ding Meng wrote:
> + interface index will be returned only if CONFIG_SKB_MARK_NAPI_ID is
> + enabled and the driver is using NAPI. This hidden configuration is
> + selected automatically by busy-poll support and by drivers that need
> + skb NAPI IDs to resolve deferred hardware timestamps. Drivers that
> + use deferred timestamp conversion must select it so the networking
> + stack can find the device and call its timestamp callback even when
> + busy polling is disabled. The struct contains also two other fields,
> + but they are reserved and undefined.
Just take napi_id from under CONFIG_NET_RX_BUSY_POLL instead of
complicating everyone's lives.
--
pw-bot: cr