[ again: do not post mailing list questions to rtnet-users-owner ]

anju Mary wrote:
> Hello,
>          I am a beginner in rtnet programming.I am now modifying the normal
> Linux ethernet driver into rtnet ethernet driver ,modifications are made
> comparing the drivers given in the rtnet-0.9.11 driver folder and following
> the steps given in the README.drvporting.Made modification to the driver
> mainly based on the drivers rt_pcnet32.c,rt_natsemi.c,rt_8139too.c &
> rt_via-rhine.c ect.
> 
> But my driver includes some more functions that are not defined in the
> drivers above mentioned.How can i modify these function to suit the rtnet
> format?
> some of the functions are:
> *1.netif_rx_schedule_prep(dev),

RTnet has no NAPI support, you can simply drop related code.

> 2.skb_shinfo(skb),

As explained before.

> 3.rtnl_unlock (),rtnl_lock (),rtnl_lock_interruptible () etc..*

No equivalent.

> I have some more queries -*poll() fuction is used in rtnet programming?

They most likely belong to NAPI as well.

> How can i expand the rtskb pool size?

Which pool (see README.pools)?

> Is data_len is used in rtnet?*

There is rtskb->len instead.

> In my case the problem is with the receiving section..it is not workiing
> properly..
> can any one help me..
> *I will post the changes in form of a patch against rtnet.git*

Posting only snip-lets just prolongs the stabilization phase.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to