Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/net/
Dgro.c806 int txfd = -1; in gro_sender() local
808 txfd = socket(PF_PACKET, SOCK_RAW, IPPROTO_RAW); in gro_sender()
809 if (txfd < 0) in gro_sender()
822 send_data_pkts(txfd, &daddr, PAYLOAD_LEN, PAYLOAD_LEN); in gro_sender()
823 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
825 send_data_pkts(txfd, &daddr, PAYLOAD_LEN, PAYLOAD_LEN / 2); in gro_sender()
826 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
828 send_data_pkts(txfd, &daddr, PAYLOAD_LEN / 2, PAYLOAD_LEN); in gro_sender()
829 write_packet(txfd, fin_pkt, total_hdr_len, &daddr); in gro_sender()
831 send_ack(txfd, &daddr); in gro_sender()
[all …]
/Linux-v5.15/drivers/net/ethernet/toshiba/
Dtc35815.c1263 struct TxFD *txfd; in tc35815_send_packet() local
1304 txfd = &lp->tfd_base[lp->tfd_start]; in tc35815_send_packet()
1305 txfd->bd.BuffData = cpu_to_le32(lp->tx_skbs[lp->tfd_start].skb_dma); in tc35815_send_packet()
1306 txfd->bd.BDCtl = cpu_to_le32(skb->len); in tc35815_send_packet()
1307 txfd->fd.FDSystem = cpu_to_le32(lp->tfd_start); in tc35815_send_packet()
1308 txfd->fd.FDCtl = cpu_to_le32(FD_CownsFD | (1 << FD_BDCnt_SHIFT)); in tc35815_send_packet()
1314 txfd->fd.FDNext |= cpu_to_le32(FD_Next_EOL); in tc35815_send_packet()
1315 txfd->fd.FDCtl |= cpu_to_le32(FD_FrmOpt_IntTx); in tc35815_send_packet()
1318 dump_txfd(txfd); in tc35815_send_packet()
1320 tc_writel(fd_virt_to_bus(lp, txfd), &tr->TxFrmPtr); in tc35815_send_packet()
[all …]
/Linux-v5.15/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()