This is a discussion on Testing the ethernet driver within the Linux Networking forums, part of the Linux Forums category; Hi, I have written ethernet driver for the ethernet controller which is embedded in SoC. The BSP development and the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I have written ethernet driver for the ethernet controller which is embedded in SoC. The BSP development and the driver development is going on hand in hand. Obviously I can't use netperf / tcpdump as the console is not yet up. I want to test the driver functionality without the support of filesystem(ramdisk/NFS) for the reason mentioned above. I was able to test uptil the registration of the device driver as well as the irq. But wanted to check the transmit / receive / timeout / functionality. Any suggestions to test the driver? I now I can do it once the ramdisk is up. But wanted to have any method to do without it. Regards, Sagar |
|
|||
|
Sagar wrote: > I have written ethernet driver for the ethernet controller which is > embedded in SoC. > The BSP development and the driver development is going on hand in > hand. Obviously I can't use netperf / tcpdump as the console is not yet > up. I want to test the driver functionality without the support of > filesystem(ramdisk/NFS) for the reason mentioned above. I was able to > test uptil the registration of the device driver as well as the irq. > But wanted to check the transmit / receive / timeout / functionality. > Any suggestions to test the driver? Might be netpoll api can help you. http://www.selenic.com/netpoll/ |