From patchwork Sun Jul 22 17:11:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Cochran X-Patchwork-Id: 1224821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 98F90E0039 for ; Sun, 22 Jul 2012 17:18:03 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SsziJ-0005TO-9e; Sun, 22 Jul 2012 17:13:03 +0000 Received: from mail-wg0-f41.google.com ([74.125.82.41]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Sszgg-0005P1-1d for linux-arm-kernel@lists.infradead.org; Sun, 22 Jul 2012 17:11:24 +0000 Received: by wgbds1 with SMTP id ds1so1950586wgb.0 for ; Sun, 22 Jul 2012 10:11:19 -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=CLGu1hLBbKnPWPSb6OIyaOn9l2y5hhwdDnkv2YGpsR0=; b=Bm12NrArShCRUxdHdXGYGbmqXZ6mjK9GHYLcwk9Q7WmZpYXvxZ8i5Qms3fpHubd3M0 akSjpbYbRi7ce6Pk+IIMWoSLFlPcZTDzy79XpdNpn1tozN5tiu7lFaDsPZCVhqhdpIBn ZhOjD/IPafayR6Afwx6/gvC/9P+ff92/Ga45MIeA6TzTKaAnIZxzylTJNZ9kgbXPLzJ8 pNeQFfJFsBdaUcV+ynmX+PoM+X7ZiprVSkakTH6g9k9l4u0ZQiLIUOfTrh84+us7XjVG nwu5b/N7Dkq1ylxEdqX0opQp0gMoDuT6MLr/JN7T9aPI/rlGzVOQQMndmn8lVktlLb74 BBLA== Received: by 10.216.69.4 with SMTP id m4mr7183608wed.128.1342977079688; Sun, 22 Jul 2012 10:11:19 -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.18 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 10:11:19 -0700 (PDT) From: Richard Cochran To: Subject: [PATCH net-next 2/4] e1000: advertise transmit time stamping Date: Sun, 22 Jul 2012 19:11:04 +0200 Message-Id: <33885adb6b0e97e6b21fd1903fb6ede3ed7b50ab.1342976654.git.richardcochran@gmail.com> 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.41 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/e1000/e1000_ethtool.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/intel/e1000/e1000_ethtool.c b/drivers/net/ethernet/intel/e1000/e1000_ethtool.c index 3103f0b..736a7d9 100644 --- a/drivers/net/ethernet/intel/e1000/e1000_ethtool.c +++ b/drivers/net/ethernet/intel/e1000/e1000_ethtool.c @@ -1851,6 +1851,7 @@ static const struct ethtool_ops e1000_ethtool_ops = { .get_sset_count = e1000_get_sset_count, .get_coalesce = e1000_get_coalesce, .set_coalesce = e1000_set_coalesce, + .get_ts_info = ethtool_op_get_ts_info, }; void e1000_set_ethtool_ops(struct net_device *netdev)