summaryrefslogtreecommitdiffstats
path: root/drivers/net/pch_gbe/pch_gbe.h
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-04-19 01:56:12 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-20 01:30:43 -0700
commit756a6b03da98903fa22ad7f10752de11782249fc (patch)
treea360baaa47e0669fbd75d8d7374b70d0f7250cf0 /drivers/net/pch_gbe/pch_gbe.h
parent3d96c74d8983b16bc7ecb196e61a2173fcc3f09f (diff)
downloadlinux-756a6b03da98903fa22ad7f10752de11782249fc.tar.gz
linux-756a6b03da98903fa22ad7f10752de11782249fc.tar.bz2
linux-756a6b03da98903fa22ad7f10752de11782249fc.zip
net: pch_gbe: convert to hw_features
This also fixes bug in xmit path, where TX checksum offload state was used instead of skb->ip_summed to decide if the offload was needed. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/pch_gbe/pch_gbe.h')
-rw-r--r--drivers/net/pch_gbe/pch_gbe.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/pch_gbe/pch_gbe.h b/drivers/net/pch_gbe/pch_gbe.h
index bf126e76fabf..59fac77d0dbb 100644
--- a/drivers/net/pch_gbe/pch_gbe.h
+++ b/drivers/net/pch_gbe/pch_gbe.h
@@ -597,8 +597,6 @@ struct pch_gbe_hw_stats {
* @rx_ring: Pointer of Rx descriptor ring structure
* @rx_buffer_len: Receive buffer length
* @tx_queue_len: Transmit queue length
- * @rx_csum: Receive TCP/IP checksum enable/disable
- * @tx_csum: Transmit TCP/IP checksum enable/disable
* @have_msi: PCI MSI mode flag
*/
@@ -623,8 +621,6 @@ struct pch_gbe_adapter {
struct pch_gbe_rx_ring *rx_ring;
unsigned long rx_buffer_len;
unsigned long tx_queue_len;
- bool rx_csum;
- bool tx_csum;
bool have_msi;
};