Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/net/
Dgro.c807 int txfd = -1; in gro_sender() local
809 txfd = socket(PF_PACKET, SOCK_RAW, IPPROTO_RAW); in gro_sender()
810 if (txfd < 0) in gro_sender()
823 send_data_pkts(txfd, &daddr, PAYLOAD_LEN, PAYLOAD_LEN); in gro_sender()
824 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
826 send_data_pkts(txfd, &daddr, PAYLOAD_LEN, PAYLOAD_LEN / 2); in gro_sender()
827 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
829 send_data_pkts(txfd, &daddr, PAYLOAD_LEN / 2, PAYLOAD_LEN); in gro_sender()
830 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
832 send_ack(txfd, &daddr); in gro_sender()
[all …]
/linux-6.6.21/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.6.21/arch/um/drivers/
Dvector_user.c439 int rxfd = -1, txfd = -1; in user_init_raw_fds() local
454 txfd = create_raw_fd(iface, 0, ETH_P_IP); /* Turn off RX on this fd */ in user_init_raw_fds()
455 if (txfd == -1) { in user_init_raw_fds()
462 result->tx_fd = txfd; in user_init_raw_fds()