summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.include
diff options
context:
space:
mode:
authorBin Meng2020-12-11 10:35:12 +0100
committerJason Wang2021-01-25 10:04:56 +0100
commitf574633529926697ced51b6865e5c50bbb78bf1b (patch)
tree98d77919083dfcbec0247c6980c479d08bc07d3b /tests/Makefile.include
parentnet: checksum: Add IP header checksum calculation (diff)
downloadqemu-f574633529926697ced51b6865e5c50bbb78bf1b.tar.gz
qemu-f574633529926697ced51b6865e5c50bbb78bf1b.tar.xz
qemu-f574633529926697ced51b6865e5c50bbb78bf1b.zip
net: checksum: Introduce fine control over checksum type
At present net_checksum_calculate() blindly calculates all types of checksums (IP, TCP, UDP). Some NICs may have a per type setting in their BDs to control what checksum should be offloaded. To support such hardware behavior, introduce a 'csum_flag' parameter to the net_checksum_calculate() API to allow fine control over what type checksum is calculated. Existing users of this API are updated accordingly. Signed-off-by: Bin Meng <bin.meng@windriver.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'tests/Makefile.include')
0 files changed, 0 insertions, 0 deletions