If you use a 2.6.39 or newer kernel 1588 timestamping is enabled in the driver 
by default when it's enabled in the kernel.  Please try a newer kernel.  If you 
can't look to see if you can backport both the kernel and possibly driver 
changes to your older kernel.

Cheers,
John


> -----Original Message-----
> From: Plank, Stefan [mailto:[email protected]]
> Sent: Monday, September 26, 2011 7:38 AM
> To: [email protected]
> Subject: [E1000-devel] Needing help for igb
> 
> Hello,
> 
> I have studied documentation for IEEE 1588 PTP and Intel 82576 with IGB
> driver.
> But I don't get HW timestamps in sending PTP packets?
> 
> I am using
> linux kernel 2.6.37.6
> igb driver 3.1.16
> 
> I downloaded a ptpd which works without hw timestamping very well.
> When adding hw support nothing happens?
> 
> As described in linux documentation following seems to be
> (additionally) necessary:
> ioctl(sock, SIOCSHWTSTAMP, &hwtstamp) with HWTSTAMP_TX_ON
> setsockopt(sock, SOL_SOCKET, SO_TIMESTAMP, &temp, sizeof(int))
> so_timestamping_flags = SOF_TIMESTAMPING_TX_HARDWARE |
> SOF_TIMESTAMPING_RX_HARDWARE | SOF_TIMESTAMPING_SYS_HARDWARE;
> setsockopt(sock, SOL_SOCKET, SO_TIMESTAMPING, &so_timestamping_flags,
> sizeof(so_timestamping_flags))
> 
> Can you give me a hint how it works as wanted?
> Does the 82576 place the timestamps (only) in ptp packets?
> The offset in the packets is not always the same - how is this handled?
> 
> Looking forward to your answer I say thank you.
> 
> Kind regards
> Stefan Plank
> Development
> 
> Siemens Enterprise Communications GmbH & Co. KG Hofmannstr. 51 80200
> Munich
> Tel.: +49 89 7007-32410
> Fax: +49 89 7007-31675
> mailto:[email protected]
> 
> Communication for the open minded
> www.siemens-enterprise.de<http://www.siemens-enterprise.de/>
> 
> Siemens Enterprise Communications GmbH & Co. KG; Sitz der Gesellschaft:
> München; Registergericht: München, HRA 88546; WEEE-Reg.Nr. DE 27980375;
> Persönlich haftende Gesellschafterin: Siemens Enterprise Communications
> Management GmbH; Geschäftsführer: Alexander Frick, Thomas Heim, Stefan
> Herrlich, Vera Meyer; Vorsitzender des Aufsichtsrates: Mark Stone; Sitz
> der Gesellschaft: München; Registergericht: München, HRB 163415
> 
> Siemens Enterprise Communications GmbH & Co. KG is a Trademark Licensee
> of Siemens AG Wichtiger Hinweis: Diese E-Mail und etwaige Anlagen
> enthalten firmenvertrauliche Informationen. Sollten Sie diese E-Mail
> irrtümlich erhalten haben, benachrichtigen Sie uns bitte durch Antwort-
> Mail und löschen Sie diese E-Mail nebst Anlagen von Ihrem System.
> Vielen Dank.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to