Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/net/
Dmsg_zerocopy.c399 int ret, zerocopy; in do_recv_completion() local
444 zerocopy = !(serr->ee_code & SO_EE_CODE_ZEROCOPY_COPIED); in do_recv_completion()
446 zerocopied = zerocopy; in do_recv_completion()
447 else if (zerocopied != zerocopy) { in do_recv_completion()
449 zerocopied = zerocopy; in do_recv_completion()
/Linux-v5.4/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.txt44 Some additions like zerocopy support are implemented through
/Linux-v5.4/drivers/net/
Dtap.c635 bool zerocopy = false; in tap_get_user() local
679 zerocopy = true; in tap_get_user()
682 if (!zerocopy) { in tap_get_user()
696 if (zerocopy) in tap_get_user()
726 if (zerocopy) { in tap_get_user()
Dtun.c1583 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument
1594 if (zerocopy) in tun_can_build_skb()
1754 bool zerocopy = false; in tun_get_user() local
1810 zerocopy = true; in tun_get_user()
1813 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()
1855 if (zerocopy) in tun_get_user()
1915 if (zerocopy) { in tun_get_user()
/Linux-v5.4/include/linux/
Dskbuff.h471 u16 zerocopy:1; member
1447 static inline void skb_zcopy_clear(struct sk_buff *skb, bool zerocopy) in skb_zcopy_clear() argument
1455 uarg->zerocopy = uarg->zerocopy && zerocopy; in skb_zcopy_clear()
1458 uarg->callback(uarg, zerocopy); in skb_zcopy_clear()
/Linux-v5.4/net/ipv4/
Dip_output.c1023 uarg->zerocopy = 0; in __ip_append_data()
1181 } else if (!uarg || !uarg->zerocopy) { in __ip_append_data()
Dtcp.c1203 uarg->zerocopy = 0; in tcp_sendmsg_locked()
/Linux-v5.4/net/ipv6/
Dip6_output.c1412 uarg->zerocopy = 0; in __ip6_append_data()
1602 } else if (!uarg || !uarg->zerocopy) { in __ip6_append_data()
/Linux-v5.4/Documentation/networking/device_drivers/3com/
Dvortex.txt194 The driver is set up so that, when the zerocopy patch is applied,
/Linux-v5.4/net/core/
Dskbuff.c1119 uarg->zerocopy = 1; in sock_zerocopy_alloc()
1249 uarg->callback(uarg, uarg->zerocopy); in sock_zerocopy_put()