[3c509] wirespeed output

rich corbridge rich@keylabs.com
Mon Jan 21 12:15:01 2002

I'm trying to write a utility to test the wirespeed capabilities of an
Etherswitch.  So far, my preliminary code only seems to be capable of
45000 packets per second (pps) which is far shy of fast ethernet
wirespeed (148,800 pps).  Right now I'm using raw sockets to send a UDP
packet to the broadcast MAC address.

I guess I have several questions:

Are there tweaks I need to do to the driver or kernel that will allow me
to spew packets at very high rates?

Are there ways to create/send ethernet frames that would increase the
rate at which I can send them?