[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070309.141724.112850583.davem@davemloft.net>
Date: Fri, 09 Mar 2007 14:17:24 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: [PATCH] NET : Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support
From: Eric Dumazet <dada1@...mosbay.com>
Date: Fri, 9 Mar 2007 19:39:42 +0100
> [PATCH] NET : Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support
>
> Now that network timestamps use ktime_t infrastructure, we can add a new
> SOL_SOCKET sockopt SO_TIMESTAMPNS.
>
> This command is similar to SO_TIMESTAMP, but permits transmission of
> a 'timespec struct' instead of a 'timeval struct' control message.
> (nanosecond resolution instead of microsecond)
>
> Control message is labelled SCM_TIMESTAMPNS instead of SCM_TIMESTAMP
>
> A socket cannot mix SO_TIMESTAMP and SO_TIMESTAMPNS : the two modes are
> mutually exclusive.
>
> sock_recv_timestamp() became too big to be fully inlined so I added a
> __sock_recv_timestamp() helper function.
>
> Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
> CC: linux-arch@...r.kernel.org
>
Applied, thanks for following up on all of this nanosecond
timestamp work.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists