Searched refs:cfg_zerocopy (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A 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() 491 cfg_zerocopy = true; in parse_opts() 591 if (cfg_zerocopy) { in print_audit_report() 637 if (cfg_zerocopy) { in main() 679 if ((cfg_zerocopy && ((num_msgs & 0xF) == 0)) || cfg_tx_tstamp) in main() 698 if (cfg_zerocopy || cfg_tx_tstamp) in main()
|
| 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()
|