Home
last modified time | relevance | path

Searched refs:cfg_zerocopy (Results 1 – 2 of 2) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/net/
Dudpgso_bench_tx.c54 static bool cfg_zerocopy; variable
134 cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_tcp()
154 ret = sendto(fd, data, len, cfg_zerocopy ? MSG_ZEROCOPY : 0, in send_udp()
195 ret = sendmmsg(fd, mmsgs, i, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_sendmmsg()
233 ret = sendmsg(fd, &msg, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_segment()
298 cfg_zerocopy = true; in parse_opts()
366 if (cfg_zerocopy) { in main()
396 if (cfg_zerocopy && ((num_msgs & 0xF) == 0)) in main()
Dmsg_zerocopy.c88 static bool cfg_zerocopy; variable
229 bool do_zerocopy = cfg_zerocopy; in do_sendmsg_corked()
332 if (cfg_zerocopy) in do_setup_tx()
551 do_sendmsg(fd, &msg, cfg_zerocopy, domain); in do_tx()
554 if (cfg_zerocopy) in do_tx()
560 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()