aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2024-05-30 07:41:09 +0000
committerDaniel Borkmann <[email protected]>2024-06-06 21:04:05 +0000
commitfee97d0c9a14b5dd5cce0ec1df3a54a6b963f40c (patch)
treeac2f0c968d22454b02391c98e46b8f73020c64a0 /drivers/net/ethernet/intel/ice/ice_main.c
parentselftests/bpf: Use connect_to_fd_opts in do_test in bpf_tcp_ca (diff)
downloadkernel-fee97d0c9a14b5dd5cce0ec1df3a54a6b963f40c.tar.gz
kernel-fee97d0c9a14b5dd5cce0ec1df3a54a6b963f40c.zip
selftests/bpf: Add start_test helper in bpf_tcp_ca
For moving the "if (sk_stg_map)" block out of do_test(), extract the code before this block as a new function start_test(). It creates server-side and client-side sockets and returns them to the caller. Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/48f2921ff9be958f5d3d28fe6bb7269a61cafa9f.1717054461.git.tanggeliang@kylinos.cn
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions