From patchwork Mon Jun 20 07:51:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Cochran X-Patchwork-Id: 101043 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3BA43B6FE4 for ; Mon, 20 Jun 2011 17:51:34 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753712Ab1FTHvb (ORCPT ); Mon, 20 Jun 2011 03:51:31 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:40854 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753601Ab1FTHva (ORCPT ); Mon, 20 Jun 2011 03:51:30 -0400 Received: by mail-fx0-f46.google.com with SMTP id 17so760782fxm.19 for ; Mon, 20 Jun 2011 00:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=3W9N5bKzvVVR5gZ5IlHUe1YfKYH/78sP/N2h99YMMsw=; b=hUx5hmWkx4idjulIcUUccLaI9SR7xpVBg1XcR8DqY0jIZjG67qQ8vqB3AEzHeBNsG6 z48YrP8C9gaZqtPk/7X16g6kSHFjJjowFQRaT2Wk1usv2hOHXeqsE+PEo4m8oHlDucKT CaaJtGhIBbLnLPQNkmv2dT0ETL0NWTqgPAVzA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=x0CwFXgtmMuaP17jK/z3SD0/SJiNiku2IEfGJddWgYlfTt07t3euyJK0FwDXtzfsxF doVOhd5B0mfwWZunvPtHQI61xVk+tdf6rlIYRLCXoIqz59rVMuwayJQmK7kkb1fmizBk t5Sz8/vJgTYsfh4yiMZ0Lo++xDK7JtArbSGSk= Received: by 10.223.158.130 with SMTP id f2mr3465093fax.61.1308556289736; Mon, 20 Jun 2011 00:51:29 -0700 (PDT) Received: from localhost.localdomain (vs162244.vserver.de [62.75.162.244]) by mx.google.com with ESMTPS id a18sm2634107fak.5.2011.06.20.00.51.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2011 00:51:28 -0700 (PDT) From: Richard Cochran To: Cc: David Miller , Eric Dumazet Subject: [PATCH V3 01/11] net: export the receive time stamping hook for non-NAPI drivers Date: Mon, 20 Jun 2011 09:51:23 +0200 Message-Id: X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: In-Reply-To: References: Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 --- 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; } +EXPORT_SYMBOL_GPL(skb_defer_rx_timestamp); void __init skb_timestamping_init(void) {