aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorTariq Toukan <[email protected]>2021-02-11 11:35:51 +0000
committerDavid S. Miller <[email protected]>2021-02-12 03:08:06 +0000
commit4e1beecc3b586e5d05401c0a9e456f96aab0e5a4 (patch)
tree0bb99894f397d0619ef331dd243a01924a886194 /net/switchdev/switchdev.c
parenttcp: Sanitize CMSG flags and reserved args in tcp_zerocopy_receive. (diff)
downloadkernel-4e1beecc3b586e5d05401c0a9e456f96aab0e5a4.tar.gz
kernel-4e1beecc3b586e5d05401c0a9e456f96aab0e5a4.zip
net/sock: Add kernel config SOCK_RX_QUEUE_MAPPING
Use a new config SOCK_RX_QUEUE_MAPPING to compile-in the socket RX queue field and logic, instead of the XPS config. This breaks dependency in XPS, and allows selecting it from non-XPS use cases, as we do in the next patch. In addition, use the new flag to wrap the logic in sk_rx_queue_get() and protect access to the sk_rx_queue_mapping field, while keeping the function exposed unconditionally, just like sk_rx_queue_set() and sk_rx_queue_clear(). Signed-off-by: Tariq Toukan <[email protected]> Reviewed-by: Maxim Mikityanskiy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions