Home
last modified time | relevance | path

Searched refs:zerocopy (Results 1 – 18 of 18) sorted by relevance

/linux/tools/testing/vsock/
H A Dvsock_perf.c37 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 Dmsg_zerocopy.c398 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 Dmsg_zerocopy.rst74 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 Drds.rst51 Some additions like zerocopy support are implemented through
/linux/drivers/net/
H A Dtap.c650 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 Dtun.c1579 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 Daf_vsock.c1678 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 Dvirtio_transport_common.c74 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 Dcounters.rst557 - 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 Dvortex.rst205 The driver is set up so that, when the zerocopy patch is applied,
/linux/Documentation/netlink/specs/
H A Dnetdev.yaml28 name: xsk-zerocopy
/linux/Documentation/admin-guide/sysctl/
H A Dnet.rst354 of struct cmsghdr structures with appended data. TCP tx zerocopy also uses
/linux/net/core/
H A Dskbuff.c1692 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 Dip_output.c1034 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip_append_data()
H A Dtcp.c1074 uarg_to_msgzc(uarg)->zerocopy = 0; in tcp_sendmsg_locked()
/linux/net/ceph/
H A Dmessenger_v2.c274 bool zerocopy) in set_out_bvec() argument
280 con->v2.out_iter_sendpage = zerocopy; in set_out_bvec()
/linux/net/ipv6/
H A Dip6_output.c1522 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip6_append_data()
/linux/include/linux/
H A Dskbuff.h560 u16 zerocopy:1; member