Hi...

On Fri, Dec 3, 2010 at 16:34, Prabhu nath <[email protected]> wrote:
> Dear All,
>
>             I am trying to analyse ethernet and rionet driver. Both the
> drives are registered with the kernel through
>    register_netdev().
>    Each driver has their own functions registered such as e100_open(),
> rionet_open(). How to trigger this functions from the user space.

Not sure if I understand what you mean by "trigger from user space",
but I think you mean "manually trigger without the need of real
network device"?

In that case, you could use Qemu.... Qemu could simulate several type
of network interface.... some of them are rtl8130 and e1000. The
complete supported model could be seen by using this command:
$ qemu-system-x86_64 -net nic,model=?

qemu: Supported NIC models:
ne2k_pci,i82551,i82557b,i82559er,rtl8139,e1000,pcnet,virtio

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to