summaryrefslogtreecommitdiff
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorAnna Emese Nyiri <annaemesenyiri@gmail.com>2024-12-13 09:44:56 +0100
committerJakub Kicinski <kuba@kernel.org>2024-12-16 18:14:12 -0800
commitcda7d5abe089cc8bd6d623cd6577627d8125d155 (patch)
tree3422f7fd5f941de058f133fec9af9a157a323e3e /net/core/sock.c
parenta32f3e9d1ed146f81162702605d65447a319eb76 (diff)
downloadlinux-cda7d5abe089cc8bd6d623cd6577627d8125d155.tar.gz
linux-cda7d5abe089cc8bd6d623cd6577627d8125d155.tar.bz2
linux-cda7d5abe089cc8bd6d623cd6577627d8125d155.zip
selftests: net: test SO_PRIORITY ancillary data with cmsg_sender
Extend cmsg_sender.c with a new option '-Q' to send SO_PRIORITY ancillary data. cmsg_so_priority.sh script added to validate SO_PRIORITY behavior by creating VLAN device with egress QoS mapping and testing packet priorities using flower filters. Verify that packets with different priorities are correctly matched and counted by filters for multiple protocols and IP versions. Reviewed-by: Willem de Bruijn <willemb@google.com> Acked-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Tested-by: Ido Schimmel <idosch@nvidia.com> Suggested-by: Ido Schimmel <idosch@idosch.org> Signed-off-by: Anna Emese Nyiri <annaemesenyiri@gmail.com> Link: https://patch.msgid.link/20241213084457.45120-4-annaemesenyiri@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions