[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <95DC1AA8EC908B48939B72CF375AA5E311B26A76@alice.at.omicron.at>
Date: Fri, 9 Apr 2010 11:09:25 +0200
From: Manfred Rudigier <Manfred.Rudigier@...cron.at>
To: "'netdev@...r.kernel.org'" <netdev@...r.kernel.org>,
"'linuxppc-dev@...ts.ozlabs.org'" <linuxppc-dev@...ts.ozlabs.org>
CC: "'sandeep.kumar@...escale.com'" <sandeep.kumar@...escale.com>,
"'David Miller'" <davem@...emloft.net>,
"'Scott Wood'" <scottwood@...escale.com>
Subject: [PATCH v2 net-next 0/2] timestamping support for gianfar
On 2010-04-07 Manfred Rudigier wrote:
> this patch series adds support for hardware time stamping to gianfar. It uses
> the new SO_TIMESTAMPING infrastructure to deliver raw hardware timestamps to
> user space applications.
>
> Freescale CPUs with an eTSEC are able to time stamp all incoming network packets
> and can also time stamp transmit packets when instructed. The time stamps are
> generated by the eTSEC timer clock module which is running either from an
> external oscillator or internal clock.
>
> The submitted patches do not initialize the timer clock module since the
> oscillator frequency might be different from board to board. Thus the user
> must configure the timer clock module by hand at the moment - otherwise no
> time stamps will be reported. Below is a simple example code which
> shows how to configure the timer clock module on the P2020DS/RDB. It can be
> used to quickly try out the patches.
>
> Testing was done with the time stamping program from Patrick Ohly which can
> be found in the kernel sources under Documentation/networking/timestamping.
> I have verified the functionality on the MPC8313RDB, P2020DS and P2020RDB
> board with the latest net-2.6 kernel. Send and receive time stamps could be
> retrieved on all eTSEC ports.
Hello,
I've modified the patches according to your comments so far.
Version 2 changes:
- Only two instead of four patches so every patch adds some useful functionality
- hwts_rx_en and hwts_tx_en are no bitfields any more
Manfred
--
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