/linux/tools/testing/vsock/ |
H A D | vsock_perf.c | 37 static bool zerocopy; variable 263 if (zerocopy) in run_sender() 277 if (zerocopy) { in run_sender() 310 zerocopy ? MSG_ZEROCOPY : 0); in run_sender() 318 if (zerocopy) { in run_sender() 349 if (zerocopy) in run_sender() 476 zerocopy = true; in main()
|
/linux/tools/testing/selftests/net/ |
H A D | msg_zerocopy.c | 398 int ret, zerocopy; in do_recv_completion() local 443 zerocopy = !(serr->ee_code & SO_EE_CODE_ZEROCOPY_COPIED); in do_recv_completion() 445 zerocopied = zerocopy; in do_recv_completion() 446 else if (zerocopied != zerocopy) { in do_recv_completion() 448 zerocopied = zerocopy; in do_recv_completion()
|
/linux/Documentation/networking/ |
H A D | msg_zerocopy.rst | 74 error(1, errno, "setsockopt zerocopy"); 86 A zerocopy failure will return -1 with errno ENOBUFS. This happens if 217 protocol headers plus zerocopy user data. A packet may need to be 223 before the (copied) data is fully transmitted. A zerocopy completion
|
H A D | rds.rst | 51 Some additions like zerocopy support are implemented through
|
/linux/drivers/net/ |
H A D | tap.c | 650 bool zerocopy = false; in tap_get_user() local 695 zerocopy = true; in tap_get_user() 698 if (!zerocopy) { in tap_get_user() 712 if (zerocopy) in tap_get_user() 753 if (zerocopy) { in tap_get_user()
|
H A D | tun.c | 1579 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument 1590 if (zerocopy) in tun_can_build_skb() 1754 bool zerocopy = false; in tun_get_user() local 1811 zerocopy = true; in tun_get_user() 1814 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user() 1826 if (!zerocopy) { in tun_get_user() 1841 zerocopy = false; in tun_get_user() 1854 if (zerocopy) in tun_get_user() 1905 if (zerocopy) { in tun_get_user()
|
/linux/net/vmw_vsock/ |
H A D | af_vsock.c | 1678 int zerocopy; in vsock_connectible_setsockopt() local 1688 COPY_IN(zerocopy); in vsock_connectible_setsockopt() 1690 if (zerocopy < 0 || zerocopy > 1) { in vsock_connectible_setsockopt() 1700 sock_valbool_flag(sk, SOCK_ZEROCOPY, zerocopy); in vsock_connectible_setsockopt()
|
H A D | virtio_transport_common.c | 74 bool zerocopy) in virtio_transport_init_zcopy_skb() argument 92 uarg_zc->zerocopy = zerocopy ? 1 : 0; in virtio_transport_init_zcopy_skb()
|
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | counters.rst | 557 - The number of packets transmitted using XSK zerocopy functionality. 567 that are transmitted using XSK zerocopy. 571 - Number of times doorbell is rung in XSK zerocopy mode when SQ is full. 575 - Number of errors that occurred in XSK zerocopy mode such as if the data 580 - Number of CQEs processed in XSK zerocopy mode.
|
/linux/Documentation/networking/device_drivers/ethernet/3com/ |
H A D | vortex.rst | 205 The driver is set up so that, when the zerocopy patch is applied,
|
/linux/Documentation/netlink/specs/ |
H A D | netdev.yaml | 28 name: xsk-zerocopy
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | net.rst | 354 of struct cmsghdr structures with appended data. TCP tx zerocopy also uses
|
/linux/net/core/ |
H A D | skbuff.c | 1692 uarg->zerocopy = 1; in msg_zerocopy_alloc() 1797 is_zerocopy = uarg->zerocopy; in __msg_zerocopy_callback() 1830 uarg_zc->zerocopy = uarg_zc->zerocopy & success; in msg_zerocopy_complete()
|
/linux/net/ipv4/ |
H A D | ip_output.c | 1034 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip_append_data()
|
H A D | tcp.c | 1074 uarg_to_msgzc(uarg)->zerocopy = 0; in tcp_sendmsg_locked()
|
/linux/net/ceph/ |
H A D | messenger_v2.c | 274 bool zerocopy) in set_out_bvec() argument 280 con->v2.out_iter_sendpage = zerocopy; in set_out_bvec()
|
/linux/net/ipv6/ |
H A D | ip6_output.c | 1522 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip6_append_data()
|
/linux/include/linux/ |
H A D | skbuff.h | 560 u16 zerocopy:1; member
|