ibmveth: Implement ethtool hooks to enable/disable checksum offload

This patch adds the appropriate ethtool hooks to allow for enabling/disabling
of hypervisor assisted checksum offload for TCP.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Brian King
2007-08-17 09:16:31 -05:00
committed by David S. Miller
parent f4ff28720f
commit 5fc7e01cb7
2 changed files with 124 additions and 2 deletions

View File

@@ -138,6 +138,7 @@ struct ibmveth_adapter {
struct ibmveth_buff_pool rx_buff_pool[IbmVethNumBufferPools];
struct ibmveth_rx_q rx_queue;
int pool_config;
int rx_csum;
/* adapter specific stats */
u64 replenish_task_cycles;