From owner-freebsd-net@FreeBSD.ORG Fri Sep 9 00:21:21 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68990106566C for ; Fri, 9 Sep 2011 00:21:21 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id 41F718FC0C for ; Fri, 9 Sep 2011 00:21:21 +0000 (UTC) Received: from [50.12.52.187] (helo=[192.168.1.10]) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1R1oqO-00025c-Jq; Thu, 08 Sep 2011 20:21:20 -0400 Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=iso-8859-1 From: George Neville-Neil In-Reply-To: <4E4E3522.6030207@gmail.com> Date: Thu, 8 Sep 2011 20:21:20 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4E4E3522.6030207@gmail.com> To: Ben Gray X-Mailer: Apple Mail (2.1244.3) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com Cc: freebsd-net@freebsd.org Subject: Re: Test tools for new network driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 00:21:21 -0000 On Aug 19, 2011, at 06:04 , Ben Gray wrote: > Hi, >=20 > I'm not sure if this the right list to post to, but here goes ... >=20 > I'm currently writing a driver for the SMSC LAN95xx range of USB to = 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 work with small (<64 byte) packets. >=20 > So 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. >=20 Sorry to be late on this one. http://pcs.sf.net and /usr/ports/net/py-pcs If you have questions on it let me know. I'm the author. Best, George