[RTnet-users] stage 2 configuration
Brought to you by:
bet-frogger,
kiszka
|
From: Klemen D. <kle...@ya...> - 2014-03-13 14:20:48
|
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 |