Home | History | Annotate | Download | only in include
History log of /src/sys/arch/xen/include/xennet_checksum.h
RevisionDateAuthorComments
 1.5  01-May-2020  jdolecek make the csum blank/undefer counters per interface
 1.4  22-Mar-2020  jdolecek actually in data_validated case, there is no need to inspect the data for Rx,
simply set the supported csum offload flags to skip the software csum
verification
 1.3  18-Mar-2020  jdolecek 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)
 1.2  16-Mar-2020  jdolecek drop the disabled M_EXT_ROMAP mbuf code, convert xennet_checksum_fill()
to use in_undefer_cksum() instead of custom code to compute the checksum
for Rx packets, and set csum_data appropriately for eventual hw offloading

make it possible to skip the sw checksum computation by appropriate Rx
flag similarily as we do for Tx

XXX for now, the Rx flag is mostly for testing as it only works for
dom0<->domu, need some further network stack changes to arrange for
the checksum to be eventually computed when packets goes outside xen
 1.1  12-Jul-2006  yamt branches: 1.1.2; 1.1.6; 1.1.10; 1.1.16; 1.1.158;
implement a simple NETTXF_csum_blank/NETRXF_csum_blank workaround
so that we can talk with linux guests at least.
just fill checksum field of received packets if the flag is set.
maybe should be revisited later.
 1.1.158.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.16.2  30-Dec-2006  yamt sync with head.
 1.1.16.1  12-Jul-2006  yamt file xennet_checksum.h was added on branch yamt-lazymbuf on 2006-12-30 20:47:25 +0000
 1.1.10.2  09-Sep-2006  rpaulo sync with head
 1.1.10.1  12-Jul-2006  rpaulo file xennet_checksum.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:44:56 +0000
 1.1.6.2  11-Aug-2006  yamt sync with head
 1.1.6.1  12-Jul-2006  yamt file xennet_checksum.h was added on branch yamt-pdpolicy on 2006-08-11 15:43:16 +0000
 1.1.2.2  13-Jul-2006  gdamore Merge from HEAD.
 1.1.2.1  12-Jul-2006  gdamore file xennet_checksum.h was added on branch gdamore-uart on 2006-07-13 17:49:06 +0000

RSS XML Feed