>-----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.
Hello Stefan, I apologize for the delay in getting back to you. I am in the process of researching this and will get back to you soon. I am new to this aspect of the driver/hardware. Thanks, Carolyn Carolyn Wyborny Linux Development LAN Access Division Intel Corporation ------------------------------------------------------------------------------ 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-d2d-oct _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
