History

net: Introduce SO_INCOMING_NAPI_ID

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.

Sridhar Samudrala committed 9 years ago

Commit 6d433901 parent bf3b9f614 files · +37 −0Browse files

Showing the changes to include/uapi (1 of 14 files). Show all

Unified · Split

include/uapi/asm-generic/socket.h+2−0
@@ -96,4 +96,6 @@ · 95 unmodified lines
96 96
97#define SO_MEMINFO 5597#define SO_MEMINFO 55
98 98
99#define SO_INCOMING_NAPI_ID 56
100
99#endif /* __ASM_GENERIC_SOCKET_H */101#endif /* __ASM_GENERIC_SOCKET_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t