[V3,01/11] net: export the receive time stamping hook for non-NAPI drivers

Message ID cf1d6f373d83c3a1cbaf53a06ee331d5d950f25b.1308556146.git.richard.cochran@omicron.at
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Richard Cochran June 20, 2011, 7:51 a.m.
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>
 net/core/timestamping.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/net/core/timestamping.c b/net/core/timestamping.c
index 3b00a6b..98a5264 100644
--- a/net/core/timestamping.c
+++ b/net/core/timestamping.c
@@ -122,6 +122,7 @@  bool skb_defer_rx_timestamp(struct sk_buff *skb)
 	return false;
 void __init skb_timestamping_init(void)