From f3103f15628815a85b94f2488259460f89ee9ed9 Mon Sep 17 00:00:00 2001 From: Leonardo Bras Date: Tue, 7 Apr 2020 16:42:21 -0300 Subject: [PATCH] Virtualization: Eliminate requirement for clearing TCP checksum field for ILLAN checksum calculation Issue: (05/17/2018 01:09:54 PM) Eliminate requirement for clearing TCP checksum field for ILLAN checksum calculation Signed-off-by: Leonardo Bras --- Virtualization/ch_virtual_io.xml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/Virtualization/ch_virtual_io.xml b/Virtualization/ch_virtual_io.xml index c6f6ddb..642b548 100644 --- a/Virtualization/ch_virtual_io.xml +++ b/Virtualization/ch_virtual_io.xml @@ -9975,7 +9975,32 @@ hcall ( const uint64 H_CHANGE_LOGICAL_LAN_MAC, /* Change the MAC address */ - 0-47 + 0-45 + + + Reserved + + +   + + + + + 46 + + + Checksum Offload Non-zero Checksum Field Support + + + This bit is implemented when PHYP supports sending TCP + packets with a non-zero TCP checksum field when bit 6 of the + buffer descriptor (the "No Checksum" bit) is set. This bit + indicates R1–17.3.6.2.2–3 is not required. + + + + + 47 Reserved @@ -11401,7 +11426,8 @@ hcall ( const uint64 H_ILLAN_ATTRIBUTES,/* Returns in R4 the resulting ILLAN */ For the ILLAN Checksum Offload Support option: When the caller of H_SEND_LOGICAL_LAN has set the No Checksum bit in the Control field to a 1, then they must also have set the checksum field in - the packet to 0. + the packet to 0, unless bit 46 in the ILLAN Attributes (the "Checksum Offload Non-zero + Checksum Field Support" bit) is set.