How to debug ethernet driver ?
From: Daniel Baluta <hidden>
Date: 2016-08-04 09:48:20
From: Daniel Baluta <hidden>
Date: 2016-08-04 09:48:20
On Mon, Aug 1, 2016 at 10:26 PM, Ran Shalit [off-list ref] wrote:
Hello, I am writing ethernet network driver. I would like to ask if there are any steps which can help when debugging ethernet driver, or is it that the first test should already involve transmit/recieve packets to/from ip stack ? Any tips for debugging and testing a new ethernet driver will be appreciated,
You can start by testing the loopback mode (perhaps). Also, use wireshark or tcpdump for capturing the packets. Daniel.