From owner-freebsd-arch@FreeBSD.ORG Wed Jan 9 07:07:44 2008 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B39FE16A417 for ; Wed, 9 Jan 2008 07:07:44 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id 75DF613C45B for ; Wed, 9 Jan 2008 07:07:44 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so265037waf.3 for ; Tue, 08 Jan 2008 23:07:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=uWFRnyOGy9ZKJRzLiYooqk88zKCMMUeJaLbRJtKkbQg=; b=lJC7diOuQCWMobOjusSusS/Vnhd9LTiMQE7eGhNvM/Mhj3Qcbg4Lzz/7+DJ5FxisbxpAP+nKhvRIVPD6tqT8CuaP3OAxDWFq4023tszaYkCxSUdHpex3rnjbebeZwvigiRRAHO0zig03Fht2VPh7Xdg1Bl9eH73Iy89mvXdybps= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sCP+n5IC3yeq6uc9bI8E5SqhAitAI6HRrQRhB2FecZZVSUrUxGPCPLeNupwiS0QHlWyPd5Z0B+QqcdxLc1ZXOCOXiKY6HY8O02VqQQFNDJ6fQluv2Qxwr1RavTI+kohcuI1So6D5/AXRRmC+q13ckYFPnM2rreAJKqvCaMRJ/MA= Received: by 10.115.79.1 with SMTP id g1mr463564wal.43.1199862463993; Tue, 08 Jan 2008 23:07:43 -0800 (PST) Received: by 10.114.255.11 with HTTP; Tue, 8 Jan 2008 23:07:43 -0800 (PST) Message-ID: Date: Tue, 8 Jan 2008 23:07:43 -0800 From: "Kip Macy" To: "Kevin Oberman" In-Reply-To: <20071219180601.C170945014@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071219180601.C170945014@ptavv.es.net> Cc: freebsd-arch@freebsd.org Subject: Re: TOE support issues X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2008 07:07:44 -0000 On Dec 19, 2007 10:06 AM, Kevin Oberman wrote: > I have come up with several questions about the supportability of > TOE. Sorry for the delay. > > 1. Packet capture. Can I use tcpdump or other libpcap tools with TOE > cards? Can the card do pcap in its own microcode? Yes. All traffic can be captured. That functionality is not currently supported but is planned. > > 2. Statistics. What statistics are available with TOE? I know the > Chelsio card keeps all kinds of potentially interesting stats as will > as the basic packet and error counts. Can these be made available to user > code, management tools, and such stuff? The standard TCP and IP MIBs are available. There are a large number of other statistics that are available numbers of packets of different sizes, classes of errors, pause frames, etc. However, I did not port over from Linux because I didn't know of any good way of exporting them. I will probably just add a sysctl node to make them visible. > 3. The Chelsio card has some very impressive, but as far as I can tell, > undocumented capabilities for things like traffic shaping and > policing. Any of these available? The traffic manager and packet classification features are fully supported today. This is undergoing license packaging right now. This will be available as a separately licensable feature shortly. By way of clarification all cards support it, but it isn't enabled by default. -Kip