Searched refs:zerocopy (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
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()
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | msg_zerocopy.rst | 73 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
|
D | rds.rst | 51 Some additions like zerocopy support are implemented through
|
/kernel/linux/linux-5.10/drivers/net/ |
D | tap.c | 633 bool zerocopy = false; in tap_get_user() local 677 zerocopy = true; in tap_get_user() 680 if (!zerocopy) { in tap_get_user() 694 if (zerocopy) in tap_get_user() 724 if (zerocopy) { in tap_get_user()
|
D | tun.c | 1593 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument 1604 if (zerocopy) in tun_can_build_skb() 1767 bool zerocopy = false; in tun_get_user() local 1823 zerocopy = true; in tun_get_user() 1826 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user() 1839 if (!zerocopy) { in tun_get_user() 1854 zerocopy = false; in tun_get_user() 1868 if (zerocopy) in tun_get_user() 1931 if (zerocopy) { in tun_get_user()
|
/kernel/linux/linux-5.10/include/linux/ |
D | skbuff.h | 473 u16 zerocopy:1; member 1477 static inline void skb_zcopy_clear(struct sk_buff *skb, bool zerocopy) in skb_zcopy_clear() argument 1485 uarg->zerocopy = uarg->zerocopy && zerocopy; in skb_zcopy_clear() 1488 uarg->callback(uarg, zerocopy); in skb_zcopy_clear()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_output.c | 1037 uarg->zerocopy = 0; in __ip_append_data() 1199 } else if (!uarg || !uarg->zerocopy) { in __ip_append_data()
|
D | tcp.c | 1214 uarg->zerocopy = 0; in tcp_sendmsg_locked()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ip6_output.c | 1559 uarg->zerocopy = 0; in __ip6_append_data() 1751 } else if (!uarg || !uarg->zerocopy) { in __ip6_append_data()
|
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/3com/ |
D | vortex.rst | 205 The driver is set up so that, when the zerocopy patch is applied,
|
/kernel/linux/linux-5.10/net/core/ |
D | skbuff.c | 1128 uarg->zerocopy = 1; in sock_zerocopy_alloc() 1258 uarg->callback(uarg, uarg->zerocopy); in sock_zerocopy_put()
|