Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/net/
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-v6.1/Documentation/networking/
Dmsg_zerocopy.rst73 error(1, errno, "setsockopt zerocopy");
85 A zerocopy failure will return -1 with errno ENOBUFS. This happens if
214 protocol headers plus zerocopy user data. A packet may need to be
220 before the (copied) data is fully transmitted. A zerocopy completion
Drds.rst51 Some additions like zerocopy support are implemented through
/Linux-v6.1/drivers/net/
Dtap.c643 bool zerocopy = false; in tap_get_user() local
688 zerocopy = true; in tap_get_user()
691 if (!zerocopy) { in tap_get_user()
705 if (zerocopy) in tap_get_user()
746 if (zerocopy) { in tap_get_user()
Dtun.c1577 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument
1588 if (zerocopy) in tun_can_build_skb()
1746 bool zerocopy = false; in tun_get_user() local
1803 zerocopy = true; in tun_get_user()
1806 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user()
1819 if (!zerocopy) { in tun_get_user()
1834 zerocopy = false; in tun_get_user()
1848 if (zerocopy) in tun_get_user()
1913 if (zerocopy) { in tun_get_user()
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/3com/
Dvortex.rst205 The driver is set up so that, when the zerocopy patch is applied,
/Linux-v6.1/net/core/
Dskbuff.c1311 uarg->zerocopy = 1; in msg_zerocopy_alloc()
1416 is_zerocopy = uarg->zerocopy; in __msg_zerocopy_callback()
1449 uarg_zc->zerocopy = uarg_zc->zerocopy & success; in msg_zerocopy_callback()
/Linux-v6.1/net/ipv4/
Dip_output.c1046 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip_append_data()
Dtcp.c1242 uarg_to_msgzc(uarg)->zerocopy = 0; in tcp_sendmsg_locked()
/Linux-v6.1/net/ceph/
Dmessenger_v2.c273 bool zerocopy) in set_out_bvec() argument
279 con->v2.out_iter_sendpage = zerocopy; in set_out_bvec()
/Linux-v6.1/net/ipv6/
Dip6_output.c1575 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip6_append_data()
/Linux-v6.1/include/linux/
Dskbuff.h551 u16 zerocopy:1; member