Searched refs:zerocopy (Results 1 – 10 of 10) sorted by relevance
| /Linux-v4.19/tools/testing/selftests/net/ |
| D | msg_zerocopy.c | 399 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-v4.19/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 | vortex.txt | 194 The driver is set up so that, when the zerocopy patch is applied,
|
| D | rds.txt | 44 Some additions like zerocopy support are implemented through
|
| /Linux-v4.19/drivers/net/ |
| D | tap.c | 635 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()
|
| D | tun.c | 1557 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument 1568 if (zerocopy) in tun_can_build_skb() 1709 bool zerocopy = false; in tun_get_user() local 1768 zerocopy = true; in tun_get_user() 1771 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user() 1784 if (!zerocopy) { in tun_get_user() 1799 zerocopy = false; in tun_get_user() 1813 if (zerocopy) in tun_get_user() 1871 if (zerocopy) { in tun_get_user()
|
| /Linux-v4.19/net/sunrpc/ |
| D | xprtsock.c | 347 …(struct socket *sock, struct xdr_buf *xdr, unsigned int base, int more, bool zerocopy, int *sent_p) in xs_send_pagedata() argument 360 if (!zerocopy) in xs_send_pagedata() 396 …ct sockaddr *addr, int addrlen, struct xdr_buf *xdr, unsigned int base, bool zerocopy, int *sent_p) in xs_sendpages() argument 424 err = xs_send_pagedata(sock, xdr, base, remainder != 0, zerocopy, &sent); in xs_sendpages() 660 bool zerocopy = true; in xs_tcp_send_request() local 675 zerocopy = false; in xs_tcp_send_request() 687 req->rq_bytes_sent, zerocopy, &sent); in xs_tcp_send_request()
|
| /Linux-v4.19/include/linux/ |
| D | skbuff.h | 455 u16 zerocopy:1; member 1315 static inline void skb_zcopy_clear(struct sk_buff *skb, bool zerocopy) in skb_zcopy_clear() argument 1321 uarg->zerocopy = uarg->zerocopy && zerocopy; in skb_zcopy_clear() 1324 uarg->callback(uarg, zerocopy); in skb_zcopy_clear()
|
| /Linux-v4.19/net/core/ |
| D | skbuff.c | 959 uarg->zerocopy = 1; in sock_zerocopy_alloc() 1085 uarg->callback(uarg, uarg->zerocopy); in sock_zerocopy_put()
|
| /Linux-v4.19/net/ipv4/ |
| D | tcp.c | 1203 uarg->zerocopy = 0; in tcp_sendmsg_locked()
|