> i'll think about the frame-generator; Here were the two main problems i can remember with my first version:
How do you discover what is can actually do? You probably need to collect up all the open PHY datasheets and get an idea what the different vendors provide, what is common, what could be shared extensions etc, and think about how you can describe the capabilities. Probably a netlink call will be needed to return what the hardware is capable of doing. At the time, it was necessary to hold RTNL while performing packet generation. That is bad, because it means most of the control plane stops for all devices. We will need to copy some of the ideas from the cable test to avoid this, adding a state to the state machine, etc. Andrew