Changeset 3760 in Sophya for trunk/AddOn/TAcq
- Timestamp:
- Apr 30, 2010, 11:26:02 PM (15 years ago)
- Location:
- trunk/AddOn/TAcq
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/acqparam_exemple.d
r3757 r3760 49 49 # @ethrnlink 4 50 50 ethrnlink 4 51 ## No de port TCP/IP et taille des blocs lors des transferts sur ethernet 52 # @tcpportid 6912 53 # @ethtrbsz 1024 54 tcpportid 6912 55 ethtrbsz 1024 51 56 # Pour desactiver l'ecriture des fichiers FITS 52 57 # @nosavesigfits -
trunk/AddOn/TAcq/brparam.cc
r3757 r3760 134 134 135 135 tcpportid=BRSPORTID; 136 eth_transfer_blksz=1024; 136 137 pci2eth_fgdirect=false; 137 138 ethr_nlink = 0; … … 190 191 reducoffset=p.reducoffset; 191 192 193 tcpportid=p.tcpportid; 194 eth_transfer_blksz=p.eth_transfer_blksz; 192 195 pci2eth_fgdirect=p.pci2eth_fgdirect; 193 196 eths_targets=p.eths_targets; … … 229 232 // Mot cle pour le mode envoi-reception sur ethernet 230 233 tcpportid=conf.IParam("tcpportid",0,BRSPORTID); 234 eth_transfer_blksz=(size_t)conf.IParam("ethtrbsz",0,1024); 231 235 if (conf.HasKey("pci2ethdirect")) pci2eth_fgdirect = true; // Transfer direct DMA -> Ethernet 232 236 if (conf.HasKey("ethrtargets")) { // Machines destinations des paquets -
trunk/AddOn/TAcq/brparam.h
r3757 r3760 159 159 160 160 // ---- Variables specifiques em mode transfert DMA vers Ethernet 161 int tcpportid; 161 int tcpportid; // No de port TCP/IP 162 size_t eth_transfer_blksz; //taille des blocs pour le transfert a travers ethernet 162 163 // Cote Send DMA -> Ethernet 163 164 bool pci2eth_fgdirect; // true -> direct transfer DMA to Ethernet -
trunk/AddOn/TAcq/mfacq.cc
r3759 r3760 295 295 PCIEToEthernet pci2eth(vec_pciw, bpar.GetParams().GetEthTargets(), bpar.GetParams()); 296 296 pci2eth.SetPrintLevel(1); 297 pci2eth.SetEthSendBlockSize(bpar.GetParams().eth_transfer_blksz); 297 298 // usleep(200); attente au cas ou ... 298 299 pPcie2Eth=&pci2eth; … … 347 348 cout << "mfacq[3] Creating EthernetReader thread object " << endl; 348 349 EthernetReader ethrdr(mmgr, bpar.GetParams(), bpar.GetParams().tcpportid, false); 350 ethrdr.SetEthRecvBlockSize(acpar.eth_transfer_blksz); 351 349 352 // usleep(200); attente au cas ou ... 350 353 pEthRdr=ðrdr;
Note:
See TracChangeset
for help on using the changeset viewer.