Home
last modified time | relevance | path

Searched refs:xdp (Results 201 – 225 of 961) sorted by relevance

12345678910>>...39

/dports/devel/llvm70/llvm-7.0.1.src/test/CodeGen/BPF/
H A Dremove_truncate_3.ll10 ; int xdp_dummy(struct xdp_md *xdp)
16 ; long addr1 = (long)xdp->data;
21 ; tmp = *(volatile char *)(long)xdp->data_end;
25 ; addr = (long)xdp->data;
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/test/CodeGen/BPF/
H A Dremove_truncate_3.ll10 ; int xdp_dummy(struct xdp_md *xdp)
16 ; long addr1 = (long)xdp->data;
21 ; tmp = *(volatile char *)(long)xdp->data_end;
25 ; addr = (long)xdp->data;
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/utils/
H A Dnetwork.py39 if self.xdp() is not None:
40 self.get_connectivity = self.xdp
51 def xdp(self): member in LinuxNetworkStatus
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/socionext/
H A Dnetsec.c895 struct xdp_buff *xdp) in netsec_run_xdp() argument
898 unsigned int sync, len = xdp->data_end - xdp->data; in netsec_run_xdp()
904 act = bpf_prog_run_xdp(prog, xdp); in netsec_run_xdp()
907 sync = xdp->data_end - xdp->data_hard_start - NETSEC_RXBUF_HEADROOM; in netsec_run_xdp()
939 page = virt_to_head_page(xdp->data); in netsec_run_xdp()
954 struct xdp_buff xdp; in netsec_process_rx() local
1046 skb_reserve(skb, xdp.data - xdp.data_hard_start); in netsec_process_rx()
1047 skb_put(skb, xdp.data_end - xdp.data); in netsec_process_rx()
1059 ndev->stats.rx_bytes += xdp.data_end - xdp.data; in netsec_process_rx()
1820 switch (xdp->command) { in netsec_xdp()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/socionext/
H A Dnetsec.c895 struct xdp_buff *xdp) in netsec_run_xdp() argument
898 unsigned int sync, len = xdp->data_end - xdp->data; in netsec_run_xdp()
904 act = bpf_prog_run_xdp(prog, xdp); in netsec_run_xdp()
907 sync = xdp->data_end - xdp->data_hard_start - NETSEC_RXBUF_HEADROOM; in netsec_run_xdp()
939 page = virt_to_head_page(xdp->data); in netsec_run_xdp()
954 struct xdp_buff xdp; in netsec_process_rx() local
1046 skb_reserve(skb, xdp.data - xdp.data_hard_start); in netsec_process_rx()
1047 skb_put(skb, xdp.data_end - xdp.data); in netsec_process_rx()
1059 ndev->stats.rx_bytes += xdp.data_end - xdp.data; in netsec_process_rx()
1820 switch (xdp->command) { in netsec_xdp()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/socionext/
H A Dnetsec.c895 struct xdp_buff *xdp) in netsec_run_xdp() argument
898 unsigned int sync, len = xdp->data_end - xdp->data; in netsec_run_xdp()
904 act = bpf_prog_run_xdp(prog, xdp); in netsec_run_xdp()
907 sync = xdp->data_end - xdp->data_hard_start - NETSEC_RXBUF_HEADROOM; in netsec_run_xdp()
939 page = virt_to_head_page(xdp->data); in netsec_run_xdp()
954 struct xdp_buff xdp; in netsec_process_rx() local
1046 skb_reserve(skb, xdp.data - xdp.data_hard_start); in netsec_process_rx()
1047 skb_put(skb, xdp.data_end - xdp.data); in netsec_process_rx()
1059 ndev->stats.rx_bytes += xdp.data_end - xdp.data; in netsec_process_rx()
1820 switch (xdp->command) { in netsec_xdp()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/
H A Dtest_xdp_meta.sh17 ip link set dev lo xdp off 2>/dev/null > /dev/null
43 ip netns exec ns1 ip link set dev veth1 xdp obj test_xdp_meta.o sec x
44 ip netns exec ns2 ip link set dev veth2 xdp obj test_xdp_meta.o sec x
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/
H A Dtest_xdp_meta.sh17 ip link set dev lo xdp off 2>/dev/null > /dev/null
43 ip netns exec ns1 ip link set dev veth1 xdp obj test_xdp_meta.o sec x
44 ip netns exec ns2 ip link set dev veth2 xdp obj test_xdp_meta.o sec x
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/
H A Dtest_xdp_meta.sh17 ip link set dev lo xdp off 2>/dev/null > /dev/null
43 ip netns exec ns1 ip link set dev veth1 xdp obj test_xdp_meta.o sec x
44 ip netns exec ns2 ip link set dev veth2 xdp obj test_xdp_meta.o sec x
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_link.c131 CHECK(link_info.xdp.ifindex != IFINDEX_LO, "link_ifindex", in test_xdp_link()
132 "got %u != exp %u\n", link_info.xdp.ifindex, IFINDEX_LO); in test_xdp_link()
145 CHECK(link_info.xdp.ifindex != 0, "link_ifindex", in test_xdp_link()
146 "got %u != exp %u\n", link_info.xdp.ifindex, 0); in test_xdp_link()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_link.c131 CHECK(link_info.xdp.ifindex != IFINDEX_LO, "link_ifindex", in test_xdp_link()
132 "got %u != exp %u\n", link_info.xdp.ifindex, IFINDEX_LO); in test_xdp_link()
145 CHECK(link_info.xdp.ifindex != 0, "link_ifindex", in test_xdp_link()
146 "got %u != exp %u\n", link_info.xdp.ifindex, 0); in test_xdp_link()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_link.c131 CHECK(link_info.xdp.ifindex != IFINDEX_LO, "link_ifindex", in test_xdp_link()
132 "got %u != exp %u\n", link_info.xdp.ifindex, IFINDEX_LO); in test_xdp_link()
145 CHECK(link_info.xdp.ifindex != 0, "link_ifindex", in test_xdp_link()
146 "got %u != exp %u\n", link_info.xdp.ifindex, 0); in test_xdp_link()
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/connect/
H A Dconnect.cc622 PIXDEF xdp; in CntIndexInit() local
657 for (xdp= dfp->GetIndx(); xdp; xdp= xdp->GetNext()) in CntIndexInit()
658 if (xdp->GetID() == id) in CntIndexInit()
661 if (!xdp) { in CntIndexInit()
667 if (xdp->IsDynamic()) { in CntIndexInit()
670 tdbp->SetXdp(xdp); in CntIndexInit()
671 return (xdp->IsUnique()) ? 1 : 2; in CntIndexInit()
676 if (tdbp->InitialyzeIndex(g, xdp, sorted)) in CntIndexInit()
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/connect/
H A Dconnect.cc622 PIXDEF xdp; in CntIndexInit() local
657 for (xdp= dfp->GetIndx(); xdp; xdp= xdp->GetNext()) in CntIndexInit()
658 if (xdp->GetID() == id) in CntIndexInit()
661 if (!xdp) { in CntIndexInit()
667 if (xdp->IsDynamic()) { in CntIndexInit()
670 tdbp->SetXdp(xdp); in CntIndexInit()
671 return (xdp->IsUnique()) ? 1 : 2; in CntIndexInit()
676 if (tdbp->InitialyzeIndex(g, xdp, sorted)) in CntIndexInit()
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/connect/
H A Dconnect.cc622 PIXDEF xdp; in CntIndexInit() local
657 for (xdp= dfp->GetIndx(); xdp; xdp= xdp->GetNext()) in CntIndexInit()
658 if (xdp->GetID() == id) in CntIndexInit()
661 if (!xdp) { in CntIndexInit()
667 if (xdp->IsDynamic()) { in CntIndexInit()
670 tdbp->SetXdp(xdp); in CntIndexInit()
671 return (xdp->IsUnique()) ? 1 : 2; in CntIndexInit()
676 if (tdbp->InitialyzeIndex(g, xdp, sorted)) in CntIndexInit()
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/connect/
H A Dconnect.cc622 PIXDEF xdp; in CntIndexInit() local
655 for (xdp= dfp->GetIndx(); xdp; xdp= xdp->GetNext()) in CntIndexInit()
656 if (xdp->GetID() == id) in CntIndexInit()
659 if (!xdp) { in CntIndexInit()
665 if (xdp->IsDynamic()) { in CntIndexInit()
668 tdbp->SetXdp(xdp); in CntIndexInit()
669 return (xdp->IsUnique()) ? 1 : 2; in CntIndexInit()
674 if (tdbp->InitialyzeIndex(g, xdp, sorted)) in CntIndexInit()
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/connect/
H A Dconnect.cc622 PIXDEF xdp;
655 for (xdp= dfp->GetIndx(); xdp; xdp= xdp->GetNext())
656 if (xdp->GetID() == id)
659 if (!xdp) {
665 if (xdp->IsDynamic()) {
668 tdbp->SetXdp(xdp);
669 return (xdp->IsUnique()) ? 1 : 2;
674 if (tdbp->InitialyzeIndex(g, xdp, sorted))
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/connect/
H A Dconnect.cc622 PIXDEF xdp; in CntIndexInit() local
657 for (xdp= dfp->GetIndx(); xdp; xdp= xdp->GetNext()) in CntIndexInit()
658 if (xdp->GetID() == id) in CntIndexInit()
661 if (!xdp) { in CntIndexInit()
667 if (xdp->IsDynamic()) { in CntIndexInit()
670 tdbp->SetXdp(xdp); in CntIndexInit()
671 return (xdp->IsUnique()) ? 1 : 2; in CntIndexInit()
676 if (tdbp->InitialyzeIndex(g, xdp, sorted)) in CntIndexInit()
/dports/multimedia/libv4l/linux-5.13-rc2/samples/bpf/
H A Dxdp2skb_meta.sh156 call_ip link show dev $device | grep --color=auto xdp
173 call_ip link set dev $device xdp off
204 call_ip link set dev $device xdp obj $file sec $prog
/dports/multimedia/v4l_compat/linux-5.13-rc2/samples/bpf/
H A Dxdp2skb_meta.sh156 call_ip link show dev $device | grep --color=auto xdp
173 call_ip link set dev $device xdp off
204 call_ip link set dev $device xdp obj $file sec $prog
/dports/multimedia/v4l-utils/linux-5.13-rc2/samples/bpf/
H A Dxdp2skb_meta.sh156 call_ip link show dev $device | grep --color=auto xdp
173 call_ip link set dev $device xdp off
204 call_ip link set dev $device xdp obj $file sec $prog
/dports/multimedia/libv4l/linux-5.13-rc2/net/xdp/
H A Dxsk_buff_pool.c83 xskb->xdp.frame_sz = umem->chunk_size - umem->headroom; in xp_create_and_assign_umem()
99 pool->heads[i].xdp.rxq = rxq; in xp_set_rxq_info()
472 xskb->xdp.data_hard_start = pool->addrs + addr + pool->headroom; in __xp_alloc()
498 xskb->xdp.data = xskb->xdp.data_hard_start + XDP_PACKET_HEADROOM; in xp_alloc()
499 xskb->xdp.data_meta = xskb->xdp.data; in xp_alloc()
506 return &xskb->xdp; in xp_alloc()
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/xdp/
H A Dxsk_buff_pool.c83 xskb->xdp.frame_sz = umem->chunk_size - umem->headroom; in xp_create_and_assign_umem()
99 pool->heads[i].xdp.rxq = rxq; in xp_set_rxq_info()
472 xskb->xdp.data_hard_start = pool->addrs + addr + pool->headroom; in __xp_alloc()
498 xskb->xdp.data = xskb->xdp.data_hard_start + XDP_PACKET_HEADROOM; in xp_alloc()
499 xskb->xdp.data_meta = xskb->xdp.data; in xp_alloc()
506 return &xskb->xdp; in xp_alloc()
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/xdp/
H A Dxsk_buff_pool.c83 xskb->xdp.frame_sz = umem->chunk_size - umem->headroom; in xp_create_and_assign_umem()
99 pool->heads[i].xdp.rxq = rxq; in xp_set_rxq_info()
472 xskb->xdp.data_hard_start = pool->addrs + addr + pool->headroom; in __xp_alloc()
498 xskb->xdp.data = xskb->xdp.data_hard_start + XDP_PACKET_HEADROOM; in xp_alloc()
499 xskb->xdp.data_meta = xskb->xdp.data; in xp_alloc()
506 return &xskb->xdp; in xp_alloc()
/dports/multimedia/libv4l/linux-5.13-rc2/net/bpf/
H A Dtest_run.c88 u32 *retval, u32 *time, bool xdp) in bpf_test_run() argument
114 if (xdp) in bpf_test_run()
698 struct xdp_buff xdp = {}; in bpf_prog_test_run_xdp() local
715 xdp_init_buff(&xdp, headroom + max_data_sz + tailroom, in bpf_prog_test_run_xdp()
717 xdp_prepare_buff(&xdp, data, headroom, size, true); in bpf_prog_test_run_xdp()
720 ret = bpf_test_run(prog, &xdp, repeat, &retval, &duration, true); in bpf_prog_test_run_xdp()
723 if (xdp.data != data + headroom || xdp.data_end != xdp.data + size) in bpf_prog_test_run_xdp()
724 size = xdp.data_end - xdp.data; in bpf_prog_test_run_xdp()
725 ret = bpf_test_finish(kattr, uattr, xdp.data, size, retval, duration); in bpf_prog_test_run_xdp()

12345678910>>...39