aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ibmveth.c
diff options
context:
space:
mode:
authorSantiago Leon <santil@us.ibm.com>2005-10-26 12:46:53 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-28 16:07:30 -0400
commit0abe791e94033b727f2b55670c2966f3d3d3cf70 (patch)
tree7fe7e9dffdcb5822537a5b03c7064667e05426e6 /drivers/net/ibmveth.c
parent37ff238d68683d42e7363eee3303773906c336d9 (diff)
[PATCH] ibmveth fix bonding
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> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/ibmveth.c')
-rw-r--r--drivers/net/ibmveth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
index a2c4dd4fb221..5617bec7fd53 100644
--- a/drivers/net/ibmveth.c
+++ b/drivers/net/ibmveth.c
@@ -725,6 +725,7 @@ static int ibmveth_start_xmit(struct sk_buff *skb, struct net_device *netdev)
725 } else { 725 } else {
726 adapter->stats.tx_packets++; 726 adapter->stats.tx_packets++;
727 adapter->stats.tx_bytes += skb->len; 727 adapter->stats.tx_bytes += skb->len;
728 netdev->trans_start = jiffies;
728 } 729 }
729 730
730 do { 731 do {
@@ -776,6 +777,7 @@ static int ibmveth_poll(struct net_device *netdev, int *budget)
776 adapter->stats.rx_packets++; 777 adapter->stats.rx_packets++;
777 adapter->stats.rx_bytes += length; 778 adapter->stats.rx_bytes += length;
778 frames_processed++; 779 frames_processed++;
780 netdev->last_rx = jiffies;
779 } 781 }
780 } else { 782 } else {
781 more_work = 0; 783 more_work = 0;