Max Timchenko
|
How to specify the instance number to the networking stack?
|
Max Timchenko
01/31/2011 4:58 AM
post82765
|
How to specify the instance number to the networking stack?
Dear forum,
Let's say I've written a new driver and, for reasons unknown, I want to attach it to the stack with an index of my
choosing (let's say foo2).
When I mount a driver, it always appears as foo0 if there's one driver, foo1 if there are two, etc. How can I force the
index? I've tried setting the lan parameter of the nic_config structure but it didn't help.
I guess that's what the 'endpoint' parameter does in io_net; what's the io-pkt's way?
Thanks!
|
|
|