Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2010 15:03:16 +1000
From:      Lawrence Stewart <lstewart@freebsd.org>
To:        Navdeep Parhar <np@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r209116 - head/sys/dev/cxgb
Message-ID:  <4C146694.3000508@freebsd.org>
In-Reply-To: <201006122233.o5CMX4Fc032367@svn.freebsd.org>
References:  <201006122233.o5CMX4Fc032367@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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