Thread (4 messages) flat view 4 messages, 4 authors, 2025-02-07

Re: [PATCH net-next v4] netdev-genl: Elide napi_id when not present

From: "Samudrala, Sridhar" <sridhar.samudrala@intel.com>
Date: 2025-02-06 03:26:22
Also in: lkml


On 2/5/2025 11:37 AM, Joe Damato wrote:
There are at least two cases where napi_id may not present and the
napi_id should be elided:

1. Queues could be created, but napi_enable may not have been called
    yet. In this case, there may be a NAPI but it may not have an ID and
    output of a napi_id should be elided.

2. TX-only NAPIs currently do not have NAPI IDs. If a TX queue happens
    to be linked with a TX-only NAPI, elide the NAPI ID from the netlink
    output as a NAPI ID of 0 is not useful for users.

Signed-off-by: Joe Damato <redacted>
Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help