]> git.baikalelectronics.ru Git - kernel.git/commit
igb: use timecompare to implement hardware time stamping
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 12 Feb 2009 05:03:43 +0000 (05:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Feb 2009 07:13:27 +0000 (23:13 -0800)
commitb27d9235f6cc3e3e7ca8e88434d9ddde3405702c
treef56d49b32b2183e076741b590bb7ebd797d53c99
parent976d290bf79dfc0fda65c0355f09a8844c3257b7
igb: use timecompare to implement hardware time stamping

Both TX and RX hardware time stamping are implemented.  Due to
hardware limitations it is not possible to verify reliably which
packet was time stamped when multiple were pending for sending; this
could be solved by only allowing one packet marked for hardware time
stamping into the queue (not implemented yet).

RX time stamping relies on the flag in the packet descriptor which
marks packets that were time stamped. In "all packet" mode this flag
is not set. TODO: also support that mode (even though it'll suffer
from race conditions).

Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/e1000_82575.h
drivers/net/igb/e1000_defines.h
drivers/net/igb/e1000_regs.h
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c