Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2010 22:33:04 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/cxgb cxgb_adapter.h cxgb_sge.c
Message-ID:  <201006122233.o5CMXOeQ083654@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
np          2010-06-12 22:33:04 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/cxgb         cxgb_adapter.h cxgb_sge.c 
  Log:
  SVN rev 209116 on 2010-06-12 22:33:04Z by np
  
  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
  
  Revision  Changes    Path
  1.55      +2 -0      src/sys/dev/cxgb/cxgb_adapter.h
  1.91      +51 -16    src/sys/dev/cxgb/cxgb_sge.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006122233.o5CMXOeQ083654>