]> git.baikalelectronics.ru Git - uboot.git/commit
test: dm: eth: Add csum_ipv6_magic test
authorViacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Fri, 2 Dec 2022 09:18:10 +0000 (12:18 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 17:47:17 +0000 (12:47 -0500)
commita015781cbdbf6e5a1f7fde9d681e43470754be29
tree9b5b2054c0c4e06289655e09e958246a6d6f3673
parent5e2fad1b0088650deca7c06d1db22028d620ad4d
test: dm: eth: Add csum_ipv6_magic test

Test checksum computation. csum_ipv6_magic() uses in upper layer
protocols as TCP/UDP/ICMPv6/etc to calculate payload checksum.

Series-changes: 3
- Fixed style problems

Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/eth.c