diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2007-08-17 10:16:49 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:50:45 -0400 |
commit | 3449a2ab31681420515e242920e755262b4f41e9 (patch) | |
tree | 71ab1800bd82b3337b2a058d45b0e4b328aec4e0 /drivers/net/ibmveth.h | |
parent | ddbb4de9672097da2c0f19c6ebca0ebb5672e9b8 (diff) |
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.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ibmveth.h b/drivers/net/ibmveth.h index 43b068d9a55..30f9fc67b0c 100644 --- a/drivers/net/ibmveth.h +++ b/drivers/net/ibmveth.h | |||
@@ -25,8 +25,6 @@ | |||
25 | #ifndef _IBMVETH_H | 25 | #ifndef _IBMVETH_H |
26 | #define _IBMVETH_H | 26 | #define _IBMVETH_H |
27 | 27 | ||
28 | #define IbmVethMaxSendFrags 6 | ||
29 | |||
30 | /* constants for H_MULTICAST_CTRL */ | 28 | /* constants for H_MULTICAST_CTRL */ |
31 | #define IbmVethMcastReceptionModifyBit 0x80000UL | 29 | #define IbmVethMcastReceptionModifyBit 0x80000UL |
32 | #define IbmVethMcastReceptionEnableBit 0x20000UL | 30 | #define IbmVethMcastReceptionEnableBit 0x20000UL |
@@ -147,9 +145,6 @@ struct ibmveth_adapter { | |||
147 | u64 replenish_add_buff_success; | 145 | u64 replenish_add_buff_success; |
148 | u64 rx_invalid_buffer; | 146 | u64 rx_invalid_buffer; |
149 | u64 rx_no_buffer; | 147 | u64 rx_no_buffer; |
150 | u64 tx_multidesc_send; | ||
151 | u64 tx_linearized; | ||
152 | u64 tx_linearize_failed; | ||
153 | u64 tx_map_failed; | 148 | u64 tx_map_failed; |
154 | u64 tx_send_failed; | 149 | u64 tx_send_failed; |
155 | spinlock_t stats_lock; | 150 | spinlock_t stats_lock; |