]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: export the receive time stamping hook for non-NAPI drivers
authorRichard Cochran <richardcochran@gmail.com>
Sun, 19 Jun 2011 21:51:23 +0000 (21:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jun 2011 20:56:53 +0000 (13:56 -0700)
commit238442f6bc10ba31577fc47e476c88689c80c7fa
treed6d5de4f94025ed12c55507c86b5738caf5a8756
parent306ff6eb8e9c18bcafb8ca5be4be3c78dfe45475
net: export the receive time stamping hook for non-NAPI drivers

Ethernet MAC drivers based on phylib (but not using NAPI) can
enable hardware time stamping in phy devices by calling netif_rx()
conditionally based on a call to skb_defer_rx_timestamp().

This commit exports that function so that drivers calling it may
be compiled as modules.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/timestamping.c