[Xenomai] RTDM: Ethernet driver

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Tue Apr 22 13:59:58 CEST 2014


On 04/22/2014 01:53 PM, Michael Haberler wrote:
>
> Am 22.04.2014 um 13:16 schrieb Anders Blomdell
> <anders.blomdell at control.lth.se>:
>
>> On 04/22/2014 11:45 AM, yogesh garg wrote:
>>> I want to write Ethernet (NIC) driver on Xenomai using RTDM. I
>>> don't want to use RTnet.
>> Why not?
>>
>> RTnet does not imply that you have to use the RTnet protocol, it's
>> perfectly fine to use just the Ethernet drivers as you see fit
>> (that's what I do all the time).
>>
>> By going your own way, realtime ethernet for Xenomai will be
>> fragmented, which will benefit nobody (except possibly
>> WindRiver/Microsoft/...)
>
> well there are valid reasons
>
> One we have is: since the application runs across RTAI, Xenomai and
> RT_PREEMPT a single method would be beneficial, even at the cost of
> lower performance. Not everyone is fond of networking silos.

RTnet already works with RTAI and Xenomai, the API exposed by RTnet is 
the standard socket interface and drivers in RTnet are copycats of Linux 
drivers.

So, I do not see what prevents you from using Linux drivers with Linux 
and preempt_rt and RTnet drivers with Xenomai and RTAI.

-- 
					    Gilles.




More information about the Xenomai mailing list