Linux-ARM-Kernel Archive on 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
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ 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] 6+ 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 17:11 ` [PATCH net-next 2/4] e1000: " Richard Cochran
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ 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] 6+ 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-22 17:11 ` [PATCH net-next 3/4] e1000e: " Richard Cochran
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ 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] 6+ 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-22 17:11 ` [PATCH net-next 4/4] forcedeth: " Richard Cochran
  2012-07-22 17:13 ` [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
  4 siblings, 0 replies; 6+ 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] 6+ 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-22 17:13 ` [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran
  4 siblings, 0 replies; 6+ 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] 6+ 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
  4 siblings, 0 replies; 6+ 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] 6+ messages in thread

end of thread, other threads:[~2012-07-22 17:13 UTC | newest]

Thread overview: 6+ 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 17:11 ` [PATCH net-next 2/4] e1000: " Richard Cochran
2012-07-22 17:11 ` [PATCH net-next 3/4] e1000e: " Richard Cochran
2012-07-22 17:11 ` [PATCH net-next 4/4] forcedeth: " Richard Cochran
2012-07-22 17:13 ` [PATCH net-next 0/4] Tx time stamp advertising for four drivers Richard Cochran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox