netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 1/5 ibmveth fix bonding
@ 2005-10-25 21:27 Santiago Leon
  2005-10-26  4:11 ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Santiago Leon @ 2005-10-25 21:27 UTC (permalink / raw)
  To: netdev, lkml; +Cc: Jeff Garzik

This patch updates dev->trans_start and dev->last_rx so that the ibmveth
driver can be used with the ARP monitor in the bonding driver. 

Signed-off-by: Santiago Leon <santil@us.ibm.com>
---
 drivers/net/ibmveth.c |    2 ++
 1 files changed, 2 insertions(+)
---
diff -urN a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
--- a/drivers/net/ibmveth.c	2005-10-11 12:56:24.000000000 -0500
+++ b/drivers/net/ibmveth.c	2005-10-11 13:52:45.000000000 -0500
@@ -725,6 +725,7 @@
 	} else {
 		adapter->stats.tx_packets++;
 		adapter->stats.tx_bytes += skb->len;
+		netdev->trans_start = jiffies;
 	}
 
 	do {
@@ -776,6 +777,7 @@
 				adapter->stats.rx_packets++;
 				adapter->stats.rx_bytes += length;
 				frames_processed++;
+				netdev->last_rx = jiffies;
 			}
 		} else {
 			more_work = 0;

-- 
Santiago A. Leon
Power Linux Development
IBM Linux Technology Center

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH 0/5] ibmveth resending various fixes
@ 2005-10-26 16:46 Santiago Leon
  2005-10-26 16:46 ` [PATCH 1/5] ibmveth fix bonding Santiago Leon
  0 siblings, 1 reply; 4+ messages in thread
From: Santiago Leon @ 2005-10-26 16:46 UTC (permalink / raw)
  To: Andrew Morton, lkml, netdev; +Cc: Santiago Leon, Jeff Garzik

Resending various ibmveth fixes due to wordwrapping by email client.

-- 
Santiago A. Leon
Power Linux Development
IBM Linux Technology Center

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

end of thread, other threads:[~2005-10-28 20:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-25 21:27 [PATCH] 1/5 ibmveth fix bonding Santiago Leon
2005-10-26  4:11 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2005-10-26 16:46 [PATCH 0/5] ibmveth resending various fixes Santiago Leon
2005-10-26 16:46 ` [PATCH 1/5] ibmveth fix bonding Santiago Leon
2005-10-28 20:07   ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).