Searched refs:cfg_zerocopy (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | udpgso_bench_tx.c | 73 static bool cfg_zerocopy; variable 279 cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_tcp() 299 ret = sendto(fd, data, len, cfg_zerocopy ? MSG_ZEROCOPY : 0, in send_udp() 371 ret = sendmmsg(fd, mmsgs, i, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_sendmmsg() 420 ret = sendmsg(fd, &msg, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_segment() 511 cfg_zerocopy = true; in parse_opts() 613 if (cfg_zerocopy) { in print_audit_report() 659 if (cfg_zerocopy) { in main() 701 if ((cfg_zerocopy && ((num_msgs & 0xF) == 0)) || cfg_tx_tstamp) in main() 720 if (cfg_zerocopy || cfg_tx_tstam in main() [all...] |
H A D | msg_zerocopy.c | 88 static bool cfg_zerocopy; variable 228 bool do_zerocopy = cfg_zerocopy; in do_sendmsg_corked() 331 if (cfg_zerocopy) in do_setup_tx() 550 do_sendmsg(fd, &msg, cfg_zerocopy, domain); in do_tx() 553 if (cfg_zerocopy) in do_tx() 559 if (cfg_zerocopy) in do_tx() 761 cfg_zerocopy = true; in parse_opts() 778 if (cfg_cork_mixed && (!cfg_zerocopy || !cfg_cork)) in parse_opts()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | udpgso_bench_tx.c | 73 static bool cfg_zerocopy; variable 279 cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_tcp() 299 ret = sendto(fd, data, len, cfg_zerocopy ? MSG_ZEROCOPY : 0, in send_udp() 371 ret = sendmmsg(fd, mmsgs, i, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_sendmmsg() 420 ret = sendmsg(fd, &msg, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_segment() 511 cfg_zerocopy = true; in parse_opts() 613 if (cfg_zerocopy) { in print_audit_report() 659 if (cfg_zerocopy) { in main() 701 if ((cfg_zerocopy && ((num_msgs & 0xF) == 0)) || cfg_tx_tstamp) in main() 720 if (cfg_zerocopy || cfg_tx_tstam in main() [all...] |
H A D | msg_zerocopy.c | 88 static bool cfg_zerocopy; variable 228 bool do_zerocopy = cfg_zerocopy; in do_sendmsg_corked() 331 if (cfg_zerocopy) in do_setup_tx() 550 do_sendmsg(fd, &msg, cfg_zerocopy, domain); in do_tx() 553 if (cfg_zerocopy) in do_tx() 559 if (cfg_zerocopy) in do_tx() 761 cfg_zerocopy = true; in parse_opts() 778 if (cfg_cork_mixed && (!cfg_zerocopy || !cfg_cork)) in parse_opts()
|
Completed in 4 milliseconds