All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] Tx time stamp advertising for four drivers
@ 2012-07-22 17:11 Richard Cochran
  2012-07-22 17:11 ` [PATCH net-next 1/4] bnx2x: advertise transmit time stamping Richard Cochran
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Richard Cochran @ 2012-07-22 17:11 UTC (permalink / raw)
  To: linux-arm-kernel

This series updates the ethtool code for four drivers that recently
add the skb_tx_timestamp hook. Since these drivers now support
software transmit time stamps, let us also advertise this via ethtool.

Thanks,
Richard

Richard Cochran (4):
  bnx2x: advertise transmit time stamping
  e1000: advertise transmit time stamping
  e1000e: advertise transmit time stamping
  forcedeth: advertise transmit time stamping

 .../net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c    |    1 +
 drivers/net/ethernet/intel/e1000/e1000_ethtool.c   |    1 +
 drivers/net/ethernet/intel/e1000e/ethtool.c        |    1 +
 drivers/net/ethernet/nvidia/forcedeth.c            |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)

-- 
1.7.2.5

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH net-next 1/4] bnx2x: advertise transmit time stamping
  2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
@ 2012-07-22 17:11 ` Richard Cochran
  2012-07-22 18:29   ` Eilon Greenstein
  2012-07-22 17:11 ` [PATCH net-next 2/4] e1000: " Richard Cochran
                   ` (8 subsequent siblings)
  9 siblings, 1 reply; 16+ messages in thread
From: Richard Cochran @ 2012-07-22 17:11 UTC (permalink / raw)
  To: linux-arm-kernel

This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Willem de Bruijn <willemb@google.com>
---
 .../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)
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH net-next 2/4] e1000: advertise transmit time stamping
  2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
  2012-07-22 17:11 ` [PATCH net-next 1/4] bnx2x: advertise transmit time stamping Richard Cochran
@ 2012-07-22 17:11 ` Richard Cochran
  2012-07-23  8:18   ` Jeff Kirsher
  2012-07-22 17:11 ` [PATCH net-next 3/4] e1000e: " Richard Cochran
                   ` (7 subsequent siblings)
  9 siblings, 1 reply; 16+ messages in thread
From: Richard Cochran @ 2012-07-22 17:11 UTC (permalink / raw)
  To: linux-arm-kernel

This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>

Cc: Willem de Bruijn <willemb@google.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: e1000-devel at 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)
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH net-next 3/4] e1000e: advertise transmit time stamping
  2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
  2012-07-22 17:11 ` [PATCH net-next 1/4] bnx2x: advertise transmit time stamping Richard Cochran
  2012-07-22 17:11 ` [PATCH net-next 2/4] e1000: " Richard Cochran
@ 2012-07-22 17:11 ` Richard Cochran
  2012-07-23  8:19   ` Jeff Kirsher
  2012-07-23 16:07   ` [E1000-devel] " Allan, Bruce W
  2012-07-22 17:11 ` [PATCH net-next 4/4] forcedeth: " Richard Cochran
                   ` (6 subsequent siblings)
  9 siblings, 2 replies; 16+ messages in thread
From: Richard Cochran @ 2012-07-22 17:11 UTC (permalink / raw)
  To: linux-arm-kernel

This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>

Cc: Willem de Bruijn <willemb@google.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: e1000-devel at 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)
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH net-next 4/4] forcedeth: advertise transmit time stamping
  2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
                   ` (2 preceding siblings ...)
  2012-07-22 17:11 ` [PATCH net-next 3/4] e1000e: " Richard Cochran
@ 2012-07-22 17:11 ` Richard Cochran
  2012-07-23 13:27   ` Willem de Bruijn
  2012-07-22 17:13 ` [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
                   ` (5 subsequent siblings)
  9 siblings, 1 reply; 16+ messages in thread
From: Richard Cochran @ 2012-07-22 17:11 UTC (permalink / raw)
  To: linux-arm-kernel

This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>

Cc: Willem de Bruijn <willemb@google.com>
---
 drivers/net/ethernet/nvidia/forcedeth.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
index 67edc2e..f45def0 100644
--- a/drivers/net/ethernet/nvidia/forcedeth.c
+++ b/drivers/net/ethernet/nvidia/forcedeth.c
@@ -5182,6 +5182,7 @@ static const struct ethtool_ops ops = {
 	.get_ethtool_stats = nv_get_ethtool_stats,
 	.get_sset_count = nv_get_sset_count,
 	.self_test = nv_self_test,
+	.get_ts_info = ethtool_op_get_ts_info,
 };
 
 /* The mgmt unit and driver use a semaphore to access the phy during init */
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH net-next 0/4] Tx time stamp advertising for four drivers
  2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
                   ` (3 preceding siblings ...)
  2012-07-22 17:11 ` [PATCH net-next 4/4] forcedeth: " Richard Cochran
@ 2012-07-22 17:13 ` Richard Cochran
  2012-07-22 17:15 ` [PATCH net-next 1/4] bnx2x: advertise transmit time stamping Richard Cochran
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 16+ messages in thread
From: Richard Cochran @ 2012-07-22 17:13 UTC (permalink / raw)
  To: linux-arm-kernel

Sorry, wrong list, was meant for netdev. Please ignore.

Thanks,
Richard

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH net-next 1/4] bnx2x: advertise transmit time stamping
  2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
                   ` (4 preceding siblings ...)
  2012-07-22 17:13 ` [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
@ 2012-07-22 17:15 ` Richard Cochran
  2012-07-22 17:15 ` [PATCH net-next 2/4] e1000: " Richard Cochran
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 16+ messages in thread
From: Richard Cochran @ 2012-07-22 17:15 UTC (permalink / raw)
  To: netdev; +Cc: David Miller, Eilon Greenstein, Willem de Bruijn

This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Willem de Bruijn <willemb@google.com>
---
 .../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)
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH net-next 2/4] e1000: advertise transmit time stamping
  2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
                   ` (5 preceding siblings ...)
  2012-07-22 17:15 ` [PATCH net-next 1/4] bnx2x: advertise transmit time stamping Richard Cochran
@ 2012-07-22 17:15 ` Richard Cochran
  2012-07-22 17:15 ` [PATCH net-next 3/4] e1000e: " Richard Cochran
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 16+ messages in thread
From: Richard Cochran @ 2012-07-22 17:15 UTC (permalink / raw)
  To: netdev; +Cc: David Miller, Willem de Bruijn, Jeff Kirsher, e1000-devel

This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>

Cc: Willem de Bruijn <willemb@google.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
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)
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH net-next 3/4] e1000e: advertise transmit time stamping
  2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
                   ` (6 preceding siblings ...)
  2012-07-22 17:15 ` [PATCH net-next 2/4] e1000: " Richard Cochran
@ 2012-07-22 17:15 ` Richard Cochran
  2012-07-22 17:15 ` [PATCH net-next 4/4] forcedeth: " Richard Cochran
  2012-07-22 19:33 ` [PATCH net-next 0/4] Tx time stamp advertising for four drivers David Miller
  9 siblings, 0 replies; 16+ messages in thread
From: Richard Cochran @ 2012-07-22 17:15 UTC (permalink / raw)
  To: netdev; +Cc: David Miller, Willem de Bruijn, Jeff Kirsher, e1000-devel

This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>

Cc: Willem de Bruijn <willemb@google.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
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)
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH net-next 4/4] forcedeth: advertise transmit time stamping
  2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
                   ` (7 preceding siblings ...)
  2012-07-22 17:15 ` [PATCH net-next 3/4] e1000e: " Richard Cochran
@ 2012-07-22 17:15 ` Richard Cochran
  2012-07-22 19:33 ` [PATCH net-next 0/4] Tx time stamp advertising for four drivers David Miller
  9 siblings, 0 replies; 16+ messages in thread
From: Richard Cochran @ 2012-07-22 17:15 UTC (permalink / raw)
  To: netdev; +Cc: David Miller, Willem de Bruijn

This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>

Cc: Willem de Bruijn <willemb@google.com>
---
 drivers/net/ethernet/nvidia/forcedeth.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
index 67edc2e..f45def0 100644
--- a/drivers/net/ethernet/nvidia/forcedeth.c
+++ b/drivers/net/ethernet/nvidia/forcedeth.c
@@ -5182,6 +5182,7 @@ static const struct ethtool_ops ops = {
 	.get_ethtool_stats = nv_get_ethtool_stats,
 	.get_sset_count = nv_get_sset_count,
 	.self_test = nv_self_test,
+	.get_ts_info = ethtool_op_get_ts_info,
 };
 
 /* The mgmt unit and driver use a semaphore to access the phy during init */
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH net-next 1/4] bnx2x: advertise transmit time stamping
  2012-07-22 17:11 ` [PATCH net-next 1/4] bnx2x: advertise transmit time stamping Richard Cochran
@ 2012-07-22 18:29   ` Eilon Greenstein
  0 siblings, 0 replies; 16+ messages in thread
From: Eilon Greenstein @ 2012-07-22 18:29 UTC (permalink / raw)
  To: Richard Cochran; +Cc: netdev, David Miller, Willem de Bruijn, Merav Sircon

On Sun, 2012-07-22 at 19:15 +0200, Richard Cochran wrote:
> This driver now offers software transmit time stamping, so it should
> advertise that fact via ethtool. Compile tested only.
> 
> Signed-off-by: Richard Cochran <richardcochran@gmail.com>
> Cc: Eilon Greenstein <eilong@broadcom.com>
> Cc: Willem de Bruijn <willemb@google.com>

Thanks Richard. I was sure it was sent upstream weeks ago, but I see it
is somehow still pending to be sent. Thanks for catching it.

Acked-by: Eilon Greenstein <eilong@broadcom.com>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH net-next 0/4] Tx time stamp advertising for four drivers
  2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
                   ` (8 preceding siblings ...)
  2012-07-22 17:15 ` [PATCH net-next 4/4] forcedeth: " Richard Cochran
@ 2012-07-22 19:33 ` David Miller
  9 siblings, 0 replies; 16+ messages in thread
From: David Miller @ 2012-07-22 19:33 UTC (permalink / raw)
  To: richardcochran; +Cc: netdev

From: Richard Cochran <richardcochran@gmail.com>
Date: Sun, 22 Jul 2012 19:15:38 +0200

> This series updates the ethtool code for four drivers that recently
> add the skb_tx_timestamp hook. Since these drivers now support
> software transmit time stamps, let us also advertise this via ethtool.

Series applied, thanks.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH net-next 2/4] e1000: advertise transmit time stamping
  2012-07-22 17:11 ` [PATCH net-next 2/4] e1000: " Richard Cochran
@ 2012-07-23  8:18   ` Jeff Kirsher
  0 siblings, 0 replies; 16+ messages in thread
From: Jeff Kirsher @ 2012-07-23  8:18 UTC (permalink / raw)
  To: Richard Cochran; +Cc: netdev, David Miller, Willem de Bruijn, e1000-devel

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

On Sun, 2012-07-22 at 19:15 +0200, Richard Cochran wrote:
> This driver now offers software transmit time stamping, so it should
> advertise that fact via ethtool. Compile tested only.
> 
> Signed-off-by: Richard Cochran <richardcochran@gmail.com>
> 
> Cc: Willem de Bruijn <willemb@google.com>
> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> Cc: e1000-devel@lists.sourceforge.net
> ---
>  drivers/net/ethernet/intel/e1000/e1000_ethtool.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-) 

Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH net-next 3/4] e1000e: advertise transmit time stamping
  2012-07-22 17:11 ` [PATCH net-next 3/4] e1000e: " Richard Cochran
@ 2012-07-23  8:19   ` Jeff Kirsher
  2012-07-23 16:07   ` [E1000-devel] " Allan, Bruce W
  1 sibling, 0 replies; 16+ messages in thread
From: Jeff Kirsher @ 2012-07-23  8:19 UTC (permalink / raw)
  To: Richard Cochran; +Cc: Willem, netdev, Bruijn, David Miller, e1000-devel


[-- Attachment #1.1: Type: text/plain, Size: 567 bytes --]

On Sun, 2012-07-22 at 19:15 +0200, Richard Cochran wrote:
> This driver now offers software transmit time stamping, so it should
> advertise that fact via ethtool. Compile tested only.
> 
> Signed-off-by: Richard Cochran <richardcochran@gmail.com>
> 
> Cc: Willem de Bruijn <willemb@google.com>
> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> Cc: e1000-devel@lists.sourceforge.net
> ---
>  drivers/net/ethernet/intel/e1000e/ethtool.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-) 

Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 395 bytes --]

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

[-- Attachment #3: Type: text/plain, Size: 257 bytes --]

_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit http://communities.intel.com/community/wired

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH net-next 4/4] forcedeth: advertise transmit time stamping
  2012-07-22 17:11 ` [PATCH net-next 4/4] forcedeth: " Richard Cochran
@ 2012-07-23 13:27   ` Willem de Bruijn
  0 siblings, 0 replies; 16+ messages in thread
From: Willem de Bruijn @ 2012-07-23 13:27 UTC (permalink / raw)
  To: Richard Cochran; +Cc: netdev, David Miller

On Sun, Jul 22, 2012 at 1:15 PM, Richard Cochran
<richardcochran@gmail.com> wrote:
> This driver now offers software transmit time stamping, so it should
> advertise that fact via ethtool. Compile tested only.
>
> Signed-off-by: Richard Cochran <richardcochran@gmail.com>

Acked-by: Willem de Bruijn <willemb@google.com>

> Cc: Willem de Bruijn <willemb@google.com>
> ---
>  drivers/net/ethernet/nvidia/forcedeth.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
> index 67edc2e..f45def0 100644
> --- a/drivers/net/ethernet/nvidia/forcedeth.c
> +++ b/drivers/net/ethernet/nvidia/forcedeth.c
> @@ -5182,6 +5182,7 @@ static const struct ethtool_ops ops = {
>         .get_ethtool_stats = nv_get_ethtool_stats,
>         .get_sset_count = nv_get_sset_count,
>         .self_test = nv_self_test,
> +       .get_ts_info = ethtool_op_get_ts_info,
>  };
>
>  /* The mgmt unit and driver use a semaphore to access the phy during init */
> --
> 1.7.2.5
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: [E1000-devel] [PATCH net-next 3/4] e1000e: advertise transmit time stamping
  2012-07-22 17:11 ` [PATCH net-next 3/4] e1000e: " Richard Cochran
  2012-07-23  8:19   ` Jeff Kirsher
@ 2012-07-23 16:07   ` Allan, Bruce W
  1 sibling, 0 replies; 16+ messages in thread
From: Allan, Bruce W @ 2012-07-23 16:07 UTC (permalink / raw)
  To: Richard Cochran, netdev; +Cc: e1000-devel, Willem de Bruijn, David Miller

> -----Original Message-----
> From: Richard Cochran [mailto:richardcochran@gmail.com]
> Sent: Sunday, July 22, 2012 10:16 AM
> To: netdev@vger.kernel.org
> Cc: e1000-devel@lists.sourceforge.net; Willem de Bruijn; David Miller
> Subject: [E1000-devel] [PATCH net-next 3/4] e1000e: advertise transmit
> time stamping
> 
> This driver now offers software transmit time stamping, so it should
> advertise that fact via ethtool. Compile tested only.
> 
> Signed-off-by: Richard Cochran <richardcochran@gmail.com>
> 
> Cc: Willem de Bruijn <willemb@google.com>
> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> 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)

Thanks Richard.  I have a similar patch amongst the PTP 1588 work I'm currently doing
for e1000e, but this one is good for now.

Acked-by: Bruce Allan <bruce.w.allan@intel.com>

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-07-23 16:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-22 17:11 [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
2012-07-22 17:11 ` [PATCH net-next 1/4] bnx2x: advertise transmit time stamping Richard Cochran
2012-07-22 18:29   ` Eilon Greenstein
2012-07-22 17:11 ` [PATCH net-next 2/4] e1000: " Richard Cochran
2012-07-23  8:18   ` Jeff Kirsher
2012-07-22 17:11 ` [PATCH net-next 3/4] e1000e: " Richard Cochran
2012-07-23  8:19   ` Jeff Kirsher
2012-07-23 16:07   ` [E1000-devel] " Allan, Bruce W
2012-07-22 17:11 ` [PATCH net-next 4/4] forcedeth: " Richard Cochran
2012-07-23 13:27   ` Willem de Bruijn
2012-07-22 17:13 ` [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
2012-07-22 17:15 ` [PATCH net-next 1/4] bnx2x: advertise transmit time stamping Richard Cochran
2012-07-22 17:15 ` [PATCH net-next 2/4] e1000: " Richard Cochran
2012-07-22 17:15 ` [PATCH net-next 3/4] e1000e: " Richard Cochran
2012-07-22 17:15 ` [PATCH net-next 4/4] forcedeth: " Richard Cochran
2012-07-22 19:33 ` [PATCH net-next 0/4] Tx time stamp advertising for four drivers David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.