FreeBSD Bugzilla – Attachment 144883 Details for
Bug 192013
[xen] [pf] pf performance very bad in xen when tso enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
More conservative patch
file_192013.txt (text/plain), 918 bytes, created by
Dag-Erling Smørgrav
on 2014-07-22 17:34:21 UTC
(
hide
)
Description:
More conservative patch
Filename:
MIME Type:
Creator:
Dag-Erling Smørgrav
Created:
2014-07-22 17:34:21 UTC
Size:
918 bytes
patch
obsolete
>Index: pf_ioctl.c >=================================================================== >--- pf_ioctl.c (revision 268921) >+++ pf_ioctl.c (working copy) >@@ -3534,7 +3534,7 @@ > int chk; > > /* We need a proper CSUM befor we start (s. OpenBSD ip_output) */ >- if ((*m)->m_pkthdr.csum_flags & CSUM_DELAY_DATA) { >+ if ((*m)->m_pkthdr.csum_flags & CSUM_DELAY_DATA & ~ifp->if_hwassist) { > in_delayed_cksum(*m); > (*m)->m_pkthdr.csum_flags &= ~CSUM_DELAY_DATA; > } >@@ -3578,11 +3578,8 @@ > int chk; > > /* We need a proper CSUM before we start (s. OpenBSD ip_output) */ >- if ((*m)->m_pkthdr.csum_flags & CSUM_DELAY_DATA) { >-#ifdef INET >- /* XXX-BZ copy&paste error from r126261? */ >- in_delayed_cksum(*m); >-#endif >+ if ((*m)->m_pkthdr.csum_flags & CSUM_DELAY_DATA & ~ifp->if_hwassist) { >+ in6_delayed_cksum(*m); > (*m)->m_pkthdr.csum_flags &= ~CSUM_DELAY_DATA; > } > CURVNET_SET(ifp->if_vnet);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192013
:
144852
|
144883
|
144902
|
149819