This socket option returns the NAPI ID associated with the queue on which the last frame is received. This information can be used by the apps to split the incoming flows among the threads based on the Rx queue on which they are received. If the NAPI ID actually represents a sender_cpu then the value is ignored and 0 is returned.
Showing the changes to include/uapi (1 of 14 files). Show all
Unified · Split
| @@ -96,4 +96,6 @@ · 95 unmodified lines | ||
| 96 | 96 | |
| 97 | 97 | #define SO_MEMINFO 55 |
| 98 | 98 | |
| 99 | +#define SO_INCOMING_NAPI_ID 56 | |
| 100 | + | |
| 99 | 101 | #endif /* __ASM_GENERIC_SOCKET_H */ |