From owner-svn-src-all@FreeBSD.ORG Sun Jun 13 05:03:19 2010 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3176F1065674; Sun, 13 Jun 2010 05:03:19 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id E33F08FC0C; Sun, 13 Jun 2010 05:03:18 +0000 (UTC) Received: from lawrence1.loshell.room52.net (unknown [59.167.184.191]) by lauren.room52.net (Postfix) with ESMTPSA id 2CDB67E871; Sun, 13 Jun 2010 15:03:17 +1000 (EST) Message-ID: <4C146694.3000508@freebsd.org> Date: Sun, 13 Jun 2010 15:03:16 +1000 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-AU; rv:1.9.1.9) Gecko/20100405 Thunderbird/3.0.4 MIME-Version: 1.0 To: Navdeep Parhar References: <201006122233.o5CMX4Fc032367@svn.freebsd.org> In-Reply-To: <201006122233.o5CMX4Fc032367@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r209116 - head/sys/dev/cxgb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2010 05:03:19 -0000 Hi Navdeep, On 06/13/10 08:33, Navdeep Parhar wrote: > Log: > cxgb(4): add knob to get packet timestamps from the hardware. > > The T3 ASIC can provide an incoming packet's timestamp instead of its RSS hash. > The timestamp is just a counter running off the card's clock. With a 175MHz > clock an increment represents ~5.7ns and the 32 bit value wraps around in ~25s. > > # sysctl -d dev.cxgbc.0.pkt_timestamp > dev.cxgbc.0.pkt_timestamp: provide packet timestamp instead of connection hash > > # sysctl -d dev.cxgbc.0.core_clock > dev.cxgbc.0.core_clock: core clock frequency (in KHz) > # sysctl dev.cxgbc.0.core_clock > dev.cxgbc.0.core_clock: 175000 Is this really a "one or the other" feature, or is it technically possible to support both simultaneously at some point in the future if additional work was done? Just curious... Cheers, Lawrence