Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 03:38:03 -0000
From:      "Max Laier" <max@love2party.net>
To:        <pf4freebsd@freelists.org>
Subject:   [pf4freebsd] Version 0.62 released!
Message-ID:  <004201c30e4b$6954b140$01000001@max900>

next in thread | raw e-mail | index | archive | help

Hello,

Pyun YongHyeon and myself discussed some optimization to the current way
cksums are validated when a packet arrives in the in queue. Until now, the
cksum was validated twice. First pf_test (called from the PFIL_HOOK in
ip_input.c) validated the cksum with pf_check_proto_cksum and the kernel did
the same later in the processing queue (tcp_input.c et. al.). We reworked
pf_check_proto_cksum to flag the packet in case the checksum is valid if
not, the packet is droped anyways.

We make use of mbuf flags that usually indicate, that the cksum was
validated by hardware (bge, em, gx, lge, nge, txp, ti and xl NICs) so there
may exist problems when such a NIC is installed (even so it should not).

If you have such a NIC please get a copy of version 0.62 and check if
everything works as exspected.

This fix should give a great gain in performance when no hardware cksumming
is available and the CPU is very busy with your netio.

Max





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004201c30e4b$6954b140$01000001>