summaryrefslogtreecommitdiffstats
path: root/drivers/net/ibmveth.h
diff options
context:
space:
mode:
authorSantiago Leon <santil@us.ibm.com>2005-10-26 10:47:16 -0600
committerJeff Garzik <jgarzik@pobox.com>2005-10-28 16:07:30 -0400
commit60296d9e4be1cd9e096f7804ce6e839e0cbd97cf (patch)
tree40372d93b1c99a0e488adedbbd8c843c26807058 /drivers/net/ibmveth.h
parente2adbcb480992de8a01acf9218e8bbd9b507fc6f (diff)
downloadlinux-stable-60296d9e4be1cd9e096f7804ce6e839e0cbd97cf.tar.gz
linux-stable-60296d9e4be1cd9e096f7804ce6e839e0cbd97cf.tar.bz2
linux-stable-60296d9e4be1cd9e096f7804ce6e839e0cbd97cf.zip
[PATCH] ibmveth lockless TX
This patch adds the lockless TX feature to the ibmveth driver. The hypervisor has its own locking so the only change that is necessary is to protect the statistics counters. Signed-off-by: Santiago Leon <santil@us.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/ibmveth.h')
-rw-r--r--drivers/net/ibmveth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ibmveth.h b/drivers/net/ibmveth.h
index a3ea02937d63..46919a814fca 100644
--- a/drivers/net/ibmveth.h
+++ b/drivers/net/ibmveth.h
@@ -131,6 +131,7 @@ struct ibmveth_adapter {
u64 tx_linearize_failed;
u64 tx_map_failed;
u64 tx_send_failed;
+ spinlock_t stats_lock;
};
struct ibmveth_buf_desc_fields {