diff options
| author | Joe Damato <[email protected]> | 2025-02-05 19:37:47 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-07 00:59:25 +0000 |
| commit | 6597e8d35851e1e0cb381f76ce1d960518fd8c94 (patch) | |
| tree | 6bc4840bf5a436cfec3627b96d0a6b919c291edc /drivers/fpga/altera-fpga2sdram.c | |
| parent | Merge branch 'io_uring-zero-copy-rx' (diff) | |
| download | kernel-6597e8d35851e1e0cb381f76ce1d960518fd8c94.tar.gz kernel-6597e8d35851e1e0cb381f76ce1d960518fd8c94.zip | |
netdev-genl: Elide napi_id when not present
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 <[email protected]>
Reviewed-by: Sridhar Samudrala <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
