summaryrefslogtreecommitdiff
path: root/drivers/net/ibmveth.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2007-08-17 18:16:49 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 03:50:45 +0400
commit3449a2ab31681420515e242920e755262b4f41e9 (patch)
tree71ab1800bd82b3337b2a058d45b0e4b328aec4e0 /drivers/net/ibmveth.h
parentddbb4de9672097da2c0f19c6ebca0ebb5672e9b8 (diff)
downloadlinux-3449a2ab31681420515e242920e755262b4f41e9.tar.xz
ibmveth: Remove dead frag processing code
Removes dead frag processing code from ibmveth. Since NETIF_F_SG was not set, this code was never executed. Also, since the ibmveth interface can only handle 6 fragments, core networking code would need to be modified in order to efficiently enable this support. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ibmveth.h')
-rw-r--r--drivers/net/ibmveth.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ibmveth.h b/drivers/net/ibmveth.h
index 43b068d9a558..30f9fc67b0c8 100644
--- a/drivers/net/ibmveth.h
+++ b/drivers/net/ibmveth.h
@@ -25,8 +25,6 @@
#ifndef _IBMVETH_H
#define _IBMVETH_H
-#define IbmVethMaxSendFrags 6
-
/* constants for H_MULTICAST_CTRL */
#define IbmVethMcastReceptionModifyBit 0x80000UL
#define IbmVethMcastReceptionEnableBit 0x20000UL
@@ -147,9 +145,6 @@ struct ibmveth_adapter {
u64 replenish_add_buff_success;
u64 rx_invalid_buffer;
u64 rx_no_buffer;
- u64 tx_multidesc_send;
- u64 tx_linearized;
- u64 tx_linearize_failed;
u64 tx_map_failed;
u64 tx_send_failed;
spinlock_t stats_lock;