aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mv643xx_eth.h
diff options
context:
space:
mode:
authorSaeed Bishara <saeed@marvell.com>2010-06-26 20:26:43 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-30 16:01:11 -0400
commit9b2c2ff7a1c04e69842254dd4afe0f8ad4efa439 (patch)
tree705bd91dafd562a38d3833edb30297abf0516459 /include/linux/mv643xx_eth.h
parent08e554b17bfdc2682599c8c2770b088a0187a405 (diff)
mv643xx_eth: use sw csum for big packets
Some controllers (KW, Dove) limits the TX IP/layer4 checksum offloading to a max size. Signed-off-by: Saeed Bishara <saeed@marvell.com> Acked-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mv643xx_eth.h')
-rw-r--r--include/linux/mv643xx_eth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h
index cbbbe9bfecad..30b0c4e78f91 100644
--- a/include/linux/mv643xx_eth.h
+++ b/include/linux/mv643xx_eth.h
@@ -19,6 +19,11 @@ struct mv643xx_eth_shared_platform_data {
19 struct mbus_dram_target_info *dram; 19 struct mbus_dram_target_info *dram;
20 struct platform_device *shared_smi; 20 struct platform_device *shared_smi;
21 unsigned int t_clk; 21 unsigned int t_clk;
22 /*
23 * Max packet size for Tx IP/Layer 4 checksum, when set to 0, default
24 * limit of 9KiB will be used.
25 */
26 int tx_csum_limit;
22}; 27};
23 28
24#define MV643XX_ETH_PHY_ADDR_DEFAULT 0 29#define MV643XX_ETH_PHY_ADDR_DEFAULT 0