This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

IP over HDLC link network driver


Hi,

 I am using MPC860 with mbx like board. SCC1 is configured in ethernet mode. 
 I have configured the SCC 2,3 and 4 in HDLC mode and want to build network driver over 
 them, so that each of them is recognized as separate interface (just like ethernet) and 
 initialized with the BSD TCP/IP stack.

 In case of ethernet the delivery of IP packets happens through alarm_thread (timeout.c) 
 which calls eth_drv_run_deliveries() or eth_drv_tickle_devices(). 
 I have couple of questions related to it: 
 1. Can I use the same thread and add my deliver method to it? 
   But  won't it make the function calls serialized? 
   Will it impact performance? 
 2. Do I need to make a separate thread for handling the SCCs configured in HDLC mode?   
                 
   Will a single thread do for all the three or there should 3 seprate ones? 
   What guidelines or precautions should be followed while creating it?

 Thanks in advance, 
 Aditya


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]