From patchwork Sun Jul 22 17:11:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Cochran X-Patchwork-Id: 1224831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 009913FCFC for ; Sun, 22 Jul 2012 17:18:44 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Sszj8-0005X3-LF; Sun, 22 Jul 2012 17:13:54 +0000 Received: from mail-wg0-f49.google.com ([74.125.82.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Sszgh-0005PC-Rq for linux-arm-kernel@lists.infradead.org; Sun, 22 Jul 2012 17:11:28 +0000 Received: by wgbez12 with SMTP id ez12so3716330wgb.18 for ; Sun, 22 Jul 2012 10:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references; bh=AgimvBceKrByoAKFpRRO9/FLFVgFeycgf3SLVH9Bwp4=; b=qpf4bh3UWfKtyJltjTMYDtyrLDX+D2Vxl7BB+kaUqCEIE7reYDSBCowaxLyMnPULRa aDldH7VWXS4Mz/+w0lUTPNa0Eq2Tw/xcvDhNrmKjUnLYg9rwmSTDey8zOMzba6OZ8YeZ ktCc3z6hSL8Aa2pqoR6btjvxs5YZQ6VFukEYLW+odoZJAlXvIwm0yfBkhqM9Gr7X892k RQr93yAh9Zj6J63h8KfPyhso1uD+hc9sfZYGw/FXxJSD5IkZN/f3e0EkVPOzPbZVB3G3 MJBReJNc1GeAQl62AHkXJloIXivsrrALcZ+2vvPWUcB1HKkdjcVZn5V1eTe+10sCx/WM E5FQ== Received: by 10.180.106.97 with SMTP id gt1mr41337096wib.5.1342977082042; Sun, 22 Jul 2012 10:11:22 -0700 (PDT) Received: from localhost.localdomain (089144206226.atnat0015.highway.a1.net. [89.144.206.226]) by mx.google.com with ESMTPS id t7sm17804893wix.6.2012.07.22.10.11.19 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 10:11:21 -0700 (PDT) From: Richard Cochran To: Subject: [PATCH net-next 3/4] e1000e: advertise transmit time stamping Date: Sun, 22 Jul 2012 19:11:05 +0200 Message-Id: X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (richardcochran[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: e1000-devel@lists.sourceforge.net, Willem de Bruijn , David Miller , Jeff Kirsher X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This driver now offers software transmit time stamping, so it should advertise that fact via ethtool. Compile tested only. Signed-off-by: Richard Cochran Cc: Willem de Bruijn Cc: Jeff Kirsher Cc: e1000-devel@lists.sourceforge.net --- drivers/net/ethernet/intel/e1000e/ethtool.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/intel/e1000e/ethtool.c b/drivers/net/ethernet/intel/e1000e/ethtool.c index 105d554..0349e24 100644 --- a/drivers/net/ethernet/intel/e1000e/ethtool.c +++ b/drivers/net/ethernet/intel/e1000e/ethtool.c @@ -2061,6 +2061,7 @@ static const struct ethtool_ops e1000_ethtool_ops = { .get_coalesce = e1000_get_coalesce, .set_coalesce = e1000_set_coalesce, .get_rxnfc = e1000_get_rxnfc, + .get_ts_info = ethtool_op_get_ts_info, }; void e1000e_set_ethtool_ops(struct net_device *netdev)