Searched refs:cfg_zerocopy (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/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_tstamp) in main()
|
H A D | msg_zerocopy.c | 89 static bool cfg_zerocopy; variable 231 bool do_zerocopy = cfg_zerocopy; in do_sendmsg_corked() 334 if (cfg_zerocopy) in do_setup_tx() 554 do_sendmsg(fd, &msg, cfg_zerocopy, domain); in do_tx() 556 if (cfg_zerocopy && sends_since_notify >= cfg_notification_limit) in do_tx() 560 if (cfg_zerocopy) in do_tx() 566 if (cfg_zerocopy) in do_tx() 771 cfg_zerocopy = true; in parse_opts() 788 if (cfg_cork_mixed && (!cfg_zerocopy || !cfg_cork)) in parse_opts()
|