Hello everybody,
I am studying the rtcfg - stage2 configuration. When the stage2_file is larger
than MTU (1500) the file is cat to fragments which are sent to slave one after
another without any control of the file data transfer. I am having a problem
with that because the my rtnet slave can not process the data so fast. This is
why i am looking for some kind of flow control.
One option is the use of Acknowledge_Configuration frame and
Acknowledge_Length filed, which is sent by slave after it process one stage_2
configuration fragment. But this means that the stage2_file in length of 100
frames need 100 factorial (100*99*98*....*1) frames to be sent by master, which
is a huge number.
That is why i would like to add/change this part in the rtcfg source so that it
would enable fragment by fragment transmit of stage2 configuration file. What i
am not sure is what part of the code cuts the stage2_file and transmit it. I
went through the rtcfg.c and rtcfg_ioctl.c and i could not find where this
happens.
Can someone please give me some hint what files should i check/change or point
to workaround.
Best Regards
Klemen
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users