Home
last modified time | relevance | path

Searched refs:rxfd (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dgro.c1093 int rxfd = -1; in gro_receiver() local
1095 rxfd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_NONE)); in gro_receiver()
1096 if (rxfd < 0) in gro_receiver()
1098 setup_sock_filter(rxfd); in gro_receiver()
1099 set_timeout(rxfd); in gro_receiver()
1100 bind_packetsocket(rxfd); in gro_receiver()
1107 check_recv_pkts(rxfd, correct_payload, 1); in gro_receiver()
1111 check_recv_pkts(rxfd, correct_payload, 1); in gro_receiver()
1116 check_recv_pkts(rxfd, correct_payload, 2); in gro_receiver()
1119 check_recv_pkts(rxfd, correct_payload, 3); in gro_receiver()
[all …]
/linux/drivers/net/ethernet/tehuti/
H A Dtehuti.c911 static void print_rxfd(struct rxf_desc *rxfd);
1082 struct rxf_desc *rxfd; in bdx_rx_alloc_skbs() local
1101 rxfd = (struct rxf_desc *)(f->m.va + f->m.wptr); in bdx_rx_alloc_skbs()
1102 rxfd->info = CPU_CHIP_SWAP32(0x10003); /* INFO=1 BC=3 */ in bdx_rx_alloc_skbs()
1103 rxfd->va_lo = idx; in bdx_rx_alloc_skbs()
1104 rxfd->pa_lo = CPU_CHIP_SWAP32(L32_64(dm->dma)); in bdx_rx_alloc_skbs()
1105 rxfd->pa_hi = CPU_CHIP_SWAP32(H32_64(dm->dma)); in bdx_rx_alloc_skbs()
1106 rxfd->len = CPU_CHIP_SWAP32(f->m.pktsz); in bdx_rx_alloc_skbs()
1107 print_rxfd(rxfd); in bdx_rx_alloc_skbs()
1143 struct rxf_desc *rxfd; in bdx_recycle_skb() local
[all …]
H A Dtn40.c209 struct tn40_rxf_desc *rxfd; in tn40_set_rx_desc() local
212 rxfd = (struct tn40_rxf_desc *)(f->m.va + f->m.wptr); in tn40_set_rx_desc()
213 rxfd->info = cpu_to_le32(0x10003); /* INFO =1 BC =3 */ in tn40_set_rx_desc()
214 rxfd->va_lo = cpu_to_le32(idx); in tn40_set_rx_desc()
215 rxfd->pa_lo = cpu_to_le32(lower_32_bits(dma)); in tn40_set_rx_desc()
216 rxfd->pa_hi = cpu_to_le32(upper_32_bits(dma)); in tn40_set_rx_desc()
217 rxfd->len = cpu_to_le32(f->m.pktsz); in tn40_set_rx_desc()
/linux/arch/um/drivers/
H A Dvector_user.c520 int rxfd = -1, txfd = -1; in user_init_raw_fds() local
530 rxfd = create_raw_fd(iface, ETH_P_ALL, ETH_P_ALL); in user_init_raw_fds()
531 if (rxfd == -1) { in user_init_raw_fds()
542 result->rx_fd = rxfd; in user_init_raw_fds()
/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_phyp.h309 u64 rxfd; /* 20 */ member