Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2014 17:34:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 192013] [xen] [pf] pf performance very bad in xen when tso enabled
Message-ID:  <bug-192013-8-28ntRsRIu7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192013-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192013-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192013

Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #144852|0                           |1
        is obsolete|                            |
             Status|Needs Triage                |In Discussion
           Assignee|freebsd-bugs@FreeBSD.org    |des@FreeBSD.org

--- Comment #2 from Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org> ---
Created attachment 144883
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D144883&action=
=3Dedit
More conservative patch

When you say =E2=80=9CTSO is disabled=E2=80=9D, I assume you mean on the vi=
rtual interface
(xnN) in the guest?

I'm not comfortable removing this block of code without a clear understandi=
ng
of why it's there.  It looks to me like the intent is to ensure that all
packets have a valid checksum before they enter pf.  Are we certain that pf
won't break in some subtle way if that assumption is violated?

BTW, the patch does not remove the equivalent code in pf_check6_out(), but =
that
code is broken anyway (as the comment points out).

A more conservative fix is to keep calculating the checksum before pf_test
*unless* hardware checksum offloading is enabled.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192013-8-28ntRsRIu7>