]> git.baikalelectronics.ru Git - kernel.git/commit
atl1c: update right threshold for TSO
authorHuang, Xiong <xiong@qca.qualcomm.com>
Wed, 18 Apr 2012 22:01:23 +0000 (22:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2012 00:14:19 +0000 (20:14 -0400)
commit80ea8a4ce43120a44eed0e0629c6612d8c547751
tree0de7ea9631c906f282ebfb93fcd216701315f2f7
parent72ae8d15ce1042556b0765b5d7c11f0d1eb4e861
atl1c: update right threshold for TSO

atl1c_configure_tx used a wrong value of MAX_TX_OFFLOAD_THRESH(9KB)
for TSO threshold.
the right value should be 7KB
Fast Ethernet controller doesn't support Jumbo frame.

Signed-off-by: xiong <xiong@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c.h
drivers/net/ethernet/atheros/atl1c/atl1c_hw.h
drivers/net/ethernet/atheros/atl1c/atl1c_main.c