Searched refs:cfg_zerocopy (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/tools/testing/selftests/net/ |
| D | udpgso_bench_tx.c | 72 static bool cfg_zerocopy; variable 263 cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_tcp() 283 ret = sendto(fd, data, len, cfg_zerocopy ? MSG_ZEROCOPY : 0, in send_udp() 355 ret = sendmmsg(fd, mmsgs, i, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_sendmmsg() 404 ret = sendmsg(fd, &msg, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_segment() 489 cfg_zerocopy = true; in parse_opts() 584 if (cfg_zerocopy) { in print_audit_report() 630 if (cfg_zerocopy) { in main() 672 if ((cfg_zerocopy && ((num_msgs & 0xF) == 0)) || cfg_tx_tstamp) in main() 691 if (cfg_zerocopy || cfg_tx_tstamp) in main()
|
| D | msg_zerocopy.c | 88 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() 762 cfg_zerocopy = true; in parse_opts() 779 if (cfg_cork_mixed && (!cfg_zerocopy || !cfg_cork)) in parse_opts()
|