>-----Original Message----- >From: 李昂 [mailto:[email protected]] >Sent: Tuesday, September 28, 2010 11:20 PM >To: Wyborny, Carolyn; [email protected] >Cc: 王龙; 和志华 >Subject: re: [E1000-devel] question about TX hardware >timestamping, it doesn't work > >Hey Carolyn: > > thanks for your respondence, the attachment is the >package of e1000e >driver(I have modified netdev.c), searching "li.ang" in the >netdev.c file, >you will find modification, it including initialization code & >registers I'm >writing to enable the hwtstamp feature. > > > >----- Original Message ----- >From: Wyborny, Carolyn [mailto:[email protected]] >Sent: 2010年9月28日 1:35 >To:??; [email protected] >Cc: ??; ??? >Subject: RE: [E1000-devel] question about TX hardware timestamping, it >doesn't work > >Hello, > >I apologize for the delay in responding. We do not officially >support the >time stamp feature on the 82574 device but we do know that people have >gotten it working. If the fields in the descriptor are zero, >its likely its >not being intialized correctly. I am not an expert on this >feature, but >I'll need some more information to try and assist. > >If you open a bug on Source Forge on this issue, we can store the data >gathered there. > >Can you send me your initialization code, or at least the >registers you are >writing to enable the feature and the values you are writing >to them. Also, >the exact fields you are writing in the tx descriptor and the values. > >Thanks, > >Carolyn >Carolyn Wyborny >Linux Development >LAN Access Division >Intel Corporation > > > >>-----Original Message----- >>From: ?? [mailto:[email protected]] >>Sent: Sunday, September 19, 2010 2:04 AM >>To: [email protected] >>Cc: ??; ??? >>Subject: [E1000-devel] question about TX hardware >>timestamping, it doesn't work >> >>Dear All: >> >> >> >> On 82574L Chipset, e1000e work well when I need RX >>hwtimestamp, but >>it doesn't work when I need TX hwtimestamp >> >> >> >> Legacy Transmit Descriptor Format is used, and I set >>the TS bit of >>ExtCMD to indicates to the 82574 to put a time stamp on the packet >>designated by the descriptor, of course, I also set the bit4 >>of TSYNCTXCTL >>to enable TX timestamp. >> >> >> >> But, it doesn't work, when I read bit0 of TSYNCTXCTL(TX >>timestamp >>valid bit) in the TX interrupt service routine(packet has been >>transmitted), >>I got zero, and TXSTMPL/H are also filled zero. >> >> >> >> Any advise to solve this problem is welcome >> >> >> >> [email protected] li.ang >> >> >> >> Thanks a lot >> >> > Hello,
I've briefly reviewed your code. When you check for the tsbits in the transmitted packet, are you checking from a network sniffer, on the wire, or from a system receiving the transmitted packets? I am not sure that the bits can be read from the driver on the system doing the transmit. It would be more accurate to check the packet on the wire or received on another system, similar to checksum. I will continue reviewing your code. Please confirm if you the timestamp is appearing on a packet outside the transmitting system. Thanks, Carolyn ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ 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
