Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Newbie question regarding io-pkt: (3 Items)
   
Newbie question regarding io-pkt  
Hi,

I'm a newbie to io-pkt, so this is just to confirm my limited understading of io-pkt. Is this correct:

io-pkt is an abstraction layer that helps to run NetBSD driver network "as is" on QNX platforms. io-pkt is mutually 
exclusive with io-net. Hence we need to use one & one of the two. We use io-pkt if we need to use NET BSD drivers, and 
we use io-net when we need to use native QNX drivers?

Thanks,

Rajat
Re: Newbie question regarding io-pkt  
On Fri, Feb 01, 2008 at 12:47:20AM -0500, Rajat Jain wrote:
> 
> Hi,
> 
> I'm a newbie to io-pkt, so this is just to confirm my limited understading of io-pkt. Is this correct:
> 
> io-pkt is an abstraction layer that helps to run NetBSD driver network "as is" on QNX platforms. io-pkt is mutually 
exclusive with io-net. Hence we need to use one & one of the two. We use io-pkt if we need to use NET BSD drivers, and we use io-net when we need to use native QNX drivers?
> 

You don't need to use NetBSD drivers.  There's a porting
library that helps if you want to.  There are 3 classes of
drivers:
- Native
- Legacy io-net drivers
- Ported NetBSD drivers

See this page for more info
http://community.qnx.com/sf/wiki/do/viewPage/projects.networking/wiki/Drivers_wiki_page

io-net and io-pkt are different enough and are developed
separately so it's fair to call them mutually exclusive from
that point of view.  It is possible to run them at the same
time if they're controlling separate hardware but this
probably isn't usually necessary.

-seanb
RE: Newbie question regarding io-pkt  
As a general note, there's nothing actually stopping you from porting a
NetBSD driver to io-net, it's just far more difficult and tedious to do so
since the driver API is different. 

Note that io-net drivers are fully compatible with io-pkt (via the shim
layer).  Io-pkt drivers are completely incompatible with io-net.

	Robert.


-----Original Message-----
From: Rajat Jain [mailto:rajat.jain@infogain.com] 
Sent: Friday, February 01, 2008 12:47 AM
To: general-networking
Subject: Newbie question regarding io-pkt


Hi,

I'm a newbie to io-pkt, so this is just to confirm my limited understading
of io-pkt. Is this correct:

io-pkt is an abstraction layer that helps to run NetBSD driver network "as
is" on QNX platforms. io-pkt is mutually exclusive with io-net. Hence we
need to use one & one of the two. We use io-pkt if we need to use NET BSD
drivers, and we use io-net when we need to use native QNX drivers?

Thanks,

Rajat

_______________________________________________
General
http://community.qnx.com/sf/go/post4719