From owner-cvs-src-old@FreeBSD.ORG Thu May 5 02:38:30 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF8DB106566C for ; Thu, 5 May 2011 02:38:30 +0000 (UTC) (envelope-from np@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CB3748FC14 for ; Thu, 5 May 2011 02:38:30 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p452cUAF088633 for ; Thu, 5 May 2011 02:38:30 GMT (envelope-from np@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p452cUn5088632 for cvs-src-old@freebsd.org; Thu, 5 May 2011 02:38:30 GMT (envelope-from np@repoman.freebsd.org) Message-Id: <201105050238.p452cUn5088632@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to np@repoman.freebsd.org using -f From: Navdeep Parhar Date: Thu, 5 May 2011 02:38:08 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/cxgbe t4_sge.c src/sys/modules/cxgbe/if_cxgbe Makefile X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2011 02:38:31 -0000 np 2011-05-05 02:38:08 UTC FreeBSD src repository Modified files: sys/dev/cxgbe t4_sge.c sys/modules/cxgbe/if_cxgbe Makefile Log: SVN rev 221477 on 2011-05-05 02:38:08Z by np T4 packet timestamps. Reference code that shows how to get a packet's timestamp out of cxgbe(4). Disabled by default because we don't have a standard way today to pass this information up the stack. The timestamp is 60 bits wide and each increment represents 1 tick of the T4's core clock. As an example, the timestamp granularity is ~4.4ns for this card: # sysctl dev.t4nex.0.core_clock dev.t4nex.0.core_clock: 228125 MFC after: 1 week Revision Changes Path 1.18 +22 -1 src/sys/dev/cxgbe/t4_sge.c 1.2 +3 -0 src/sys/modules/cxgbe/if_cxgbe/Makefile