diff options
author | Matteo Croce <[email protected]> | 2019-07-28 19:35:49 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-07-29 11:08:43 -0700 |
commit | d66503c43c0036d8db526d6c47c149bb971ac0b9 (patch) | |
tree | 502271a53ba3f161e17a72796ada6dcbdcd04ba3 /lib/mpi/mpi-cmp.c | |
parent | 55b40dbf0e76b4bfb9d8b3a16a0208640a9a45df (diff) |
mvpp2: refactor the HW checksum setup
The hardware can only offload checksum calculation on first port due to
the Tx FIFO size limitation, and has a maximum L3 offset of 128 bytes.
Document this in a comment and move duplicated code in a function.
Fixes: 576193f2d579 ("net: mvpp2: jumbo frames support")
Signed-off-by: Matteo Croce <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions