CVS commit: src/sys/opencrypto

2017-03-15 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Mar 16 05:23:56 UTC 2017 Modified Files: src/sys/opencrypto: crypto.c Log Message: fix: remove unmatched mutex_exit/enter. must be forgetting to remove at crypto.c:r1.41 To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/sys/net

2017-03-09 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Mar 9 09:57:36 UTC 2017 Modified Files: src/sys/net: if.c Log Message: ifp->if_transmit() must free mbuf even if error occurred. Add missing m_freem(m) to if_nulltransmit(). Below ifp->if_transmit() implementations are al

CVS commit: src/share/man/man4

2017-03-06 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Mar 6 10:00:14 UTC 2017 Modified Files: src/share/man/man4: ipsec.4 Log Message: add "net.inet.ipsec.crypto_support" man To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/share/man/man4/ipsec.4 Please no

CVS commit: src/sys

2017-03-06 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Mar 6 09:59:05 UTC 2017 Modified Files: src/sys/netipsec: ipsec_netbsd.c src/sys/opencrypto: cryptodev.h Log Message: add sysctl to select software/hardware encryption driver. can enable CRYPTO_DEBUG. To generat

CVS commit: src/sys/dev/pci

2017-03-03 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 3 16:48:55 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: fix r1.492 bug, sorry To generate a diff of this commit: cvs rdiff -u -r1.495 -r1.496 src/sys/dev/pci/if_wm.c Please note that diffs are not

CVS commit: src/share/man/man4

2017-03-03 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 3 10:44:25 UTC 2017 Modified Files: src/share/man/man4: wm.4 Log Message: add WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT description pointed out by pgoyette@n.o, thanks. To generate a diff of t

CVS commit: src/sys/dev/pci

2017-03-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 3 07:57:49 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: implement AIM(Adaptive Interrupt Moderation), but not enable yet. Currently, it causes performance degration if enabled. More ITR calcuration t

CVS commit: src/sys/dev/pci

2017-03-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 3 07:38:53 UTC 2017 Modified Files: src/sys/dev/pci: files.pci if_wm.c Log Message: make kernel config option WM_RX_PROCESS_LIMIT_DEFAULT and WM_RX_INTR_PROCESS_LIMIT_DEFAULT e.g. if - WM_RX_PROCESS_LIMIT_DEFAULT

CVS commit: src/sys/dev/pci

2017-03-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 3 07:32:36 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: implement polling mode for multiqueue. It can suppress performance degration at high load. e.g. I354 IP forwarding throughput performance

CVS commit: src/sys/dev/pci

2017-03-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Mar 3 03:33:44 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: IFEF_START_MPSAFE flag should be set only if WM_MPSAFE defined. some refactor. pointed out and suggested by msaitoh@n.o, thanks. To generate

CVS commit: src/sys/dev/pci

2017-03-01 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Mar 1 08:56:33 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: refactor: functionalize ITR/EITR writing processing. tested I354 and 82545(VMware e1000). To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/sys/dev/pci

2017-03-01 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Mar 1 08:31:06 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: divide ITR/EITR value from wm_softc to wm_queue as EITR register is bound to each H/W queue. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/pci

2017-02-28 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Feb 28 09:55:47 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c if_wmreg.h Log Message: fix EITR setting. + 82574 - add EITR setting, that is MSI-X mode interrupt interval + 82575 - fix EITR value. 82

CVS commit: src/sys/dev/pci

2017-02-27 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Feb 27 09:27:27 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: fix Tx queue assignment when the number of H/W queues is less than ncpu. To generate a diff of this commit: cvs rdiff -u -r1.487 -r1.488 src/s

CVS commit: src/sys/dev/pci

2017-02-24 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Feb 24 10:09:21 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: apply 82574 RFCTL workaround the same as FreeBSD and linux. In fact, this workaround reduces interrupt count. To generate a diff of this comm

CVS commit: src/sys/dev/pci

2017-02-24 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Feb 24 10:07:33 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: 82574 should follow MSI-X mode IMS manner. Howerver some legacy interrupts occur as MSI-X other interrupt yet... To generate a diff of this c

CVS commit: src/sys/arch/x86/pci

2017-02-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Feb 20 09:02:01 UTC 2017 Modified Files: src/sys/arch/x86/pci: if_vmx.c Log Message: Apply deferred if_start to vmx(4). To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x86/pci/if_vmx.c Please n

CVS commit: src/sys/dev/pci

2017-02-17 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Feb 17 12:16:37 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: unify Tx softint and Rx softint to uniform ixg(4) design. Furthermore, that can remove wm_deferred_start() which holds all txq's txq_lock, so i

CVS commit: src/sys/dev/pci

2017-02-17 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Feb 17 11:57:26 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: rxq_ptr must be updated holding rxq_lock consistent with the Rx processing. In previous implementation, wm_rxeof() temporarily unlock rxq->rxq_

CVS commit: src/sys/dev/pci

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Feb 17 07:21:28 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: more fix about IFF_OACTIVE. fix TODO of r1.479 and reduce IFF_OACTIVE manipulation. To generate a diff of this commit: cvs rdiff -u -r1.481 -

CVS commit: src/sys/dev/pci

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Feb 17 05:20:02 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: refactor: functionize deferred_start code holding locks. To generate a diff of this commit: cvs rdiff -u -r1.480 -r1.481 src/sys/dev/pci/if_wm

CVS commit: src/sys/dev/pci

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Feb 17 04:51:01 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: refactor: functionize txrxintr disable/enable code. To generate a diff of this commit: cvs rdiff -u -r1.479 -r1.480 src/sys/dev/pci/if_wm.c P

CVS commit: src/doc

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 16 08:48:34 UTC 2017 Modified Files: src/doc: CHANGES Log Message: update doc/CHAGES To generate a diff of this commit: cvs rdiff -u -r1.2253 -r1.2254 src/doc/CHANGES Please note that diffs are not public domain; the

CVS commit: src/sys/arch/amd64/conf

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 16 08:45:43 UTC 2017 Modified Files: src/sys/arch/amd64/conf: ALL GENERIC Log Message: add l2tp(4) to amd64/GENERIC and amd64/ALL config. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/arch/amd6

CVS commit: src

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 16 08:44:48 UTC 2017 Modified Files: src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/tests/net: Makefile Added Files: src/tests/net/if_l2tp: Makefile t_l2tp.sh Log Message:

CVS commit: src

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 16 08:39:10 UTC 2017 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/comp: mi shl.mi src/distrib/sets/lists/debug: mi shl.mi src/sys/rump/net: Makefile.rumpnetcomp

CVS commit: src

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 16 08:32:21 UTC 2017 Modified Files: src/distrib/sets/lists/man: mi src/sbin/ifconfig: ifconfig.8 src/share/man/man4: Makefile Added Files: src/share/man/man4: l2tp.4 Log Message: add man for l2t

CVS commit: src/sbin/ifconfig

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 16 08:28:03 UTC 2017 Modified Files: src/sbin/ifconfig: Makefile.common Added Files: src/sbin/ifconfig: l2tp.c Log Message: add l2tp(4) subcomands to ifconfig(8). originally implemented by IIJ SEIL team. To g

CVS commit: src/sys

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 16 08:23:36 UTC 2017 Added Files: src/sys/modules/if_l2tp: Makefile l2tp.ioconf src/sys/net: if_l2tp.c if_l2tp.h src/sys/netinet: in_l2tp.c in_l2tp.h src/sys/netinet6: in6_l2tp.c in6_l2tp.h Log M

CVS commit: src/sys/net

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 16 08:13:43 UTC 2017 Modified Files: src/sys/net: if.c Log Message: support interface name which includes digit. To generate a diff of this commit: cvs rdiff -u -r1.378 -r1.379 src/sys/net/if.c Please note that diffs

CVS commit: src

2017-02-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 16 08:12:44 UTC 2017 Modified Files: src/distrib/sets/lists/comp: mi src/distrib/sets/lists/modules: mi src/sys/conf: files src/sys/modules: Makefile src/sys/net: Makefile files.net if_bri

CVS commit: src/sys/dev/pci

2017-02-15 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 16 05:36:41 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: fix about IFF_OACTIVE. It is required manipulate IFF_OACTIVE for old ethernet controllers and ALTQ to use if_start. To avoid race, txq_lock of

CVS commit: src/sys/dev/pci

2017-02-12 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Feb 13 05:02:21 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.477 -r1.478 src/sys/dev/pci/if_wm.c Please note that diffs are not public domain

CVS commit: src/sys/dev/pci

2017-02-09 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 9 23:30:46 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: detach wm(4) evcnt. pointed out by msaitoh@n.o, thanks. To generate a diff of this commit: cvs rdiff -u -r1.476 -r1.477 src/sys/dev/pci/if_wm

CVS commit: src/sys/opencrypto

2017-02-08 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 9 06:03:29 UTC 2017 Modified Files: src/sys/opencrypto: crypto.c Log Message: make some locks and condvar static To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/opencrypto/crypto.c Please note

CVS commit: src/sys/dev/pci

2017-02-02 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Feb 2 10:29:10 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: remove WM_CORE_LOCK in deferred start routine. It is enough to check each txq's txq_stopping with mutex_enter(not mutex_tryenter). reviewed by

CVS commit: src/sys/dev/pci

2017-01-31 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Feb 1 04:18:43 UTC 2017 Modified Files: src/sys/dev/pci: if_wmreg.h Log Message: tabify To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/dev/pci/if_wmreg.h Please note that diffs are not public doma

CVS commit: src/sys/dev/pci

2017-01-31 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Feb 1 03:54:49 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: fix: wm(4) Rx descriptor is corrupted under high rate. don't write descriptor which is not set DD bit. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/pci

2017-01-30 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Jan 31 03:06:06 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: remove obsolete comment. wm(4) vlan have already tested on I354. To generate a diff of this commit: cvs rdiff -u -r1.471 -r1.472 src/sys/dev/p

CVS commit: src/sys/dev/pci

2017-01-30 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Jan 30 09:33:38 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: fix endianness of "rsshash"(currently, used for debug message only) and tabify. To generate a diff of this commit: cvs rdiff -u -r1.470 -r1.47

CVS commit: src/sys/dev/pci

2017-01-26 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Jan 27 05:04:47 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: add comment about txq->txq_lock contentions in wm_nq_transmit(). To generate a diff of this commit: cvs rdiff -u -r1.469 -r1.470 src/sys/dev/p

CVS commit: src/sys/dev/pci

2017-01-26 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Jan 26 10:14:52 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: fix memory leak at wm_detach. pointed out and reviewed by msaitoh@n.o. To generate a diff of this commit: cvs rdiff -u -r1.468 -r1.469 src/sy

CVS commit: src/sys/dev/pci

2017-01-15 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Jan 16 00:14:04 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: update todo comment To generate a diff of this commit: cvs rdiff -u -r1.466 -r1.467 src/sys/dev/pci/if_wm.c Please note that diffs are not pu

CVS commit: src/sys/dev/pci

2017-01-15 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Jan 16 00:09:07 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c if_wmreg.h Log Message: support {extended, advanced} receive descriptor for wm(4). support below two receive descriptors. - extended descriptor (used by

CVS commit: src/sys/dev/pci

2017-01-10 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Jan 10 08:22:43 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: sc->sc_core_stopping must be checked with holding sc_core_lock. pointed out by ozaki-r@n.o, thanks. To generate a diff of this commit: cvs rd

CVS commit: src/sys/netinet

2017-01-09 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Jan 10 07:39:52 UTC 2017 Modified Files: src/sys/netinet: ip_output.c Log Message: avoid double rtcache_unref(). reviewed by ozaki-r@n.o. To generate a diff of this commit: cvs rdiff -u -r1.265 -r1.266 src/sys/netinet/ip

CVS commit: src/sys

2017-01-05 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Jan 6 03:25:13 UTC 2017 Modified Files: src/sys/netinet: in_gif.c src/sys/netinet6: in6_gif.c Log Message: remove unnecessary conversion. gif_softc->gif_pdst is already valid sockaddr. To generate a diff of this

CVS commit: src/sys/dev/pci

2017-01-03 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Jan 4 04:43:08 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: fix typo. pointed out by msaitoh@n.o. To generate a diff of this commit: cvs rdiff -u -r1.460 -r1.461 src/sys/dev/pci/if_wm.c Please note tha

CVS commit: src/sys/netinet

2016-12-25 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Dec 26 00:30:08 UTC 2016 Modified Files: src/sys/netinet: in.c Log Message: pserialize_perform() is required an additionally serialization. see pserialize(9). ok by ozaki-r@n.o. To generate a diff of this commit: cvs rd

CVS commit: src/sys/netinet

2016-12-21 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Dec 22 04:54:54 UTC 2016 Modified Files: src/sys/netinet: ip_encap.c Log Message: pserialize_perform() is required *after* PSLIST_WRITER_REMOVE. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/netine

CVS commit: src/sys/net

2016-12-16 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Dec 16 08:47:36 UTC 2016 Modified Files: src/sys/net: if_pppoe.c Log Message: fix unlock and splx inversion. Currently, this doesn't cause problem because either one is used. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys

2016-12-14 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Dec 14 11:19:15 UTC 2016 Modified Files: src/sys/net: if_etherip.h if_gif.c if_gif.h src/sys/netinet: in_gif.c src/sys/netinet6: in6_gif.c Log Message: fix race of gif_softc->gif_ro when we send multiple flo

CVS commit: src/tests/net/if_pppoe

2016-12-13 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Dec 14 03:30:30 UTC 2016 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: add wait_for_disconnected to run_test() as well as run_test6(). Before commited MP-safe patch, IPv4 test can run in time without wait

CVS commit: src/sys/net

2016-12-12 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Dec 13 00:35:11 UTC 2016 Modified Files: src/sys/net: if_pppoe.c if_spppsubr.c if_spppvar.h Log Message: MP-safe pppoe(4). Nearly all parts is implemented by Shoichi YAMAGUCHI, thanks. To generate a diff of this commit:

CVS commit: src/tests/net/if_pppoe

2016-12-12 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Dec 12 09:56:59 UTC 2016 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: fix accidentally if_pppoe atf failure depends on cpu workload. advised by s-yamaguchi@IIJ, thanks. To generate a diff of this commi

CVS commit: src/sys/netinet6

2016-12-06 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Dec 6 08:58:16 UTC 2016 Modified Files: src/sys/netinet6: sctp6_usrreq.c Log Message: remove unnecessary extern declaration. inetsw has been declared since r1.1, however sctp6_usrreq.c can be built without the declaration

CVS commit: src/sys

2016-12-05 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Dec 6 07:01:47 UTC 2016 Modified Files: src/sys/net: if_spppsubr.c src/sys/netinet: in.c in_var.h Log Message: add API to manipulate ifa->ia_hash and ia_hash_pslist_entry, and fix ia_hash_pslist_entry race by usin

CVS commit: src/tests/net/if_pppoe

2016-12-01 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Dec 2 06:19:50 UTC 2016 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: fix typo. ping6 deadline option is not "-w" but "-X". To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/tests/net/if

CVS commit: src/tests/net/if_pppoe

2016-12-01 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Dec 2 05:28:27 UTC 2016 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: fix accidentally if_pppoe atf failure depends on cpu workload. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/tes

CVS commit: src/sys/dev/pci

2016-12-01 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Dec 2 01:48:44 UTC 2016 Modified Files: src/sys/dev/pci: if_wm.c Log Message: fix: ifp->if_obytes and ifp->if_omcasts are not counted up for packets which is sent later. pointed out by ozaki-r@n.o, thanks. To generate

CVS commit: src/sys/dev/pci

2016-11-30 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Dec 1 02:36:50 UTC 2016 Modified Files: src/sys/dev/pci: if_wm.c Log Message: support Tx multiqueue for 82574(aka e1000e for VMware and QEMU). To generate a diff of this commit: cvs rdiff -u -r1.453 -r1.454 src/sys/dev/p

CVS commit: src/sys/net

2016-11-30 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Dec 1 02:30:54 UTC 2016 Modified Files: src/sys/net: if_spppsubr.c if_spppvar.h Log Message: fix two races between set_ip_addrs and clear_ip_addrs race. (1) if set_ip_addrs and clear_ip_addrs run parallel, they can pa

CVS commit: src/sys/net

2016-11-30 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Dec 1 02:15:20 UTC 2016 Modified Files: src/sys/net: if_spppsubr.c Log Message: fix CID 1396600: Null pointer dereferences To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/net/if_spppsubr.c Please

CVS commit: src/sys/dev/pci/ixgbe

2016-11-27 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Nov 28 06:09:19 UTC 2016 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: fix build of ixv enabled NO_PCI_MSI_MSIX option. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/ixgbe/ixv.c

CVS commit: src/sys/arch/x86/pci

2016-11-27 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Nov 28 05:00:41 UTC 2016 Modified Files: src/sys/arch/x86/pci: pci_intr_machdep.c pci_msi_machdep.c Log Message: fix build of amd64/i386 with NO_PCI_MSI_MSIX option. To generate a diff of this commit: cvs rdiff -u -r1.38

CVS commit: src/sys/dev/pci

2016-11-25 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Nov 25 12:14:49 UTC 2016 Modified Files: src/sys/dev/pci: nvme_pci.c Log Message: "#ifdef __HAVE_PCI_MSI_MSIX" workaround is not required any more. see sys/dev/pci/pci_stub.c r1.6 To generate a diff of this commit: cvs r

CVS commit: src/sys/dev/pci

2016-11-25 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Nov 25 12:10:59 UTC 2016 Modified Files: src/sys/dev/pci: pci_stub.c pcivar.h Log Message: provide all PCI MSI/MSI-X manipulation stub functions. "#ifdef __HAVE_PCI_MSI_MSIX" workaround such as nvme_pci(4) is not required

CVS commit: src/sys/net

2016-11-24 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Nov 25 05:03:12 UTC 2016 Modified Files: src/sys/net: if_spppsubr.c if_spppvar.h Log Message: make workqueue sppp_{set,clear}_ip_addrs to be able to call pserialize_perform. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/net

2016-11-24 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Nov 25 05:00:29 UTC 2016 Modified Files: src/sys/net: if_spppsubr.c Log Message: refactor sppp_{set,clear}_ip_addrs(). reduce iterating if_addr_pslist. To generate a diff of this commit: cvs rdiff -u -r1.157 -r1.158 src/s

CVS commit: src/sys

2016-11-18 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Nov 18 10:38:55 UTC 2016 Modified Files: src/sys/net: if_spppsubr.c src/sys/netinet: in.c in_var.h Log Message: We must use PSLIST_ENTRY_DESTROY after PSLIST_WRITER_REMOVE and waiting all readers done. And then, i

CVS commit: src/sys/net

2016-11-18 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Nov 18 08:13:02 UTC 2016 Modified Files: src/sys/net: if_pppoe.c Log Message: if_register() must be called after ifp->if_dl initialized. There may be similar problems. I will fix step by step... To generate a diff of thi

CVS commit: src/sys

2016-11-17 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Nov 18 06:50:04 UTC 2016 Modified Files: src/sys/netinet: tcp_usrreq.c udp_usrreq.c src/sys/netinet6: dccp6_usrreq.c in6.c mld6.c raw_ip6.c sctp6_usrreq.c udp6_usrreq.c Log Message: fix: "ifconfig destor

CVS commit: src/sys/arch/x86/x86

2016-11-15 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Nov 16 07:13:01 UTC 2016 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: avoid a failure of interrupt affinity when the interrupt is pending. pointed out and reviewed by ozaki-r@n.o, thanks. To generate a diff

CVS commit: src/tests/net/if_pppoe

2016-11-10 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Nov 10 10:32:59 UTC 2016 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: fix: extend waittime to avoid unintended fail at high cpu load. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/te

CVS commit: src/sys/dev/pci

2016-10-30 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Oct 31 02:44:54 UTC 2016 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix locking against myself at wm_turn{on,off} when NET_MPSAFE is defined. Pointed out by ozaki-r@n.o, thanks. To generate a diff of this comm

CVS commit: src/sys/dev/pci

2016-10-27 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Oct 28 05:29:11 UTC 2016 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix wm(4) input drop packet counter. WMREG_RNBC is incremented when there is no available buffers in host memory. However, ethernet controller

CVS commit: src/sys/dev/pci

2016-10-27 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Oct 28 04:14:13 UTC 2016 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix sc_stopping race. To scale, separate sc_stopping flag to wm_softc and each tx,rx queues. Pointed out by skrll@n.o, thanks. ok by msaitoh@

CVS commit: src/tests/net/if_pppoe

2016-10-27 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Oct 27 09:59:17 UTC 2016 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: fix rarely rump.ping6 failures by "UDP connect". and fix typo. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests

CVS commit: src/tests/net/if_pppoe

2016-10-25 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Oct 26 03:55:56 UTC 2016 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Fix error when wait_for_session_established() is called without argument. >From Shoichi YAMAGUCHI, Thanks. To generate a diff of th

CVS commit: src/tests/net/if_pppoe

2016-10-25 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Oct 26 03:27:24 UTC 2016 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Add new test cases(PAP and CHAP) for IPv6 PPPoE. >From Shoichi YAMAGUCHI, Thanks. To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/sys/net

2016-09-14 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Sep 15 06:59:32 UTC 2016 Modified Files: src/sys/net: if_gif.c Log Message: kmem_alloc(size, KM_SLEEP) return value NULL check is not required any more. kmem_alloc(size, KM_SLEEP) is already fixed, that is, it never return

CVS commit: src/tests/net/if_pppoe

2016-09-13 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Sep 14 01:48:08 UTC 2016 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Disable rechallenge for chap test case. NetBSD's PPPoE client doesn't support chap rechallenge yet. >From Shoichi YAMAGUCHI, Thanks.

CVS commit: src/sys/net

2016-08-31 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Sep 1 06:50:09 UTC 2016 Modified Files: src/sys/net: if_gif.c Log Message: gif(4)'s if_output() is already MP-safe. It should enable IFEF_OUTPUT_MPSAFE. To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122 src

CVS commit: src/share/man/man9

2016-08-28 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Aug 29 02:48:56 UTC 2016 Modified Files: src/share/man/man9: pci_msi.9 Log Message: specify when pci_intr_release(9) is called as "pih" is NULL. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/share/man/

CVS commit: src/sys/arch/x86/pci

2016-08-25 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Aug 25 11:06:50 UTC 2016 Modified Files: src/sys/arch/x86/pci: pci_machdep.c Log Message: fix line break position in verbose message. pointed out by nonaka@n.o, thanks. To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/sys/netinet6

2016-08-23 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Aug 23 09:59:20 UTC 2016 Modified Files: src/sys/netinet6: ip6_flow.c ip6_var.h Log Message: improve fast-forward performance when the number of flows exceeds ip6_maxflows. This is porting of ip_flow.c:r1.76 In ip6flow ca

CVS commit: src/sys/net

2016-08-18 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Aug 18 11:44:22 UTC 2016 Modified Files: src/sys/net: if_gif.c Log Message: fix: failed to create sysctl entries for module version gif(4). The sysctl entries are below 2 entries. - net.inet.ip.gifttl - net.inet6.i

CVS commit: src/sys/modules/if_gif

2016-08-18 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Aug 18 11:41:58 UTC 2016 Modified Files: src/sys/modules/if_gif: Makefile Log Message: add required files to if_gif module. (unify to rump) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/modules/if_gi

CVS commit: src/sys/net

2016-08-18 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Aug 18 11:38:58 UTC 2016 Modified Files: src/sys/net: if_stf.c if_stf.h Log Message: eliminate stf(4)'s dependency on gif(4). stf(4) depends on not gif(4) but ip_encap. To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/sys/netinet

2016-08-18 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Aug 18 11:34:09 UTC 2016 Modified Files: src/sys/netinet: in_gif.c Log Message: remove unnecessary dependency on gif.h to become friendly with module and rump. When in_gif.c become compile target, NGIF is always more than

CVS commit: src/sys/net

2016-08-09 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Aug 10 05:56:30 UTC 2016 Modified Files: src/sys/net: files.net Log Message: follow renaming ifmpls to mpls. This fixes i386 ALL build. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/net/files.net

CVS commit: src/sys/dev/pci

2016-08-09 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Aug 10 04:52:40 UTC 2016 Modified Files: src/sys/dev/pci: if_wm.c Log Message: restructure wm(4) evcnt to support multiqueue evcnt. ok by msaitou@n.o. To generate a diff of this commit: cvs rdiff -u -r1.416 -r1.417 src/s

CVS commit: src/usr.sbin/intrctl

2016-08-05 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Aug 5 06:58:55 UTC 2016 Modified Files: src/usr.sbin/intrctl: intrctl_io.c Log Message: fix CID 1364766: Resource leaks To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/intrctl/intrctl_io.c Pleas

CVS commit: src/usr.sbin/intrctl

2016-08-03 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Aug 3 08:34:21 UTC 2016 Modified Files: src/usr.sbin/intrctl: intrctl.c Log Message: intrctl(8): pretty printing intrctl list. e.g. == before == interrupt id CPU#00 CPU#01device name(

CVS commit: src/usr.sbin/intrctl

2016-08-03 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Aug 3 08:28:09 UTC 2016 Modified Files: src/usr.sbin/intrctl: intrctl_io.c Log Message: fix: incorrect sysctlbyname(3) error handling. pointed out by nonaka@n.o To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.

CVS commit: src/sys/sys

2016-08-03 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Aug 3 08:25:38 UTC 2016 Modified Files: src/sys/sys: intrio.h Log Message: intrid and dev_xname must be NUL terminated by kernel. pointed out by nonaka@n.o To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src

CVS commit: src/sys/netinet6

2016-08-01 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Aug 2 04:50:16 UTC 2016 Modified Files: src/sys/netinet6: files.netinet6 ip6_flow.c ip6_input.c Log Message: ip6flow refactor like ipflow. - move ip6flow sysctls into ip6_flow.c like ip_flow.c:r1.64 - build ip6_fl

CVS commit: src/sys/netinet

2016-08-01 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Aug 1 10:22:53 UTC 2016 Modified Files: src/sys/netinet: ip_flow.c ip_var.h Log Message: improve fast-forward performance when the number of flows exceeds IPFLOW_MAX. In the fast-forward case, when the number of flows exc

CVS commit: src/sys/netinet

2016-07-26 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Jul 27 04:23:42 UTC 2016 Modified Files: src/sys/netinet: ip_flow.c Log Message: remove extra ifdefs. no functional changes. ip_flow.c becomes build target only if GATEWAY kernel option is on. So, "#ifdef GATEWAY" in ip_fl

CVS commit: src/sys/netinet

2016-07-24 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Jul 25 00:10:38 UTC 2016 Modified Files: src/sys/netinet: tcp_timer.c Log Message: fix: unlock in reverse order To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/sys/netinet/tcp_timer.c Please note that d

<    1   2   3   4   5   6   >