Home
last modified time | relevance | path

Searched refs:txfd (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/net/
Dgro.c974 int txfd = -1; in gro_sender() local
976 txfd = socket(PF_PACKET, SOCK_RAW, IPPROTO_RAW); in gro_sender()
977 if (txfd < 0) in gro_sender()
990 send_data_pkts(txfd, &daddr, PAYLOAD_LEN, PAYLOAD_LEN); in gro_sender()
991 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
993 send_data_pkts(txfd, &daddr, PAYLOAD_LEN, PAYLOAD_LEN / 2); in gro_sender()
994 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
996 send_data_pkts(txfd, &daddr, PAYLOAD_LEN / 2, PAYLOAD_LEN); in gro_sender()
997 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
999 send_ack(txfd, &daddr); in gro_sender()
[all …]
/linux-6.12.1/drivers/net/ethernet/toshiba/
Dtc35815.c1264 struct TxFD *txfd; in tc35815_send_packet() local
1305 txfd = &lp->tfd_base[lp->tfd_start]; in tc35815_send_packet()
1306 txfd->bd.BuffData = cpu_to_le32(lp->tx_skbs[lp->tfd_start].skb_dma); in tc35815_send_packet()
1307 txfd->bd.BDCtl = cpu_to_le32(skb->len); in tc35815_send_packet()
1308 txfd->fd.FDSystem = cpu_to_le32(lp->tfd_start); in tc35815_send_packet()
1309 txfd->fd.FDCtl = cpu_to_le32(FD_CownsFD | (1 << FD_BDCnt_SHIFT)); in tc35815_send_packet()
1315 txfd->fd.FDNext |= cpu_to_le32(FD_Next_EOL); in tc35815_send_packet()
1316 txfd->fd.FDCtl |= cpu_to_le32(FD_FrmOpt_IntTx); in tc35815_send_packet()
1319 dump_txfd(txfd); in tc35815_send_packet()
1321 tc_writel(fd_virt_to_bus(lp, txfd), &tr->TxFrmPtr); in tc35815_send_packet()
[all …]
/linux-6.12.1/arch/um/drivers/
Dvector_user.c520 int rxfd = -1, txfd = -1; in user_init_raw_fds() local
535 txfd = create_raw_fd(iface, 0, ETH_P_IP); /* Turn off RX on this fd */ in user_init_raw_fds()
536 if (txfd == -1) { in user_init_raw_fds()
543 result->tx_fd = txfd; in user_init_raw_fds()