On Sat, 2008-07-05 at 03:21 +0300, Octavian Purdila wrote:[cookie for TX time stamp] I think it is relevant also for PTPd: without such a cookie the next SYNC cannot be sent unless the previous time stamp was obtained successfully. If the packet is lost without triggering the hardware time stamping (which I have seen happen in practice under load), then the PTPd would get stuck. With a cookie it can send SYNCs at the normal intervals and be sure not to mix up time stamps. This is more of a theoretical problem, though: if there is no time stamp after two seconds, the corresponding packet most likely got lost and it is fairly safe to send a new SYNC and to assume that the next time stamp will be for that SYNC. I was just using IP_MULTICAST_LOOP+SO_TIMESTAMP as an example of how a similar mechanism could work for hardware time stamping. Right. Perhaps that could be solved with an additional control message which specifies where the bounced packet is to be sent to, but that is not much (not at all?) easier than the cookie approach. I'm confident that adapting PTPd to the cookie approach wouldn't be difficult, so if you want to implement it, then go for it. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. The email footer below is automatically added to comply with company policy; this particular email is not confidental and does not have a limited set of recipients. Therefore it can be redistributed and discussed without restrictions. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Jon Smirl | 463 kernel developers missing! |
| Nigel Cunningham | Re: [PATCH] Remove process freezer from suspend to RAM pathway |
| Greg KH | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| Jeff Garzik | Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series.. |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
