Date: Fri, 19 Aug 2011 19:00:28 +0800 From: Adrian Chadd <adrian@freebsd.org> To: Ben Gray <ben.r.gray@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: Test tools for new network driver Message-ID: <CAJ-VmokujPpBqjBBMffGvGZ%2BwRZwbtNYNn18-ngLd=3W0E-wcg@mail.gmail.com> In-Reply-To: <4E4E3522.6030207@gmail.com> References: <4E4E3522.6030207@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Cool! I don't think there's a random MAC address function call; I see homebrewed versions of those in various drivers. :) I'm not sure about a packet fuzz tester; but that sounds like it'd be a great addition to the tools/ directory. adrian On 19 August 2011 18:04, Ben Gray <ben.r.gray@gmail.com> wrote: > Hi, > > =A0 =A0I'm not sure if this the right list to post to, but here goes ... > > =A0 =A0I'm currently writing a driver for the SMSC LAN95xx range of USB t= o > Ethernet adapter chips > (http://www.smsc.com/index.php?tid=3D300&pid=3D135&tab=3D1). The basic RX= /TX works > and now I'm trying to get the H/W checksum offload working, however I've > come across some problems with the H/W implementation, e.g. it doesn't wo= rk > with small (<64 byte) packets. > > =A0 =A0So I was wondering if anyone knows of any test tools I can use to = fire > all the different unusual sort of packets at the interface to see how the > H/W csum reacts, i.e. runt packets, packets with IP options, IPv6 packets > with extension headers, etc. > > =A0 =A0Another question I had was; is there a kernel function to generate= a > random MAC address ? Or is there a FreeBSD (or FOSS equivalent) Ethernet > manufacturer ID I could use for randomly generated MAC addresses ? > > =A0 =A0The primarily purpose is for the range of Texas Instruments ARM > development boards (Pandaboard & Beagleboard), however there does exist a= t > least one USB dongle you can buy for the PC which uses this chipset. > > Thanks in advance, > Ben > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokujPpBqjBBMffGvGZ%2BwRZwbtNYNn18-ngLd=3W0E-wcg>