Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-11-18 Thread Rafal Ozieblo
>+static inline void macb_handle_txtstamp(struct macb *bp, struct sk_buff *skb, >+ struct macb_dma_desc *desc) >+{ >+ u32 ts_s, ts_ns; >+ u8 msg_type; >+ >+ skb_copy_from_linear_data_offset(skb, GEM_TX_PTPHDR_OFFSET, >+

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-11-18 Thread Rafal Ozieblo
>+static inline void macb_handle_txtstamp(struct macb *bp, struct sk_buff *skb, >+ struct macb_dma_desc *desc) >+{ >+ u32 ts_s, ts_ns; >+ u8 msg_type; >+ >+ skb_copy_from_linear_data_offset(skb, GEM_TX_PTPHDR_OFFSET, >+

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-10 Thread Andrei Pistirica
kernel.org; linux-kernel@vger.kernel.org; devicet...@vger.kernel.org; Punnaiah Choudary Kalluri <punn...@xilinx.com>; Michal Simek <mich...@xilinx.com>; Anirudha Sarangi <anir...@xilinx.com> Subject: Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC Le

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-10 Thread Andrei Pistirica
: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC Le 21/09/2015 à 19:49, Harini Katakam a écrit : On Fri, Sep 11, 2015 at 1:27 PM, Harini Katakam wrote: Cadence GEM in Zynq Ultrascale+ MPSoC supports 1588 and provides a 102 bit time counter with 48 bits for seconds, 30 bits

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-10 Thread Michal Simek
naiah Choudary Kalluri >> <punn...@xilinx.com>; Michal Simek <mich...@xilinx.com>; Anirudha >> Sarangi <anir...@xilinx.com> >> Subject: Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq >> Ultrascale+ MPSoC >> >> Le 21/09/2015 à

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-10 Thread Michal Simek
ezillon > electrons.com>; alexandre.bell...@free-electrons.com; >> net...@vger.kernel.org; linux-kernel@vger.kernel.org; >> devicet...@vger.kernel.org; Punnaiah Choudary Kalluri >> ; Michal Simek ; Anirudha >> Sarangi >> Subject: Re: [RFC PATCH 2/3] net: macb: Add supp

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-10 Thread Harini Katakam
Hi Andrei, On Wed, Aug 10, 2016 at 3:42 PM, Andrei Pistirica wrote: > Hi Punnaiah, > > cpts_match(...) has a way to parse frames, while ptp_classify_raw identifies > the underlying protocol (in case the frames are parsed on data path), or > tx/rxtstamp callbacks

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-10 Thread Harini Katakam
Hi Andrei, On Wed, Aug 10, 2016 at 3:42 PM, Andrei Pistirica wrote: > Hi Punnaiah, > > cpts_match(...) has a way to parse frames, while ptp_classify_raw identifies > the underlying protocol (in case the frames are parsed on data path), or > tx/rxtstamp callbacks can be used with PTP events. But,

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-09 Thread Harini Katakam
ei.pistir...@microchip.com> >> Cc: da...@davemloft.net; Boris Brezillon <boris.brezillon@free- >> electrons.com>; alexandre.bell...@free-electrons.com; >> net...@vger.kernel.org; linux-kernel@vger.kernel.org; >> devicet...@vger.kernel.org; Punnaiah Choudary Kalluri >

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-09 Thread Harini Katakam
;> net...@vger.kernel.org; linux-kernel@vger.kernel.org; >> devicet...@vger.kernel.org; Punnaiah Choudary Kalluri >> ; Michal Simek ; Anirudha >> Sarangi >> Subject: Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq >> Ultrascale+ MPSoC >> >> Le 21/0

RE: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-09 Thread Punnaiah Choudary Kalluri
oudary Kalluri > <punn...@xilinx.com>; Michal Simek <mich...@xilinx.com>; Anirudha > Sarangi <anir...@xilinx.com> > Subject: Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq > Ultrascale+ MPSoC > > Le 21/09/2015 à 19:49, Harini Katakam a écrit : &g

RE: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-09 Thread Punnaiah Choudary Kalluri
t; Boris Brezillon electrons.com>; alexandre.bell...@free-electrons.com; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org; Punnaiah Choudary Kalluri > ; Michal Simek ; Anirudha > Sarangi > Subject: Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Z

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-09 Thread Nicolas Ferre
Le 21/09/2015 à 19:49, Harini Katakam a écrit : > On Fri, Sep 11, 2015 at 1:27 PM, Harini Katakam > wrote: >> Cadence GEM in Zynq Ultrascale+ MPSoC supports 1588 and provides a >> 102 bit time counter with 48 bits for seconds, 30 bits for nsecs and >> 24 bits for

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-09 Thread Nicolas Ferre
Le 21/09/2015 à 19:49, Harini Katakam a écrit : > On Fri, Sep 11, 2015 at 1:27 PM, Harini Katakam > wrote: >> Cadence GEM in Zynq Ultrascale+ MPSoC supports 1588 and provides a >> 102 bit time counter with 48 bits for seconds, 30 bits for nsecs and >> 24 bits for sub-nsecs. The timestamp is made

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2015-09-21 Thread Harini Katakam
Hi Richard, On Tue, Sep 22, 2015 at 12:09 AM, Richard Cochran wrote: > On Mon, Sep 21, 2015 at 11:19:32PM +0530, Harini Katakam wrote: >> Ping > > 1) trim your replies > > 2) put the PTP maintainer on PTP patches for review > I'm sorry I missed that. Will do so in the future. Regards, Harini

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2015-09-21 Thread Richard Cochran
On Mon, Sep 21, 2015 at 11:19:32PM +0530, Harini Katakam wrote: > Ping 1) trim your replies 2) put the PTP maintainer on PTP patches for review Thanks, Richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2015-09-21 Thread Harini Katakam
On Fri, Sep 11, 2015 at 1:27 PM, Harini Katakam wrote: > Cadence GEM in Zynq Ultrascale+ MPSoC supports 1588 and provides a > 102 bit time counter with 48 bits for seconds, 30 bits for nsecs and > 24 bits for sub-nsecs. The timestamp is made available to the SW through > registers as well as

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2015-09-21 Thread Harini Katakam
Hi Richard, On Tue, Sep 22, 2015 at 12:09 AM, Richard Cochran wrote: > On Mon, Sep 21, 2015 at 11:19:32PM +0530, Harini Katakam wrote: >> Ping > > 1) trim your replies > > 2) put the PTP maintainer on PTP patches for review > I'm sorry I missed that. Will do so in the

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2015-09-21 Thread Harini Katakam
On Fri, Sep 11, 2015 at 1:27 PM, Harini Katakam wrote: > Cadence GEM in Zynq Ultrascale+ MPSoC supports 1588 and provides a > 102 bit time counter with 48 bits for seconds, 30 bits for nsecs and > 24 bits for sub-nsecs. The timestamp is made available to the SW through

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2015-09-21 Thread Richard Cochran
On Mon, Sep 21, 2015 at 11:19:32PM +0530, Harini Katakam wrote: > Ping 1) trim your replies 2) put the PTP maintainer on PTP patches for review Thanks, Richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More