Home
last modified time | relevance | path

Searched refs:rx_fd (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/arch/um/drivers/
Dvector_user.c222 result->rx_fd = -1; in user_init_tap_fds()
243 result->rx_fd = fd; in user_init_tap_fds()
276 result->rx_fd = -1; in user_init_hybrid_fds()
291 result->rx_fd = create_raw_fd(iface, ETH_P_ALL, ETH_P_ALL); in user_init_hybrid_fds()
292 if (result->rx_fd == -1) { in user_init_hybrid_fds()
294 "uml_tap: failed to create paired raw socket: %i\n", result->rx_fd); in user_init_hybrid_fds()
375 result->rx_fd = fd; in user_init_unix_fds()
427 result->rx_fd = fd; in user_init_fd_fds()
505 result->rx_fd = sv[0]; in user_init_vde_fds()
542 result->rx_fd = rxfd; in user_init_raw_fds()
[all …]
Dvector_kern.c863 pkt_len = uml_vector_recvmsg(vp->fds->rx_fd, &hdr, 0); in vector_legacy_rx()
969 vp->fds->rx_fd, qi->mmsg_vector, budget, 0); in vector_mmsg_rx()
1046 deactivate_fd(vp->fds->rx_fd, vp->rx_irq); in vector_net_start_xmit()
1047 if ((vp->fds->rx_fd != vp->fds->tx_fd) && (vp->tx_irq != 0)) in vector_net_start_xmit()
1132 if (vp->fds->rx_fd > 0) { in vector_net_close()
1134 uml_vector_detach_bpf(vp->fds->rx_fd, vp->bpf); in vector_net_close()
1135 os_close_file(vp->fds->rx_fd); in vector_net_close()
1136 vp->fds->rx_fd = -1; in vector_net_close()
1252 irq_rr + VECTOR_BASE_IRQ, vp->fds->rx_fd, in vector_net_open()
1281 if (!uml_raw_enable_qdisc_bypass(vp->fds->rx_fd)) in vector_net_open()
[all …]
Dvector_user.h64 int rx_fd; member
Dvector_transports.c402 if (uml_raw_enable_vnet_headers(vp->fds->rx_fd)) { in build_raw_transport_data()
423 if (uml_raw_enable_vnet_headers(vp->fds->rx_fd)) { in build_hybrid_transport_data()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_sockmap.c742 int rx_fd, txpid, rxpid, err = 0; in sendmsg_test() local
752 rx_fd = p1; in sendmsg_test()
754 rx_fd = p2; in sendmsg_test()
762 err = sockmap_init_ktls(opt->verbose, rx_fd); in sendmsg_test()
799 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()
/linux-6.12.1/drivers/net/ethernet/atheros/
Dag71xx.c747 u32 rx_sm, tx_sm, rx_fd; in ag71xx_check_dma_stuck() local
761 rx_fd = ag71xx_rr(ag, AG71XX_REG_FIFO_DEPTH); in ag71xx_check_dma_stuck()
763 ((rx_sm >> 4) & 0x7) == 0 && rx_fd == 0) in ag71xx_check_dma_stuck()