Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/net/
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()
Dtun.c1586 int len, int noblock, bool zerocopy) in tun_can_build_skb() argument
1597 if (zerocopy) in tun_can_build_skb()
1761 bool zerocopy = false; in tun_get_user() local
1818 zerocopy = true; in tun_get_user()
1821 if (!frags && tun_can_build_skb(tun, tfile, len, noblock, zerocopy)) { in tun_get_user()
1833 if (!zerocopy) { in tun_get_user()
1848 zerocopy = false; in tun_get_user()
1861 if (zerocopy) in tun_get_user()
1912 if (zerocopy) { in tun_get_user()
/linux-6.6.21/Documentation/netlink/specs/
Dnetdev.yaml28 name: xsk-zerocopy
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dcounters.rst552 - The number of packets transmitted using XSK zerocopy functionality.
562 that are transmitted using XSK zerocopy.
566 - Number of times doorbell is rung in XSK zerocopy mode when SQ is full.
570 - Number of errors that occurred in XSK zerocopy mode such as if the data
575 - Number of CQEs processed in XSK zerocopy mode.
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/3com/
Dvortex.rst205 The driver is set up so that, when the zerocopy patch is applied,
/linux-6.6.21/net/core/
Dskbuff.c1564 uarg->zerocopy = 1; in msg_zerocopy_alloc()
1669 is_zerocopy = uarg->zerocopy; in __msg_zerocopy_callback()
1702 uarg_zc->zerocopy = uarg_zc->zerocopy & success; in msg_zerocopy_callback()
/linux-6.6.21/net/ipv4/
Dip_output.c1036 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip_append_data()
Dtcp.c1067 uarg_to_msgzc(uarg)->zerocopy = 0; in tcp_sendmsg_locked()
/linux-6.6.21/net/ceph/
Dmessenger_v2.c274 bool zerocopy) in set_out_bvec() argument
280 con->v2.out_iter_sendpage = zerocopy; in set_out_bvec()
/linux-6.6.21/net/ipv6/
Dip6_output.c1594 uarg_to_msgzc(uarg)->zerocopy = 0; in __ip6_append_data()
/linux-6.6.21/include/linux/
Dskbuff.h551 u16 zerocopy:1; member