svn commit: r351935 - head/sys/netipsec

2019-09-06 Thread Fabien Thomas
Author: fabient Date: Fri Sep 6 14:30:23 2019 New Revision: 351935 URL: https://svnweb.freebsd.org/changeset/base/351935 Log: Fix broken window replay check that will allow old packet to be accepted. This was introduced in r309144. Submitted by: Jean-Francois HREN Approved by: ae@

Re: svn commit: r334054 - in head: sys/kern sys/netipsec tools/tools/crypto usr.bin/netstat

2018-05-22 Thread Fabien Thomas
Le 22 mai 2018 à 17:58:10, Ravi Pokala (rpok...@freebsd.org) a écrit: -Original Message-  From: on behalf of Fabien Thomas   Date: 2018-05-22, Tuesday at 08:54  To: , ,   Subject: svn commit: r334054 - in head: sys/kern sys/netipsec tools/tools/crypto usr.bin/netstat  > Aut

svn commit: r334054 - in head: sys/kern sys/netipsec tools/tools/crypto usr.bin/netstat

2018-05-22 Thread Fabien Thomas
Author: fabient Date: Tue May 22 15:54:25 2018 New Revision: 334054 URL: https://svnweb.freebsd.org/changeset/base/334054 Log: Add a SPD cache to speed up lookups. When large SPDs are used, we face two problems: - too many CPU cycles are spent during the linear searches in the SPD

svn commit: r328088 - head/usr.sbin/pmcstat

2018-01-17 Thread Fabien Thomas
Author: fabient Date: Wed Jan 17 16:55:35 2018 New Revision: 328088 URL: https://svnweb.freebsd.org/changeset/base/328088 Log: Only call flush in pipe mode. It fixes a crash with a socket in top mode. Ex: # pmcstat -R 127.0.0.1:8080 -T -w1 then # pmcstat -n1 -Sclock.prof -Slock.fail

svn commit: r328087 - in head: lib/libpmc sys/dev/hwpmc

2018-01-17 Thread Fabien Thomas
Author: fabient Date: Wed Jan 17 16:41:22 2018 New Revision: 328087 URL: https://svnweb.freebsd.org/changeset/base/328087 Log: Fix pmcstat exit from kernel introduced by r325275. pmcstat request for close will generate a close event. This event will be in turn received by pmcstat to close th

svn commit: r327696 - head/sys/opencrypto

2018-01-08 Thread Fabien Thomas
Author: fabient Date: Mon Jan 8 13:43:12 2018 New Revision: 327696 URL: https://svnweb.freebsd.org/changeset/base/327696 Log: Fix uninitialized crp_retw_id when using asynchronous crypto drivers with defered callbacks. Submitted by: emeric.pou...@stormshield.eu Reported by: mav@ Rev

svn commit: r326390 - head/share/man/man9

2017-11-30 Thread Fabien Thomas
Author: fabient Date: Thu Nov 30 08:28:04 2017 New Revision: 326390 URL: https://svnweb.freebsd.org/changeset/base/326390 Log: Update man page for r325354. Reported by: bjk Modified: head/share/man/man9/crypto.9 Modified: head/share/man/man9/crypto.9 ===

svn commit: r325354 - in head: share/man/man9 sys/netipsec sys/opencrypto

2017-11-03 Thread Fabien Thomas
Author: fabient Date: Fri Nov 3 10:27:22 2017 New Revision: 325354 URL: https://svnweb.freebsd.org/changeset/base/325354 Log: crypto(9) is called from ipsec in CRYPTO_F_CBIFSYNC mode. This is working fine when a lot of different flows to be ciphered/deciphered are involved. However, when

svn commit: r315270 - in head/sys: arm/include dev/hwpmc

2017-03-14 Thread Fabien Thomas
Author: fabient Date: Tue Mar 14 16:06:57 2017 New Revision: 315270 URL: https://svnweb.freebsd.org/changeset/base/315270 Log: Fix arm stack frame walking support: - Adjust stack offset for Clang - Correctly fill registers for fake stack frame (soft PMC) MFC after:1 week Sponsored

Re: svn commit: r309144 - in head: lib/libipsec sys/net sys/netipsec

2016-11-26 Thread Fabien THOMAS
Hi, Sorry about that. Normally we build universe with it but it seems we missed something... I've not access to a machine to fixit before monday... Fabien > Le 25 nov. 2016 à 22:32, Raphael Kubo da Costa a écrit : > > Fabien Thomas writes: > >> Author: fabient >&

svn commit: r309146 - head/sys/libkern

2016-11-25 Thread Fabien Thomas
Author: fabient Date: Fri Nov 25 17:20:23 2016 New Revision: 309146 URL: https://svnweb.freebsd.org/changeset/base/309146 Log: Update r309143 to prevent false sharing. Reported by: mjg Approved by: so MFC after:1 month Modified: head/sys/libkern/arc4random.c Modified: head/sys

Re: svn commit: r309143 - head/sys/libkern

2016-11-25 Thread Fabien Thomas
> Le 25 nov. 2016 à 17:00, Mateusz Guzik a écrit : > > On Fri, Nov 25, 2016 at 01:49:33PM +0000, Fabien Thomas wrote: >> Author: fabient >> Date: Fri Nov 25 13:49:33 2016 >> New Revision: 309143 >> URL: https://svnweb.freebsd.org/changeset/base/309143 >>

svn commit: r309144 - in head: lib/libipsec sys/net sys/netipsec

2016-11-25 Thread Fabien Thomas
Author: fabient Date: Fri Nov 25 14:44:49 2016 New Revision: 309144 URL: https://svnweb.freebsd.org/changeset/base/309144 Log: IPsec RFC6479 support for replay window sizes up to 2^32 - 32 packets. Since the previous algorithm, based on bit shifting, does not scale with large replay windo

svn commit: r309143 - head/sys/libkern

2016-11-25 Thread Fabien Thomas
Author: fabient Date: Fri Nov 25 13:49:33 2016 New Revision: 309143 URL: https://svnweb.freebsd.org/changeset/base/309143 Log: In a dual processor system (2*6 cores) during IPSec throughput tests, we see a lot of contention on the arc4 lock, used to generate the IV of the ESP output packets.

svn commit: r308216 - head/usr.sbin/rtadvd

2016-11-02 Thread Fabien Thomas
Author: fabient Date: Wed Nov 2 15:11:23 2016 New Revision: 308216 URL: https://svnweb.freebsd.org/changeset/base/308216 Log: In rtadvd, interface lookup calls if_indextoname() many times in a loop, (it takes a long time on systems with many interfaces) without reason and without checking i

Re: svn commit: r291301 - head/sys/netinet

2015-11-26 Thread Fabien Thomas
Hi Gleb, > > Note that g...@freebsd.org and gleb...@freebsd.org are two different persons. > Sorry for the mistake. Fabien ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any ma

svn commit: r291301 - head/sys/netinet

2015-11-25 Thread Fabien Thomas
Author: fabient Date: Wed Nov 25 14:45:43 2015 New Revision: 291301 URL: https://svnweb.freebsd.org/changeset/base/291301 Log: The r241129 description was wrong that the scenario is possible only for read locks on pcbs. The same race can happen with write lock semantics as well. The rac

svn commit: r290982 - in head/sys: net netipsec

2015-11-17 Thread Fabien Thomas
Author: fabient Date: Tue Nov 17 14:39:33 2015 New Revision: 290982 URL: https://svnweb.freebsd.org/changeset/base/290982 Log: Implement the sadb_x_policy_priority field as it is done in Linux: lower priority policies are inserted first. Submitted by: Emeric Poupon Reviewed by: ae S

svn commit: r289025 - head/sys/sys

2015-10-08 Thread Fabien Thomas
Author: fabient Date: Thu Oct 8 10:00:41 2015 New Revision: 289025 URL: https://svnweb.freebsd.org/changeset/base/289025 Log: Fix r283120 which use class size larger than 8bits. The new mapping will restore binary compatibility with stable_10 but file generated since r283120 are broken.

svn commit: r289024 - head/sys/kern

2015-10-08 Thread Fabien Thomas
Author: fabient Date: Thu Oct 8 09:54:33 2015 New Revision: 289024 URL: https://svnweb.freebsd.org/changeset/base/289024 Log: Fix r283998 that broke mapin events for hwpmc. Reviewed by: jhb Sponsored by: Stormshield Modified: head/sys/kern/vfs_vnops.c Modified: head/sys/kern/vfs_vno

svn commit: r289023 - head/usr.sbin/pmcstat

2015-10-08 Thread Fabien Thomas
Author: fabient Date: Thu Oct 8 09:46:35 2015 New Revision: 289023 URL: https://svnweb.freebsd.org/changeset/base/289023 Log: Fix for r288176 changes related to debug symbols move. Reviewed by: emaste Sponsored by: Stormshield Modified: head/usr.sbin/pmcstat/pmcstat_log.c Modified: h

svn commit: r286890 - head/sys/dev/ichwd

2015-08-18 Thread Fabien Thomas
Author: fabient Date: Tue Aug 18 14:54:29 2015 New Revision: 286890 URL: https://svnweb.freebsd.org/changeset/base/286890 Log: Add ichwd TCO version 3 support (Bay Trail / Rangeley...) Reviewed by: jhb Obtained from: Cas-well Sponsored by: Stormshield Modified: head/sys/dev/ichwd/ich

svn commit: r280759 - head/sys/netinet

2015-03-27 Thread Fabien Thomas
Author: fabient Date: Fri Mar 27 13:26:59 2015 New Revision: 280759 URL: https://svnweb.freebsd.org/changeset/base/280759 Log: On multi CPU systems, we may emit successive packets with the same id. Fix the race by using an atomic operation. Differential Revision:https://reviews.fr

svn commit: r268359 - head/sys/dev/mge

2014-07-07 Thread Fabien Thomas
Author: fabient Date: Mon Jul 7 08:22:39 2014 New Revision: 268359 URL: http://svnweb.freebsd.org/changeset/base/268359 Log: Optim and Fix for mge driver: - add missing rcvif in mbuf - add missing ipacket stat - remove uncessary mbuf copy on output path - fix deadlock of the TX engine i

Re: svn commit: r253779 - in head: . share/man/man4 sys/amd64/conf sys/arm/conf sys/conf sys/dev/random sys/i386/conf sys/ia64/conf sys/mips/conf sys/modules sys/modules/random sys/pc98/conf sys/power

2013-08-02 Thread Fabien Thomas
Le 29 juil. 2013 à 22:26, David E. O'Brien a écrit : > Author: obrien > Date: Mon Jul 29 20:26:27 2013 > New Revision: 253779 > URL: http://svnweb.freebsd.org/changeset/base/253779 > > Log: > Decouple yarrow from random(4) device. > > * Make Yarrow an optional kernel component -- enabled by "

svn commit: r247836 - in head/sys: dev/hwpmc kern sys

2013-03-05 Thread Fabien Thomas
Author: fabient Date: Tue Mar 5 10:18:48 2013 New Revision: 247836 URL: http://svnweb.freebsd.org/changeset/base/247836 Log: Add a generic way to call per event allocate / release function. Reviewed by: mav MFC after:1 month Modified: head/sys/dev/hwpmc/hwpmc_soft.c head/sys/ke

svn commit: r240323 - head/tools/test/hwpmc

2012-09-10 Thread Fabien Thomas
Author: fabient Date: Mon Sep 10 16:32:28 2012 New Revision: 240323 URL: http://svn.freebsd.org/changeset/base/240323 Log: Add SOFT as a possible section to exclude from counter list. Modified: head/tools/test/hwpmc/pmctest.py Modified: head/tools/test/hwpmc/pmctest.py ==

svn commit: r240203 - head/sys/dev/hwpmc

2012-09-07 Thread Fabien Thomas
Author: fabient Date: Fri Sep 7 14:45:59 2012 New Revision: 240203 URL: http://svn.freebsd.org/changeset/base/240203 Log: Complete and merge the list between Sandy/Ivy bridge of events that can run on specific PMC. MFC after:1 month Modified: head/sys/dev/hwpmc/hwpmc_core.c Modif

svn commit: r240164 - in head: lib/libpmc sys/dev/hwpmc sys/sys

2012-09-06 Thread Fabien Thomas
PMC_EVENT_TABLE_SIZE(sandybridge); Added: head/lib/libpmc/pmc.ivybridge.3 ====== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libpmc/pmc.ivybridge.3 Thu Sep 6 13:54:01 2012

Re: svn commit: r239105 - head/sys/dev/e1000

2012-08-07 Thread Fabien Thomas
> > @@ -961,7 +961,15 @@ igb_mq_start(struct ifnet *ifp, struct m > que = &adapter->queues[i]; > if (((txr->queue_status & IGB_QUEUE_DEPLETED) == 0) && > IGB_TX_TRYLOCK(txr)) { > - err = igb_mq_start_locked(ifp, txr, m); > + struct mbuf *pm = NULL; > +

svn commit: r237322 - head/sys/dev/xen/balloon

2012-06-20 Thread Fabien Thomas
Author: fabient Date: Wed Jun 20 15:45:50 2012 New Revision: 237322 URL: http://svn.freebsd.org/changeset/base/237322 Log: Allow booting XENHVM kernel without Xen hypervisor. MFC after:3 days Modified: head/sys/dev/xen/balloon/balloon.c Modified: head/sys/dev/xen/balloon/balloon.c =

svn commit: r237295 - head/sys/dev/viawd

2012-06-20 Thread Fabien Thomas
Author: fabient Date: Wed Jun 20 09:01:44 2012 New Revision: 237295 URL: http://svn.freebsd.org/changeset/base/237295 Log: Fix viawd(4) that was only working as a module. Obtained from:jhb MFC after: 3 days Modified: head/sys/dev/viawd/viawd.c Modified: head/sys/dev/viawd/viaw

svn commit: r236997 - in head/sys: arm/include dev/hwpmc

2012-06-12 Thread Fabien Thomas
Author: fabient Date: Wed Jun 13 06:38:25 2012 New Revision: 236997 URL: http://svn.freebsd.org/changeset/base/236997 Log: Add ARM callchain support for hwpmc. Sponsored by: NETASQ MFC after:3 days Modified: head/sys/arm/include/pmc_mdep.h head/sys/dev/hwpmc/hwpmc_arm.c Modified

svn commit: r236669 - head/usr.sbin/pmcstat

2012-06-06 Thread Fabien Thomas
Author: fabient Date: Wed Jun 6 08:58:31 2012 New Revision: 236669 URL: http://svn.freebsd.org/changeset/base/236669 Log: Remove spurious ARM symbols from lookup table. MFC after:3 days Modified: head/usr.sbin/pmcstat/pmcstat_log.c Modified: head/usr.sbin/pmcstat/pmcstat_log.c

svn commit: r235831 - in head/sys: arm/arm arm/include dev/hwpmc

2012-05-23 Thread Fabien Thomas
Author: fabient Date: Wed May 23 13:23:40 2012 New Revision: 235831 URL: http://svn.freebsd.org/changeset/base/235831 Log: Soft PMC support for ARM. Callgraph is not captured, only current location. Sample system wide profiling: "pmcstat -Sclock.hard -T" Modified: head/sys/arm/arm/mach

svn commit: r235229 - head/sys/dev/hwpmc

2012-05-10 Thread Fabien Thomas
Author: fabient Date: Thu May 10 14:27:49 2012 New Revision: 235229 URL: http://svn.freebsd.org/changeset/base/235229 Log: Remove out of date KASSERT that fire with soft PMC. MFC after:1 week Modified: head/sys/dev/hwpmc/hwpmc_intel.c Modified: head/sys/dev/hwpmc/hwpmc_intel.c =

svn commit: r234598 - head/sys/dev/hwpmc

2012-04-23 Thread Fabien Thomas
Author: fabient Date: Mon Apr 23 08:58:01 2012 New Revision: 234598 URL: http://svn.freebsd.org/changeset/base/234598 Log: Fix class malloc init for mips and powerpc that was not converted by r233628. Found by: monthadar, adrian MFC after:1 week Modified: head/sys/dev/hwpmc/hwpmc

svn commit: r233628 - in head: lib/libpmc sys/amd64/amd64 sys/amd64/include sys/arm/include sys/conf sys/dev/hwpmc sys/i386/i386 sys/i386/include sys/kern sys/mips/include sys/modules/hwpmc sys/pow...

2012-03-28 Thread Fabien Thomas
3 , .Xr pmc.p6 3 , .Xr pmc.sandybridge 3 , +.Xr pmc.soft 3 , .Xr pmc.tsc 3 , .Xr pmc.ucf 3 , .Xr pmc.westmere 3 , Added: head/lib/libpmc/pmc.soft.3 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libpmc/pmc.sof

svn commit: r233611 - head/usr.sbin/pmcstat

2012-03-28 Thread Fabien Thomas
/pmcstat/pmcpl_calltree.c Wed Mar 28 16:23:40 2012 (r233611) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2009, Fabien Thomas + * Copyright (c) 2012, Fabien Thomas * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -58,20 +58,18 @@ __FBSDID

svn commit: r233544 - head/sys/dev/hwpmc

2012-03-27 Thread Fabien Thomas
Author: fabient Date: Tue Mar 27 14:02:22 2012 New Revision: 233544 URL: http://svn.freebsd.org/changeset/base/233544 Log: Fix random deadlock on pmcstat exit: - Exit the thread when soft shutdown is requested - Wakeup owner thread. Reproduced/tested by looping pmcstat measurement: pm

svn commit: r229470 - in head: lib/libpmc sys/dev/hwpmc

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Wed Jan 4 07:58:36 2012 New Revision: 229470 URL: http://svn.freebsd.org/changeset/base/229470 Log: Update PMC events from October 2011 Intel documentation. Submitted by: Davide Italiano MFC after:3 days Modified: head/lib/libpmc/pmc.corei7.3 head/sys/dev/

svn commit: r229469 - head/sys/dev/hwpmc

2012-01-03 Thread Fabien Thomas
Author: fabient Date: Wed Jan 4 07:33:06 2012 New Revision: 229469 URL: http://svn.freebsd.org/changeset/base/229469 Log: Add missing MSR programming for some events. Submitted by: Davide Italiano MFC after:3 days Modified: head/sys/dev/hwpmc/hwpmc_uncore.c head/sys/dev/hwpmc/h

svn commit: r228802 - head/sys/dev/viawd

2011-12-22 Thread Fabien Thomas
== --- head/sys/dev/viawd/viawd.c Thu Dec 22 15:03:48 2011(r228801) +++ head/sys/dev/viawd/viawd.c Thu Dec 22 15:13:32 2011(r228802) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2011 Fabien Thomas + * Copyright (c) 2011 Fabien Thomas * All

svn commit: r228502 - head/sys/dev/viawd

2011-12-14 Thread Fabien Thomas
Author: fabient Date: Wed Dec 14 15:39:51 2011 New Revision: 228502 URL: http://svn.freebsd.org/changeset/base/228502 Log: Rework the attachement to probe directly on isab(4). Depend on r228496. Requested by: jhb MFC after:1 month Modified: head/sys/dev/viawd/viawd.c head/sys/d

svn commit: r228438 - head/sys/dev/hwpmc

2011-12-12 Thread Fabien Thomas
Author: fabient Date: Mon Dec 12 13:12:55 2011 New Revision: 228438 URL: http://svn.freebsd.org/changeset/base/228438 Log: There's a small set of events on Nehalem, that are not supported in processors with CPUID signature 06_1AH, 06_1EH, and 06_1FH. Refuse to allocate them on unsupported

svn commit: r228436 - in head: sys/dev/cpuctl usr.sbin/cpucontrol

2011-12-12 Thread Fabien Thomas
= --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/usr.sbin/cpucontrol/via.c Mon Dec 12 12:30:44 2011 (r228436) @@ -0,0 +1,222 @@ +/*- + * Copyright (c) 2011 Fabien Thomas . + * All rights res

svn commit: r228431 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/viawd sys/i386/conf sys/modules sys/modules/viawd

2011-12-12 Thread Fabien Thomas
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/viawd.4 Mon Dec 12 09:50:33 2011(r228431) @@ -0,0 +1,79 @@ +.\"- +.\" Copyright (c) 2011 Fabien Thomas +.\" All rights reserved. +.\" +.\"

svn commit: r228198 - head/sys/dev/hwpmc

2011-12-02 Thread Fabien Thomas
Author: fabient Date: Fri Dec 2 10:02:49 2011 New Revision: 228198 URL: http://svn.freebsd.org/changeset/base/228198 Log: Update Westmere uncore event exception list. Submitted by: Davide Italiano MFC after:1 week Modified: head/sys/dev/hwpmc/hwpmc_core.c Modified: head/sys/dev/

svn commit: r227391 - head/contrib/gcc/config/arm

2011-11-09 Thread Fabien Thomas
Author: fabient Date: Wed Nov 9 15:59:02 2011 New Revision: 227391 URL: http://svn.freebsd.org/changeset/base/227391 Log: Import gcc fix for -fstack-protector that produces segfaulting binaries on arm/armel. Related gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965 PR: 16

svn commit: r226986 - head/usr.sbin/pmcstat

2011-11-01 Thread Fabien Thomas
Author: fabient Date: Tue Nov 1 09:28:47 2011 New Revision: 226986 URL: http://svn.freebsd.org/changeset/base/226986 Log: Two bugs fixed: - Do not close stdout or stderr when redirecting to file. - Correctly handle error code to detect when no buffer available. MFC after:1 month M

Re: svn commit: r226514 - in head: lib/libpmc sys/dev/hwpmc sys/sys usr.sbin/pmcstat

2011-10-19 Thread Fabien Thomas
Badly merged my patchset... Corrected with r226526. On Oct 18, 2011, at 6:23 PM, Bjoern A. Zeeb wrote: > > On 18. Oct 2011, at 15:25 , Fabien Thomas wrote: > >> Author: fabient >> Date: Tue Oct 18 15:25:43 2011 >> New Revision: 226514 >> URL: http://svn.

svn commit: r226526 - head/sys/sys

2011-10-19 Thread Fabien Thomas
Author: fabient Date: Wed Oct 19 07:16:57 2011 New Revision: 226526 URL: http://svn.freebsd.org/changeset/base/226526 Log: Add missing DEBUG define from r226514. Modified: head/sys/sys/pmc.h Modified: head/sys/sys/pmc.h

svn commit: r226514 - in head: lib/libpmc sys/dev/hwpmc sys/sys usr.sbin/pmcstat

2011-10-18 Thread Fabien Thomas
Author: fabient Date: Tue Oct 18 15:25:43 2011 New Revision: 226514 URL: http://svn.freebsd.org/changeset/base/226514 Log: Add a flush of the current PMC log buffer before displaying the next top. As the underlying block is 4KB if the PMC throughput is low the measurement will be reported

Re: svn commit: r225405 - head/sys/dev/ixgbe

2011-09-06 Thread Fabien Thomas
g */ > + mp->m_flags &= ~M_PKTHDR; > sendmp->m_pkthdr.len += mp->m_len; > - else { > + } else { > /* first desc of a non-ps chain */ > send

svn commit: r220206 - head/sys/netipsec

2011-03-31 Thread Fabien Thomas
Author: fabient Date: Thu Mar 31 15:23:32 2011 New Revision: 220206 URL: http://svn.freebsd.org/changeset/base/220206 Log: Optimisation in IPSEC(4): - Remove contention on ISR during the crypto operation by using rwlock(9). - Remove a second lookup of the SA in the callback. Gain on 6 c

svn commit: r220198 - head/sys/kern

2011-03-31 Thread Fabien Thomas
Author: fabient Date: Thu Mar 31 13:59:47 2011 New Revision: 220198 URL: http://svn.freebsd.org/changeset/base/220198 Log: Clearing the flag when preempting will let the preempted thread run too much time. This can finish in a scheduler deadlock with ping-pong between two threads. One s

svn commit: r220194 - head/sys/netipsec

2011-03-31 Thread Fabien Thomas
Author: fabient Date: Thu Mar 31 13:14:24 2011 New Revision: 220194 URL: http://svn.freebsd.org/changeset/base/220194 Log: Fix two SA refcount: - AH does not release the SA like in ESP/IPCOMP when handling EAGAIN - ipsec_process_done incorrectly release the SA. Reviewed by: vanhu MFC

Re: svn commit: r218583 - head/sys/dev/e1000

2011-02-14 Thread Fabien Thomas
> > > @@ -1937,6 +1937,10 @@ igb_local_timer(void *arg) > goto timeout; > out: > callout_reset(&adapter->timer, hz, igb_local_timer, adapter); > +#ifndef DEVICE_POLLING > + /* Fire off all queue interrupts - deadlock protection */ > + E1000_WRITE_REG(&adapter->

svn commit: r212224 - in head: lib/libpmc sys/dev/hwpmc

2010-09-05 Thread Fabien Thomas
Author: fabient Date: Sun Sep 5 13:31:14 2010 New Revision: 212224 URL: http://svn.freebsd.org/changeset/base/212224 Log: Fix invalid class removal when IAF is not the last class. Keep IAF class with 0 PMC and change the alias in libpmc to IAP. MFC after:1 week Modified: head/lib/

svn commit: r212176 - head/usr.sbin/pmcstat

2010-09-03 Thread Fabien Thomas
Author: fabient Date: Fri Sep 3 13:54:02 2010 New Revision: 212176 URL: http://svn.freebsd.org/changeset/base/212176 Log: When an asm location cannot be resolved to a function the cost will be spread as small value and then filtered by the threshold. As a first step solution display the num

svn commit: r210797 - head/usr.sbin/pmcstat

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 13:46:25 2010 New Revision: 210797 URL: http://svn.freebsd.org/changeset/base/210797 Log: - Do not use the runtime mask when logfile is specified. - Revert the fix on rtld path that is not necessary. MFC after:1 week Modified: head/usr.sbin/pmcstat/

svn commit: r210794 - head/usr.sbin/pmcstat

2010-08-03 Thread Fabien Thomas
Author: fabient Date: Tue Aug 3 09:23:53 2010 New Revision: 210794 URL: http://svn.freebsd.org/changeset/base/210794 Log: Allow file as a top source, it works with socket now. This will allow top monitoring using socket/ssh tunnelling of system without local symbols. client: pmcstat

svn commit: r210766 - head/usr.sbin/pmcstat

2010-08-02 Thread Fabien Thomas
Author: fabient Date: Mon Aug 2 13:40:19 2010 New Revision: 210766 URL: http://svn.freebsd.org/changeset/base/210766 Log: Fix the calltree top view that incorrectly filter out some nodes. MFC after:1 week Modified: head/usr.sbin/pmcstat/pmcpl_calltree.c Modified: head/usr.sbin/pmcs

Re: svn commit: r209611 - head/sys/dev/e1000

2010-06-30 Thread Fabien Thomas
great! have you some plan to do it on ixgbe too ? fabien On 30 juin 2010, at 19:26, Jack F Vogel wrote: > Author: jfv > Date: Wed Jun 30 17:26:47 2010 > New Revision: 209611 > URL: http://svn.freebsd.org/changeset/base/209611 > > Log: > SR-IOV support added to igb > > What this provides is s

svn commit: r209196 - head/sys/sys

2010-06-15 Thread Fabien Thomas
Author: fabient Date: Tue Jun 15 09:12:31 2010 New Revision: 209196 URL: http://svn.freebsd.org/changeset/base/209196 Log: Set the comment at the right place for PMC uncore classes. Submitted by: rstone MFC after: 1 month Modified: head/sys/sys/pmc.h Modified: head/sys/sys/pmc.h =

svn commit: r208861 - in head/sys: dev/hwpmc sys

2010-06-05 Thread Fabien Thomas
Author: fabient Date: Sat Jun 5 23:05:08 2010 New Revision: 208861 URL: http://svn.freebsd.org/changeset/base/208861 Log: Convert pm_runcount to int to correctly check for negative value. Remove uncessary check for error. Found with: Coverity Prevent(tm) MFC after:1 month Modifi

svn commit: r208860 - head/lib/libpmc

2010-06-05 Thread Fabien Thomas
Author: fabient Date: Sat Jun 5 23:00:02 2010 New Revision: 208860 URL: http://svn.freebsd.org/changeset/base/208860 Log: Fix memory leak on error. Found with: Coverity Prevent(tm) MFC after:1 month Modified: head/lib/libpmc/pmclog.c Modified: head/lib/libpmc/pmclog.c =

svn commit: r208858 - head/usr.sbin/pmcstat

2010-06-05 Thread Fabien Thomas
Author: fabient Date: Sat Jun 5 22:57:53 2010 New Revision: 208858 URL: http://svn.freebsd.org/changeset/base/208858 Log: Fix warnings found by Coverity. Found with: Coverity Prevent(tm) MFC after:1 month Modified: head/usr.sbin/pmcstat/pmcpl_calltree.c head/usr.sbin/pmcstat/p

svn commit: r207761 - in head/sys: dev/bce dev/mxge sys

2010-05-07 Thread Fabien Thomas
Author: fabient Date: Fri May 7 22:09:17 2010 New Revision: 207761 URL: http://svn.freebsd.org/changeset/base/207761 Log: Add a fastpath to allocate from packet zone when using m_getjcl. This will add support for packet zone for at least igb and ixgbe and will avoid to check for that in bce

svn commit: r207755 - head/usr.sbin/pmcstat

2010-05-07 Thread Fabien Thomas
Author: fabient Date: Fri May 7 19:48:50 2010 New Revision: 207755 URL: http://svn.freebsd.org/changeset/base/207755 Log: Rework the calltree top view by critical callchain. The percentage show is the sum of the cost for the codepath. MFC after: 1 week Modified: head/usr.sbin/pmcstat/

svn commit: r207732 - head/sys/netgraph

2010-05-06 Thread Fabien Thomas
Author: fabient Date: Thu May 6 20:58:23 2010 New Revision: 207732 URL: http://svn.freebsd.org/changeset/base/207732 Log: Fix an invalid parameter detected by INVARIANT and confirmed by r193272. Modified: head/sys/netgraph/ng_ksocket.c Modified: head/sys/netgraph/ng_ksocket.c ==

svn commit: r207731 - head/usr.sbin/pmcstat

2010-05-06 Thread Fabien Thomas
Author: fabient Date: Thu May 6 20:54:19 2010 New Revision: 207731 URL: http://svn.freebsd.org/changeset/base/207731 Log: Exclude undefined symbol from ELF file when doing function resolve. MFC after: 3 days Modified: head/usr.sbin/pmcstat/pmcstat_log.c Modified: head/usr.sbin/pmcstat/

svn commit: r206994 - head/usr.sbin/pmcstat

2010-04-21 Thread Fabien Thomas
Author: fabient Date: Wed Apr 21 11:50:13 2010 New Revision: 206994 URL: http://svn.freebsd.org/changeset/base/206994 Log: Apply threshold filter to root node in calltree view. MFC after: 3days Modified: head/usr.sbin/pmcstat/pmcpl_calltree.c Modified: head/usr.sbin/pmcstat/pmcpl_calltr

svn commit: r206684 - head/sys/dev/hwpmc

2010-04-15 Thread Fabien Thomas
Author: fabient Date: Thu Apr 15 19:45:03 2010 New Revision: 206684 URL: http://svn.freebsd.org/changeset/base/206684 Log: - Fix a typo OFFCORE_REQUESTS.ANY.RFO is B0H10H and not 80H10H. - Enable missing PARTIAL_ADDRESS_ALIAS for Core i7. MFC after: 3 days Modified: head/sys/dev/hwpmc/

svn commit: r206635 - head/usr.sbin/pmcstat

2010-04-14 Thread Fabien Thomas
Author: fabient Date: Wed Apr 14 21:53:27 2010 New Revision: 206635 URL: http://svn.freebsd.org/changeset/base/206635 Log: Move fatal error at the right place. Fix exit from top mode when checking if PMC is available. MFC after: 3 days Modified: head/usr.sbin/pmcstat/pmcpl_callgraph.c

svn commit: r206090 - head/usr.sbin/pmcstat

2010-04-02 Thread Fabien Thomas
Author: fabient Date: Fri Apr 2 13:34:28 2010 New Revision: 206090 URL: http://svn.freebsd.org/changeset/base/206090 Log: Improve "top" header by: - Display sample received per PMCs (or merged PMCs). - Display percentage vs all samples Modified: head/usr.sbin/pmcstat/pmcpl_callgraph.c

svn commit: r206089 - in head: lib/libpmc sys/amd64/include sys/conf sys/dev/hwpmc sys/i386/include sys/modules/hwpmc sys/sys

2010-04-02 Thread Fabien Thomas
C_EV_K7_FIRST && pe <= PMC_EV_K7_LAST) { ev = k7_event_table; evfence = k7_event_table + PMC_EVENT_TABLE_SIZE(k7); } else if (pe >= PMC_EV_K8_FIRST && pe <= PMC_EV_K8_LAST) { Added: head/lib/libpmc/pmc.corei7.3 ===

svn commit: r205998 - head/sys/dev/hwpmc

2010-03-31 Thread Fabien Thomas
Author: fabient Date: Wed Mar 31 20:00:44 2010 New Revision: 205998 URL: http://svn.freebsd.org/changeset/base/205998 Log: If there is multiple PMCs for the same interrupt ignore new post. This will indirectly fix a bug where the thread will be pinned forever if the assert is not compiled.

svn commit: r205809 - head/usr.sbin/pmcstat

2010-03-28 Thread Fabien Thomas
Author: fabient Date: Sun Mar 28 22:46:56 2010 New Revision: 205809 URL: http://svn.freebsd.org/changeset/base/205809 Log: Wait for pmc name in the log before displaying data. This will solve an abort in case of low throughput PMCs. MFC after: 3days Modified: head/usr.sbin/pmcstat/pmcs

svn commit: r205694 - head/sys/dev/hwpmc

2010-03-26 Thread Fabien Thomas
Author: fabient Date: Fri Mar 26 14:35:48 2010 New Revision: 205694 URL: http://svn.freebsd.org/changeset/base/205694 Log: Handling SIGPIPE will cause deadlock/crash. Return an error immediatly in case of hard shutdown. MFC after: 3days Modified: head/sys/dev/hwpmc/hwpmc_logging.c Mod

svn commit: r205693 - head/usr.sbin/pmcstat

2010-03-26 Thread Fabien Thomas
Author: fabient Date: Fri Mar 26 14:29:57 2010 New Revision: 205693 URL: http://svn.freebsd.org/changeset/base/205693 Log: Do not overflow the term in the case of multi-line display. MFC after: 3days Modified: head/usr.sbin/pmcstat/pmcpl_calltree.c Modified: head/usr.sbin/pmcstat/pmcpl_

svn commit: r204878 - in head: sys/dev/hwpmc sys/sys usr.sbin/pmcstat

2010-03-08 Thread Fabien Thomas
Author: fabient Date: Mon Mar 8 19:58:00 2010 New Revision: 204878 URL: http://svn.freebsd.org/changeset/base/204878 Log: Change the way shutdown is handled for log file. pmc_flush_logfile is now non-blocking and just ask the kernel to shutdown the file. From that point, no more data is

svn commit: r204783 - head/usr.sbin/pmcstat

2010-03-05 Thread Fabien Thomas
Author: fabient Date: Fri Mar 5 23:08:19 2010 New Revision: 204783 URL: http://svn.freebsd.org/changeset/base/204783 Log: Bug fixed: - no display on serial terminal in top mode. - display alignment for continuation string. - correct invalid value used for display limit. MFC after: