diff options
| author | 2014-05-19 13:59:57 -0300 | |
|---|---|---|
| committer | 2014-05-22 14:57:16 -0400 | |
| commit | 84411f73b8849c494fc6dd3bb6b5f10ee6e58a5b (patch) | |
| tree | 4604fc6d67cbe7d63e93c474be8d6024646b50a8 /include/linux/flex_array.h | |
| parent | net: mv643xx_eth: Factorize initial checksum and command preparation (diff) | |
net: mv643xx_eth: Avoid setting the initial TCP checksum
As specified in the datasheet, the driver can set the "L4Chk_Mode" flag
(bit 10) in the Tx descriptor command/status to specify that a frame is not
IP fragmented and that the controller is in charge of generating the TCP/IP
checksum. This must be used together with the "GL4chk" flag (bit 17).
These two flags allow to avoid setting the initial TCP checksum in the l4i_chk
field of the Tx descriptor, which is needed to support software TSO.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
