/linux-6.12.1/tools/testing/selftests/net/packetdrill/ |
D | tcp_zerocopy_maxfrags.pkt | 5 // 1) fit in a single packet without zerocopy 6 // 2) spill over into a second packet with zerocopy, 16 // Each pinned zerocopy page is fully accounted to skb->truesize. 42 // send a zerocopy iov of 18 elements: 73 // send a zerocopy iov of 64 elements:
|
D | tcp_zerocopy_fastopen-client.pkt | 2 // Fastopen client zerocopy test: 9 // zerocopy notification counter is not incremented. Verify this too. 22 // Read from error queue: no zerocopy notification 43 // Read from error queue: now has first zerocopy notification
|
D | tcp_zerocopy_small.pkt | 2 // small packet zerocopy test: 4 // verify that SO_EE_CODE_ZEROCOPY_COPIED is set on zerocopy
|
D | tcp_zerocopy_fastopen-server.pkt | 2 // Fastopen server zerocopy test: 29 // Read from error queue: now has first zerocopy notification
|
D | tcp_zerocopy_closed.pkt | 4 // verify that a send in state TCP_CLOSE correctly aborts the zerocopy 5 // operation, specifically it does not increment the zerocopy counter.
|
D | tcp_zerocopy_client.pkt | 2 // Minimal client-side zerocopy test
|
D | tcp_zerocopy_batch.pkt | 2 // batch zerocopy test:
|
D | tcp_zerocopy_basic.pkt | 2 // basic zerocopy test:
|
D | tcp_zerocopy_epoll_edge.pkt | 2 // epoll zerocopy test:
|
D | tcp_zerocopy_epoll_exclusive.pkt | 2 // epoll zerocopy test:
|
D | tcp_zerocopy_epoll_oneshot.pkt | 2 // epoll zerocopy test:
|
/linux-6.12.1/tools/testing/vsock/ |
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-6.12.1/tools/testing/selftests/arm64/fp/ |
D | kernel-test.c | 32 static int zerocopy[2]; variable 184 ret = pipe(zerocopy); in create_socket() 213 ret = vmsplice(zerocopy[1], &iov, 1, SPLICE_F_GIFT); in compute_digest() 221 ret = splice(zerocopy[0], NULL, sock, NULL, wrote, 0); in compute_digest()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | msg_zerocopy.c | 401 int ret, zerocopy; in do_recv_completion() local 446 zerocopy = !(serr->ee_code & SO_EE_CODE_ZEROCOPY_COPIED); in do_recv_completion() 448 zerocopied = zerocopy; in do_recv_completion() 449 else if (zerocopied != zerocopy) { in do_recv_completion() 451 zerocopied = zerocopy; in do_recv_completion()
|
/linux-6.12.1/Documentation/networking/ |
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
|
D | rds.rst | 51 Some additions like zerocopy support are implemented through
|
/linux-6.12.1/drivers/net/ |
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()
|
D | tun.c | 1580 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument 1591 if (zerocopy) in tun_can_build_skb() 1759 bool zerocopy = false; in tun_get_user() local 1816 zerocopy = true; in tun_get_user() 1819 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user() 1831 if (!zerocopy) { in tun_get_user() 1846 zerocopy = false; in tun_get_user() 1859 if (zerocopy) in tun_get_user() 1910 if (zerocopy) { in tun_get_user()
|
/linux-6.12.1/net/vmw_vsock/ |
D | af_vsock.c | 1736 int zerocopy; in vsock_connectible_setsockopt() local 1746 COPY_IN(zerocopy); in vsock_connectible_setsockopt() 1748 if (zerocopy < 0 || zerocopy > 1) { in vsock_connectible_setsockopt() 1758 sock_valbool_flag(sk, SOCK_ZEROCOPY, zerocopy); in vsock_connectible_setsockopt()
|
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-6.12.1/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
D | counters.rst | 579 - The number of packets transmitted using XSK zerocopy functionality. 589 that are transmitted using XSK zerocopy. 593 - Number of times doorbell is rung in XSK zerocopy mode when SQ is full. 597 - Number of errors that occurred in XSK zerocopy mode such as if the data 602 - Number of CQEs processed in XSK zerocopy mode.
|
/linux-6.12.1/Documentation/networking/device_drivers/ethernet/3com/ |
D | vortex.rst | 205 The driver is set up so that, when the zerocopy patch is applied,
|
/linux-6.12.1/Documentation/admin-guide/sysctl/ |
D | net.rst | 354 of struct cmsghdr structures with appended data. TCP tx zerocopy also uses
|
/linux-6.12.1/net/core/ |
D | skbuff.c | 1721 uarg->zerocopy = 1; in msg_zerocopy_alloc() 1826 is_zerocopy = uarg->zerocopy; in __msg_zerocopy_callback() 1859 uarg_zc->zerocopy = uarg_zc->zerocopy & success; in msg_zerocopy_complete()
|
/linux-6.12.1/net/ipv4/ |
D | ip_output.c | 1035 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip_append_data()
|