Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/xen



Module Name:    src
Committed By:   jdolecek
Date:           Wed Mar 18 19:23:13 UTC 2020

Modified Files:
        src/sys/arch/xen/include: xennet_checksum.h
        src/sys/arch/xen/xen: if_xennet_xenbus.c xennet_checksum.c
            xennetback_xenbus.c

Log Message:
use NET[RT]XF_data_validated flag to mark when Tx packet has valid
checksum; this is used to skip software checksum validation on
xennet Rx side when configured for Rx offloading

in Dom0 assume that checksum is valid when the Tx mbuf has no offload flags
- in that case either it's local packet where checksum has just been
computed in software, or forwarded external packet already
verified when received on Dom0

practical offshot of this is that DomU doesn't re-verify checksum of
packets forwarded from external hosts, e.g. via bridge(4)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/xen/include/xennet_checksum.h
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/xen/xen/if_xennet_xenbus.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/xen/xen/xennet_checksum.c
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/xen/xen/xennetback_xenbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index