From patchwork Sun Jul 22 17:11:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Cochran X-Patchwork-Id: 1224811 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 CCD573FCFC for ; Sun, 22 Jul 2012 17:17:21 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Sszhm-0005QS-0y; Sun, 22 Jul 2012 17:12:30 +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 1Sszgf-0005P0-W8 for linux-arm-kernel@lists.infradead.org; Sun, 22 Jul 2012 17:11:24 +0000 Received: by wgbds1 with SMTP id ds1so1950576wgb.0 for ; Sun, 22 Jul 2012 10:11:17 -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=ZbHVWFsUPR1tuUQO4oN0ksXTpsDWBNvRqzl7VoIGsU0=; b=Am+iOoUm+9qXgh9yTCIBIp7phwMnPsmY38jpIjbgcModWir/cBUKn03EWbLjLcvmyh o5LGNVw+DhVMT264tJJNKAF8EDNlFuYzODhhT8E5SIYC7I6r3ulqWIknydt/IXZKhcUY vMWjIRWoktlPNpYre7cFO2sbDkG/PJ2UUTdX3ZtrqN+YtRkuyqLTJvvXv1PLRf22TcKr IKzo6HQt+4VeflUFq2tQo9zBTAOyswe28Z/xYSrTobzMrAK78y7jfoYChVO1dhcCqFb/ Fr8JenYiENNnUKgptOdKVS/ld6O/OpQbNZwDRaMme+LQvpZXLGjxgyxfhXZfwL6eYCT/ nCEQ== Received: by 10.180.99.196 with SMTP id es4mr41262319wib.18.1342977077870; Sun, 22 Jul 2012 10:11:17 -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.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 10:11:17 -0700 (PDT) From: Richard Cochran To: Subject: [PATCH net-next 1/4] bnx2x: advertise transmit time stamping Date: Sun, 22 Jul 2012 19:11:03 +0200 Message-Id: <379f084af5dcbcccda309ecb0d0032196fb496f3.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.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 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (richardcochran[at]gmail.com) -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: Willem de Bruijn , David Miller , Eilon Greenstein 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: Eilon Greenstein Cc: Willem de Bruijn --- .../net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index bff3129..fc4e0e3 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c @@ -2978,6 +2978,7 @@ static const struct ethtool_ops bnx2x_ethtool_ops = { .get_module_eeprom = bnx2x_get_module_eeprom, .get_eee = bnx2x_get_eee, .set_eee = bnx2x_set_eee, + .get_ts_info = ethtool_op_get_ts_info, }; void bnx2x_set_ethtool_ops(struct net_device *netdev)