Re: git: Sync ACPICA with Intel's version 20201113.

2020-11-16 Thread Sepherosa Ziehau
oh, the NVDIMM table :) On Sun, Nov 15, 2020 at 9:37 AM Sascha Wildner wrote: > > > commit 2b57e6df2e02e023cc8defd76c1809243c99e460 > Author: Sascha Wildner > Date: Sun Nov 15 02:36:51 2020 +0100 > > Sync ACPICA with Intel's version 20201113. > > * Fix a memory leak that could occur in

git: Test commit.

2020-11-21 Thread Sepherosa Ziehau
commit 0883c87373869dcbb8eaf9bdca3172301c1835f2 Author: Sepherosa Ziehau Date: Sat Nov 21 19:42:47 2020 +0800 Test commit. Summary of changes: test/test/README | 2 ++ 1 file changed, 2 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff

git: test/netperf: Fix "clobbered" warning.

2020-11-21 Thread Sepherosa Ziehau
commit 09b711b9eacad9a4c85bf16d1c4f8622f009d545 Author: Sepherosa Ziehau Date: Sat Nov 21 19:43:58 2020 +0800 test/netperf: Fix "clobbered" warning. Summary of changes: tools/tools/netrate/netperf/tcp_stream/tcp_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

git: jail: Constify the address to be checked.

2020-11-23 Thread Sepherosa Ziehau
commit 6ad50c19be6a8e07159585f81e980bf92269793e Author: Sepherosa Ziehau Date: Mon Nov 23 23:02:13 2020 +0800 jail: Constify the address to be checked. Summary of changes: sys/kern/kern_jail.c | 16 sys/sys/jail.h | 2 +- 2 files changed, 9 insertions(+), 9

git: inpcb: Factor out function to obtain lport hash token.

2020-11-23 Thread Sepherosa Ziehau
commit 054104d4eedbd2aa2674ab4c1add958e67a202c3 Author: Sepherosa Ziehau Date: Mon Nov 23 23:36:52 2020 +0800 inpcb: Factor out function to obtain lport hash token. Summary of changes: sys/netinet/in_pcb.c | 49 +++-- 1 file changed, 23

git: tools/udpecho: Add command line option to prevent REUSEPORT.

2020-11-24 Thread Sepherosa Ziehau
commit 402988b03e09b1a4ef4b0785ce8bb7537df81276 Author: Sepherosa Ziehau Date: Tue Nov 24 22:49:09 2020 +0800 tools/udpecho: Add command line option to prevent REUSEPORT. Summary of changes: tools/tools/netrate/udpecho/udpecho.c | 19 +-- 1 file changed, 13 insertions

git: inet: Refactor in_pcbbind() for IP_SENDSRCADDR support.

2020-11-24 Thread Sepherosa Ziehau
commit d21f76c5783754080abe7369ba0a245ac4b9f85a Author: Sepherosa Ziehau Date: Tue Nov 24 22:50:27 2020 +0800 inet: Refactor in_pcbbind() for IP_SENDSRCADDR support. The newly factored out function will be used to validate address passed through IP_SENDSRCADDR cmsg. Summary

git: udp: Port FreeBSD's IPPROTO_IP/IP_SENDSRCADDR.

2020-11-26 Thread Sepherosa Ziehau
commit 14886acaff63ab197e5b032b5d10b027fc881d5f Author: Sepherosa Ziehau Date: Thu Nov 26 11:22:10 2020 +0800 udp: Port FreeBSD's IPPROTO_IP/IP_SENDSRCADDR. Minor difference: - Multicast src is not allowed. - Always allow src, if it is same as inp_laddr and i

git: re: Sync with Realtek's re-196.04; and fix re_start/re_tx_collect.

2020-11-30 Thread Sepherosa Ziehau
commit 80492964331d3ad781e1ff17fe61faef902df333 Author: Sepherosa Ziehau Date: Wed Nov 4 20:35:53 2020 +0800 re: Sync with Realtek's re-196.04; and fix re_start/re_tx_collect. - Add several new chips' support, noticably RTL8125 support. - Reorder chip related ini

git: bce: Use IF_Mbps to avoid float number in kernel.

2020-11-30 Thread Sepherosa Ziehau
commit a71b020ad21189e69950cdbd4bef40835dd746e1 Author: Sepherosa Ziehau Date: Mon Nov 30 22:36:31 2020 +0800 bce: Use IF_Mbps to avoid float number in kernel. Reported-by: zrj Summary of changes: sys/dev/netif/bce/if_bce.c | 4 ++-- 1 file changed, 2 insertions(+), 2

git: ifmedia: Port SIOCGIFXMEDIA from FreeBSD

2020-12-02 Thread Sepherosa Ziehau
commit 1e1c5facd07f55b72addc63c0859729afdf87a90 Author: Sepherosa Ziehau Date: Wed Dec 2 20:58:04 2020 +0800 ifmedia: Port SIOCGIFXMEDIA from FreeBSD - Max # of media type is 255 on DragonFly; additional bit was used. - Description of the media is changed to ###baseXX

git: inet: Port IPPROTO/IP_RECVTOS from FreeBSD.

2020-12-04 Thread Sepherosa Ziehau
commit 544d23f43f4a40b396d411d5ba2fbe3da17a10d2 Author: Sepherosa Ziehau Date: Fri Dec 4 19:57:34 2020 +0800 inet: Port IPPROTO/IP_RECVTOS from FreeBSD. Bump kernel version. Requested-by: zrj Summary of changes: sys/netinet/in.h | 2 + sys/netinet

Re: git: vkernel/vke: Add missing semicolon.

2020-12-04 Thread Sepherosa Ziehau
Oh, my fault. Thank you On Fri, Dec 4, 2020 at 7:49 PM Sascha Wildner wrote: > > > commit 57e25d68c95bc78c7a149a92c25d0791612df46a > Author: Sascha Wildner > Date: Fri Dec 4 12:49:03 2020 +0100 > > vkernel/vke: Add missing semicolon. > > Summary of changes: > sys/dev/virtual/vkernel/net/

git: udp: Port IPPROTO_IP/IP_TOS cmsg support from FreeBSD.

2020-12-04 Thread Sepherosa Ziehau
commit a45b89791953e820c4b27fafe78163c88a3f5d53 Author: Sepherosa Ziehau Date: Fri Dec 4 20:43:15 2020 +0800 udp: Port IPPROTO_IP/IP_TOS cmsg support from FreeBSD. Summary of changes: sys/netinet/udp_usrreq.c | 6 ++--- test/udp/tos/udp_tos.c | 62

git: kern: Bump kernel version for IPPROTO_IP/IP_SENDSRCADDR,IP_TOS.

2020-12-04 Thread Sepherosa Ziehau
commit 6ed8d422d165d3fd8a7f7e2b42036f92962f28ff Author: Sepherosa Ziehau Date: Fri Dec 4 20:45:25 2020 +0800 kern: Bump kernel version for IPPROTO_IP/IP_SENDSRCADDR,IP_TOS. Summary of changes: sys/sys/param.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) http

git: ip: Allow ip_mreqn support for IP_MULTICAST_IF, IP_{ADD, DROP}_MEMBERSHIP

2020-12-08 Thread Sepherosa Ziehau
commit 1926f5871d8d40d0c202c5029b76a54a8e99de5b Author: Sepherosa Ziehau Date: Mon Dec 7 23:16:53 2020 +0800 ip: Allow ip_mreqn support for IP_MULTICAST_IF,IP_{ADD,DROP}_MEMBERSHIP - ip_mreqn.imr_ifindex takes precendence over ip_mreqn.imr_address, if it's not 0.

git: x86_64/atomic: Fix comment of testand{clear,set}_long comment.

2021-03-01 Thread Sepherosa Ziehau
commit e9e066c1dcd8aa46968ceb6abff1d4045ca35447 Author: Sepherosa Ziehau Date: Mon Mar 1 21:19:17 2021 +0800 x86_64/atomic: Fix comment of testand{clear,set}_long comment. Summary of changes: sys/cpu/x86_64/include/atomic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

git: ethernet: Add AF_ARP support.

2021-03-09 Thread Sepherosa Ziehau
commit 91d9f4486e4467d6d72687e743b4788aceb29789 Author: Sepherosa Ziehau Date: Tue Mar 9 22:38:44 2021 +0800 ethernet: Add AF_ARP support. Bump __DragonFly_version. Submitted-by: dillon@ (minor changes from me) Obtained-from: NetBSD Summary of changes: sys/net

git: tcp: Remove debug prints.

2021-03-17 Thread Sepherosa Ziehau
commit f8a6bfd320995a021bc39aae7454f98dc4fa70ca Author: Sepherosa Ziehau Date: Wed Mar 17 22:58:01 2021 +0800 tcp: Remove debug prints. Reported-by: peeterm Summary of changes: sys/netinet/tcp_usrreq.c | 1 - 1 file changed, 1 deletion(-) http://gitweb.dragonflybsd.org

git: bnx: Fix comment.

2021-03-17 Thread Sepherosa Ziehau
commit edf330091cc70474f8cee7ac30f0a5db55735b9b Author: Sepherosa Ziehau Date: Tue Mar 9 21:17:30 2021 +0800 bnx: Fix comment. Summary of changes: sys/dev/netif/bnx/if_bnx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git

git: bnx: Fix potential hardware uninitialized TX DMA length registers.

2021-03-18 Thread Sepherosa Ziehau
commit 2eaa7169b800150eff65706a41f3cb005b2bf0c6 Author: Sepherosa Ziehau Date: Thu Mar 18 23:05:27 2021 +0800 bnx: Fix potential hardware uninitialized TX DMA length registers. It can only happen on 5719 and 5720. Obtained-from: tg3

git: bnx: Prevent UDP fragments be routed to APE on 5762.

2021-03-19 Thread Sepherosa Ziehau
commit 5850b34b45a05c29a30b33055b8b567ed53322f3 Author: Sepherosa Ziehau Date: Fri Mar 19 22:22:07 2021 +0800 bnx: Prevent UDP fragments be routed to APE on 5762. Obtained-from: tg3 378b72c873b4828cde5b4bc85c7029d98f8f1df4 Summary of changes: sys/dev/netif/bge/if_bgereg.h

git: bnx: Support 57764, 57767 and 57787

2021-03-19 Thread Sepherosa Ziehau
commit c1ed6db1a20e22cfc3b720dcfc13b1388ef51513 Author: Sepherosa Ziehau Date: Fri Mar 19 22:48:09 2021 +0800 bnx: Support 57764, 57767 and 57787 Obtained-from: tg3 68273712a19e9107a498a371532b3b3eb6dbb14c Summary of changes: sys/bus/pci/pcidevs| 3 +++ sys/dev

git: bnx: Change clock speed to fix several types of hangs

2021-03-22 Thread Sepherosa Ziehau
commit 7acfcee270a7d37a12ca15e37a34554a10212413 Author: Sepherosa Ziehau Date: Mon Mar 22 23:10:52 2021 +0800 bnx: Change clock speed to fix several types of hangs - During reset, increase the clock speed temporarily to fix hang on 5717/5719/5720. - On 5762, always

git: em/emx: Merge Intel em-7.7.8.

2021-03-29 Thread Sepherosa Ziehau
commit 01a55482b42bba8de64caeb8c9ede647a9208734 Author: Sepherosa Ziehau Date: Tue Mar 23 22:48:52 2021 +0800 em/emx: Merge Intel em-7.7.8. Mainly fix setting for I219-LM12 and I219-V12. Summary of changes: sys/dev/netif/em/if_em.c | 28 +- sys/dev

git: em/emx: Add support for I219 LM15~19 and I219 V15~19

2021-03-29 Thread Sepherosa Ziehau
commit dd2edc49046d82aa1a877a289f4199eb5248b182 Author: Sepherosa Ziehau Date: Mon Mar 29 23:12:25 2021 +0800 em/emx: Add support for I219 LM15~19 and I219 V15~19 Obtained-from: e1000e Summary of changes: sys/dev/netif/em/if_em.c | 10 ++ sys/dev/netif/emx

git: x86_64/timer: Xtimer is generic enough for per-cpu timer.

2016-06-12 Thread Sepherosa Ziehau
commit b8a64c8808be7549b4ca378a54dd8dae9a3d6032 Author: Sepherosa Ziehau Date: Mon Jun 13 07:53:38 2016 +0800 x86_64/timer: Xtimer is generic enough for per-cpu timer. Summary of changes: sys/kern/kern_systimer.c | 27 ++ sys/platform/pc64/apic/apic_vector.s

git: kern: Update virtual machine detection a bit

2016-06-12 Thread Sepherosa Ziehau
commit d26086c257bf3a898c0bfa169e64bfa7b6e7e3b5 Author: Sepherosa Ziehau Date: Sun Jun 12 21:22:07 2016 +0800 kern: Update virtual machine detection a bit Obtained-from: FreeBSD (partial) Summary of changes: sys/kern/subr_param.c | 8 ++-- sys/platform/pc64

git: hyperv: Initial import. It only contains non-intr cputimer.

2016-06-12 Thread Sepherosa Ziehau
commit 45de427dfd4e754c9dbd161d9e5638d5a97962bf Author: Sepherosa Ziehau Date: Mon Jun 13 10:22:13 2016 +0800 hyperv: Initial import. It only contains non-intr cputimer. Obtained-from: FreeBSD Summary of changes: sys/dev/virtual/Makefile | 2 +- sys/dev

git: tsc: Log the final TSC frequency

2016-06-12 Thread Sepherosa Ziehau
commit 632f4575df0290ecb9849d9dc7adb8bb1fa013e4 Author: Sepherosa Ziehau Date: Mon Jun 13 01:29:07 2016 +0800 tsc: Log the final TSC frequency Summary of changes: sys/platform/pc64/isa/clock.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) http

git: cputimer: Add per-cpu handler and private data for interrupt cputimer.

2016-06-15 Thread Sepherosa Ziehau
commit 42098fc3d098a14b8a0137565e72f24aef743c67 Author: Sepherosa Ziehau Date: Tue Jun 14 17:00:01 2016 +0800 cputimer: Add per-cpu handler and private data for interrupt cputimer. Summary of changes: sys/kern/kern_cputimer.c | 38 ++ sys

git: acpica: Interrupt resource lookup failure is fine. Add comment about it.

2016-06-15 Thread Sepherosa Ziehau
commit 1b726affc868c4da5ba5b22c57716bc6002e Author: Sepherosa Ziehau Date: Wed Jun 15 19:19:47 2016 +0800 acpica: Interrupt resource lookup failure is fine. Add comment about it. Summary of changes: sys/dev/acpica/acpi.c | 12 1 file changed, 8 insertions(+), 4

git: hyperv/vmbus: Complete vmbus initialization; interrupt cputimer is enabled

2016-06-15 Thread Sepherosa Ziehau
commit e3c41896e9aa173644cc1e67e218562bae1ea69f Author: Sepherosa Ziehau Date: Mon Jun 13 09:58:01 2016 +0800 hyperv/vmbus: Complete vmbus initialization; interrupt cputimer is enabled Most of the bits are obtained from FreeBSD. However, The interrupt bits are reworked

git: mptable: Reduce log verbosity

2016-06-15 Thread Sepherosa Ziehau
commit 556da547f03952405e44f07baaf53bc8dc7660aa Author: Sepherosa Ziehau Date: Wed Jun 15 19:06:09 2016 +0800 mptable: Reduce log verbosity Summary of changes: sys/platform/pc64/x86_64/mptable.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) http

git: hyperv/vmbus: Factor out vmbus_msg_reset()

2016-06-15 Thread Sepherosa Ziehau
commit 1f260e2c481179c0f3ee4968df9c254d8e4e3336 Author: Sepherosa Ziehau Date: Thu Jun 16 14:16:04 2016 +0800 hyperv/vmbus: Factor out vmbus_msg_reset() Summary of changes: sys/dev/virtual/hyperv/vmbus/vmbus.c | 58 ++-- 1 file changed, 22 insertions

git: hyperv/vmbus: Make sure that interrupt cputimer can be enabled.

2016-06-15 Thread Sepherosa Ziehau
commit 05ec79dd869d1b19a6062b28db060658079c6e0f Author: Sepherosa Ziehau Date: Thu Jun 16 13:49:10 2016 +0800 hyperv/vmbus: Make sure that interrupt cputimer can be enabled. Obtained-from: FreeBSD Summary of changes: sys/dev/virtual/hyperv/vmbus/vmbus.c | 32

git: intr: Avoid implicit padding

2016-06-20 Thread Sepherosa Ziehau
commit 1169d35dbbc64157ee46008c44cb41f31765f5c9 Author: Sepherosa Ziehau Date: Mon Jun 20 22:23:10 2016 +0800 intr: Avoid implicit padding Summary of changes: sys/kern/kern_intr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git

git: intr: Force unshareble interrupt setting

2016-06-22 Thread Sepherosa Ziehau
commit 7bdce293686e3211ac40eb6bae121cb42c8b691f Author: Sepherosa Ziehau Date: Wed Jun 22 22:40:32 2016 +0800 intr: Force unshareble interrupt setting Summary of changes: sys/kern/kern_intr.c | 36 +++- 1 file changed, 27 insertions(+), 9 deletions

git: intr: Allow drivers to register high frequency interrupt.

2016-06-23 Thread Sepherosa Ziehau
commit 6ad8474011b5070c38bcd91c3e613404c7ccc21b Author: Sepherosa Ziehau Date: Fri Jun 24 10:53:49 2016 +0800 intr: Allow drivers to register high frequency interrupt. Only unshared interrupts will be considered, e.g. MSI, MSI-X or unshared line interrupt. Summary of changes

git: nvme: Use high frequency interrupt for CQ processing

2016-06-23 Thread Sepherosa Ziehau
commit 92a276ebb7856f0732860dbbcf702eae4ff76cc7 Author: Sepherosa Ziehau Date: Fri Jun 24 11:13:16 2016 +0800 nvme: Use high frequency interrupt for CQ processing Suggested-by: dillon@ Reviewed-by: dillon@ Summary of changes: sys/dev/disk/nvme/nvme.c | 2 +- sys/dev

git: ifnet: Add oqdrops statistics

2016-06-27 Thread Sepherosa Ziehau
commit 6de344baaa1923ba65e83c698fc34ae686de07dc Author: Sepherosa Ziehau Date: Mon Jun 27 22:21:57 2016 +0800 ifnet: Add oqdrops statistics Summary of changes: sys/net/if.c | 2 ++ sys/net/if.h | 2 +- sys/net

git: cat: Align output from cat(1) between when invoked with -be & -ne flags

2016-07-05 Thread Sepherosa Ziehau
commit 3c82a9682464600f5eb8f2372c0d1961ab2beb09 Author: Sepherosa Ziehau Date: Tue Jul 5 22:59:17 2016 +0800 cat: Align output from cat(1) between when invoked with -be & -ne flags Obtained-from: NetBSD Submitted-by: DragonFly-bug: https://bugs.dragonflybsd.org/is

git: virtio: Fix MSI support; thus unbreak booting on bhyve

2016-07-06 Thread Sepherosa Ziehau
commit f41543e16b49e0294028d1f4bb5a5667694536f1 Author: Sepherosa Ziehau Date: Wed Jul 6 16:17:21 2016 +0800 virtio: Fix MSI support; thus unbreak booting on bhyve I'd like to thank Peter Grehan very much for providing various information on bhyve side and helping te

git: hyperv/vmbus: Passthrough interrupt resource allocation to nexus

2016-07-29 Thread Sepherosa Ziehau
commit ae7ab5b6832721f951219db169814eb54c78936f Author: Sepherosa Ziehau Date: Fri Jul 29 16:56:10 2016 +0800 hyperv/vmbus: Passthrough interrupt resource allocation to nexus This greatly simplies interrupt allocation. And reenable the interrupt resource not found warning in

git: acpi: Save I/O ports for I/O ports range, as long as its reasonable.

2016-08-24 Thread Sepherosa Ziehau
commit 9ed6fcdb4ff9d712f0d38b633836f42a4bd7491f Author: Sepherosa Ziehau Date: Wed Aug 24 19:36:33 2016 +0800 acpi: Save I/O ports for I/O ports range, as long as its reasonable. Reported-by: karu.pruun Summary of changes: sys/dev/acpica/acpi_resource.c | 16

git: uipc: Make sure that listen is completed.

2016-09-07 Thread Sepherosa Ziehau
commit 2cf1a297cb6083aa2471e54ea787f1d9393186b2 Author: Sepherosa Ziehau Date: Wed Sep 7 18:54:24 2016 +0800 uipc: Make sure that listen is completed. For unix socket, only HAVEPCCACHED really means the listen has been completed. Reported-by: dillon@ Summary of

git: corepower: Fix identify method for multi-cpu-package systems

2016-09-08 Thread Sepherosa Ziehau
commit 6191bf2c56d1e25391d342b0b9110f86a868ee00 Author: Sepherosa Ziehau Date: Thu Sep 8 21:15:06 2016 +0800 corepower: Fix identify method for multi-cpu-package systems CHIP_LEVEL means physical cpu package, while PACKAGE_LEVEL means the whole box; admittedly it is kinda

git: x86_64: Work around AMD erratum 793 for family 16h, models 00h-0Fh

2016-10-18 Thread Sepherosa Ziehau
commit 1a2e394ab2266c612ee3b86cdc1127b619a03834 Author: Sepherosa Ziehau Date: Fri Sep 9 08:55:48 2016 +0800 x86_64: Work around AMD erratum 793 for family 16h, models 00h-0Fh Obtained-from: FreeBSD r305539 Summary of changes: sys/platform/pc64/x86_64/initcpu.c | 16

git: route: addroute may change rt->rt_ifa; keep the local copy in sync.

2016-10-18 Thread Sepherosa Ziehau
commit 98477b7803b13a4da8b29f98251c593732cebb51 Author: Sepherosa Ziehau Date: Tue Oct 18 21:23:12 2016 +0800 route: addroute may change rt->rt_ifa; keep the local copy in sync. Reported-by: pecan Summary of changes: sys/net/route.c | 2 ++ 1 file changed, 2 insertions(+) h

git: carp: Add net.inet.carp.setroute to disable routes changes.

2016-10-27 Thread Sepherosa Ziehau
commit a79ef4f66e5400fec0a10c72a0695bc554613fe2 Author: Sepherosa Ziehau Date: Thu Oct 27 21:57:52 2016 +0800 carp: Add net.inet.carp.setroute to disable routes changes. It can be useful as described in the related DragonFly-bug. DragonFly-bug: http

git: acpi/cst: Keep parsing rest of the GAS, even if the mwait hint is wrong.

2016-10-31 Thread Sepherosa Ziehau
commit ca7dfd3ce88d0f1a8fbd960aec1d123de1cfb442 Author: Sepherosa Ziehau Date: Mon Oct 31 20:47:00 2016 +0800 acpi/cst: Keep parsing rest of the GAS, even if the mwait hint is wrong. The rest part of GAS contains useful bus mastering information. Tested-by: dillon

git: test/udp: Add echo test for connected->disconnected socket.

2016-11-21 Thread Sepherosa Ziehau
commit 28da90031a9ee33841f0f312dbdba0b4d239b1a9 Author: Sepherosa Ziehau Date: Tue Nov 22 10:56:22 2016 +0800 test/udp: Add echo test for connected->disconnected socket. Summary of changes: test/{mcast => udp/disconnsend}/Makefile| 2 +- .../udp_conn

git: udp: Don't propagate connect error, as long as the inpcb has local port.

2016-11-21 Thread Sepherosa Ziehau
commit 219503cf61ebf0aa6c01e49f6b073f0a40e0f1ec Author: Sepherosa Ziehau Date: Tue Nov 22 10:57:13 2016 +0800 udp: Don't propagate connect error, as long as the inpcb has local port. This fixes the UDP socket disconnect->[read/write] support; before this fix, the i

git: re: Leverage Realtek driver's chip/PHY initialization/reset.

2016-11-23 Thread Sepherosa Ziehau
commit e5a5a436e60ab4219abf38434ce1022d4f7c2ad7 Author: Sepherosa Ziehau Date: Thu Nov 3 14:16:26 2016 +0800 re: Leverage Realtek driver's chip/PHY initialization/reset. It is mainly used to solve all kinds of weirdness, e.g. hanging after watchdog timeout, and PHY

git: mbuf: Factor function to set mbuf hash.

2016-12-17 Thread Sepherosa Ziehau
commit 7558541b27259acf3fd66a66245f3de5efdaff31 Author: Sepherosa Ziehau Date: Sat Dec 17 21:20:58 2016 +0800 mbuf: Factor function to set mbuf hash. Summary of changes: sys/dev/netif/bce/if_bce.c | 5 ++--- sys/dev/netif/bnx/if_bnx.c | 7 ++- sys/dev/netif/emx/if_emx.c

git: ip: Move multicast addresses detection into common place.

2016-12-19 Thread Sepherosa Ziehau
commit e2bf2ed21a56d07ace3972579cb7e820259fa6ff Author: Sepherosa Ziehau Date: Mon Dec 19 21:32:41 2016 +0800 ip: Move multicast addresses detection into common place. Summary of changes: sys/netinet/ip_demux.c | 21 - 1 file changed, 8 insertions(+), 13 deletions

git: ip: Add parenthesis properly.

2016-12-19 Thread Sepherosa Ziehau
commit db8eaa57a76a9a73d6ce183c6df00d672d72e1e9 Author: Sepherosa Ziehau Date: Mon Dec 19 23:49:56 2016 +0800 ip: Add parenthesis properly. Summary of changes: sys/netinet/ip_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git

git: hyperv: Move commonly shared header files to the module's top dir.

2016-12-19 Thread Sepherosa Ziehau
commit cb60f91bbe0afc71358ee6cc1010a27db58c6e9a Author: Sepherosa Ziehau Date: Tue Dec 20 10:56:08 2016 +0800 hyperv: Move commonly shared header files to the module's top dir. Summary of changes: sys/dev/virtual/hyperv/{include => }/hyperv_busdma.h | 0 sys/dev/virtual/hype

git: cputimer: Add more IDs for VMM cputimers.

2016-12-19 Thread Sepherosa Ziehau
commit 52df6187d26b419717a38b500ffd47e5daff73d0 Author: Sepherosa Ziehau Date: Tue Dec 20 10:49:44 2016 +0800 cputimer: Add more IDs for VMM cputimers. Summary of changes: sys/sys/systimer.h | 3 +++ 1 file changed, 3 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git

git: hyperv: Implement Hyper-V reference TSC cputimer.

2016-12-19 Thread Sepherosa Ziehau
commit c6b7218831be34afc3c711f3808a2c28e537112d Author: Sepherosa Ziehau Date: Tue Dec 20 10:50:15 2016 +0800 hyperv: Implement Hyper-V reference TSC cputimer. This one is at least 2 times faster than its rdmsr counterpart. Obtained-from: FreeBSD Summary of changes

git: hyperv: Add API to read raw value of Hyper-V timer.

2016-12-19 Thread Sepherosa Ziehau
commit a4413ab2ffdb938e51b640e3d1fe41228304b18a Author: Sepherosa Ziehau Date: Tue Dec 20 11:09:30 2016 +0800 hyperv: Add API to read raw value of Hyper-V timer. Accelerate Hyper-V event timer reloading. Summary of changes: sys/dev/virtual/hyperv/vmbus/hyperv.c

git: ip: Set mbuf hash for output IP packets.

2016-12-21 Thread Sepherosa Ziehau
commit 76a9ffcad156592e905b992edaa9339d2941cf43 Author: Sepherosa Ziehau Date: Wed Dec 21 22:08:19 2016 +0800 ip: Set mbuf hash for output IP packets. This paves the way to implement Flow-Queue-Codel. Summary of changes: sys/netinet/in_pcb.h | 7 --- sys/netinet

git: tcp: Nuke the sysctl to disable local port extension.

2016-12-25 Thread Sepherosa Ziehau
commit c940bbfea5574aea63c49a7d50071b9aa1c2f151 Author: Sepherosa Ziehau Date: Sun Dec 25 17:20:47 2016 +0800 tcp: Nuke the sysctl to disable local port extension. Summary of changes: sys/netinet/tcp_usrreq.c | 31 ++- 1 file changed, 10 insertions(+), 21

git: tcp: Save faddr/fport before lport selection.

2016-12-25 Thread Sepherosa Ziehau
commit 87a342e7f66d7eab1e4501286eb15b777f3fad33 Author: Sepherosa Ziehau Date: Sun Dec 25 19:19:49 2016 +0800 tcp: Save faddr/fport before lport selection. So that the inpcb installed onto the lport hash can have correct 4-tuple. Reminded by the "Problem #2" in the

git: loopback: Allow turning off RSS.

2016-12-25 Thread Sepherosa Ziehau
commit 8d4ec101ad78cad8a2df177015914fc3a3febc70 Author: Sepherosa Ziehau Date: Sun Dec 25 20:55:57 2016 +0800 loopback: Allow turning off RSS. Summary of changes: sys/net/if_loop.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) http://gitweb.dragonflybsd.org

git: syncache: Simplify port calculation by reusing ACK's hash for IPv4.

2016-12-25 Thread Sepherosa Ziehau
commit 7f20f9e1ceac65d7fdd49da05d6f1ae7cb2823ee Author: Sepherosa Ziehau Date: Sun Dec 25 21:01:54 2016 +0800 syncache: Simplify port calculation by reusing ACK's hash for IPv4. Summary of changes: sys/netinet/tcp_syncache.c | 8 ++-- 1 file changed, 2 insertions(+), 6 dele

git: tcp: Fix connect to INADDR_ANY.

2016-12-28 Thread Sepherosa Ziehau
commit 9294ae32af2311846c80c5b15bcc907132778c75 Author: Sepherosa Ziehau Date: Wed Dec 28 21:02:26 2016 +0800 tcp: Fix connect to INADDR_ANY. Reported-by: mneumann DragonFly-bug: http://bugs.dragonflybsd.org/issues/2973 Summary of changes: sys/netinet/tcp_usrreq.c | 48

git: pci: Add a quirk for chips w/ broken MSI support.

2017-01-05 Thread Sepherosa Ziehau
commit 8f0f2b2cb412da8c4c144f2aa50b5216ffde7a26 Author: Sepherosa Ziehau Date: Thu Jan 5 21:15:06 2017 +0800 pci: Add a quirk for chips w/ broken MSI support. These chips (mainly chips supported by alc(4)) will not send MSI, if INTxDIS is set. Obtained-from: FreeBSD

git: alc: Sync w/ FreeBSD

2017-01-05 Thread Sepherosa Ziehau
commit 763755883092506157e141c2e983a8869c5203ff Author: Sepherosa Ziehau Date: Thu Jan 5 21:45:52 2017 +0800 alc: Sync w/ FreeBSD Mainly - Fix DMA selection for AR816x family chips. - Add Killer E2400 support. Obtained-from: FreeBSD 277907, 295735 (part), 304574

git: hyperv: Reorder the Hyper-V TSC initialization a bit.

2017-01-05 Thread Sepherosa Ziehau
commit 98dffbe0d47d06146981b227e06bb90e81519860 Author: Sepherosa Ziehau Date: Fri Jan 6 13:48:02 2017 +0800 hyperv: Reorder the Hyper-V TSC initialization a bit. This kinda simplifies the initialization logic. Summary of changes: .../virtual/hyperv/vmbus/x86_64

git: hyperv/vmbus: Fix interrupt timer detection logic.

2017-01-05 Thread Sepherosa Ziehau
commit 6bc7b4f28a67f600c4f0b2a8af19ff58e9951cc9 Author: Sepherosa Ziehau Date: Fri Jan 6 14:29:50 2017 +0800 hyperv/vmbus: Fix interrupt timer detection logic. Summary of changes: sys/dev/virtual/hyperv/vmbus/hyperv_var.h | 1 + sys/dev/virtual/hyperv/vmbus/vmbus.c | 10

git: alc: Add Killer E2500 support.

2017-01-05 Thread Sepherosa Ziehau
commit d2a0039676c3d65066e3e2c8b1912e011bfc9139 Author: Sepherosa Ziehau Date: Fri Jan 6 14:42:06 2017 +0800 alc: Add Killer E2500 support. Summary of changes: share/man/man4/alc.4 | 2 ++ sys/bus/pci/pci.c | 7 --- sys/dev/netif/alc/if_alc.c| 4 sys

git: if: Remove unnecessary critical sections.

2017-01-05 Thread Sepherosa Ziehau
commit 3166deda028b9b22ba83d9d919c6bc98c61fedac Author: Sepherosa Ziehau Date: Fri Jan 6 15:50:10 2017 +0800 if: Remove unnecessary critical sections. Summary of changes: sys/net/if.c | 4 1 file changed, 4 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff

git: if: Defer the if_up until the ifnet.if_ioctl is called.

2017-01-06 Thread Sepherosa Ziehau
commit e612af50c415c38440054d04bc317f5b02220ce0 Author: Sepherosa Ziehau Date: Fri Jan 6 15:59:25 2017 +0800 if: Defer the if_up until the ifnet.if_ioctl is called. This ensures the interface is initialized by the interface driver before it can be used by the rest of the

git: ifq: Switch to drop-head for default enqueue method.

2017-01-06 Thread Sepherosa Ziehau
commit 2739afc4cdfc4e0354e5f99f69b5f3b254c9a90d Author: Sepherosa Ziehau Date: Fri Jan 6 22:51:06 2017 +0800 ifq: Switch to drop-head for default enqueue method. This is consistent w/ upcoming CoDel support. Summary of changes: sys/net/if.c | 41

git: ifq: Factor out if_classq from altq_classq and use it for default ifq.

2017-01-07 Thread Sepherosa Ziehau
commit e7d68516df704885cd43eeb98295502dccf0c435 Author: Sepherosa Ziehau Date: Thu Dec 29 20:47:10 2016 +0800 ifq: Factor out if_classq from altq_classq and use it for default ifq. This reduces memory foot print for default ifq and could be used by the upcoming "flow&q

git: test/passdesc: Allow specifying the payload length.

2017-01-08 Thread Sepherosa Ziehau
commit de05ab5fb2b60315f8867441b393a3e11c54be17 Author: Sepherosa Ziehau Date: Mon Jan 9 13:03:57 2017 +0800 test/passdesc: Allow specifying the payload length. We don't suffer the following bug though. Inspired-by: FreeBSD https://bugs.freebsd.org/bugzilla/show_bu

git: usched: Add USCHED_SET_CPUMASK.

2017-01-09 Thread Sepherosa Ziehau
commit 91755bdd8e9f6b5596d279c4939c188d365bdd2b Author: Sepherosa Ziehau Date: Mon Jan 9 21:33:30 2017 +0800 usched: Add USCHED_SET_CPUMASK. Summary of changes: lib/libc/sys/usched_set.2 | 5 - sys/kern/kern_usched.c| 26 ++ sys/sys/usched.h

Re: git: sdhci - Use bus_dmamem_coherent for allocating memory for sdma DMA.

2017-01-09 Thread Sepherosa Ziehau
On Tue, Jan 10, 2017 at 12:48 AM, Imre Vadasz wrote: > > commit 22caf4860a8a73a2f218125a12765affef88d9c3 > Author: Imre Vadász > Date: Thu Jan 5 19:34:24 2017 +0100 > > sdhci - Use bus_dmamem_coherent for allocating memory for sdma DMA. > > * While there, rename various constants which

git: usched: Implement LWP lazy migration support.

2017-01-11 Thread Sepherosa Ziehau
commit 77df3a016c189a6620822ded30622ad88681de83 Author: Sepherosa Ziehau Date: Wed Jan 11 21:25:57 2017 +0800 usched: Implement LWP lazy migration support. Non-self migration can be achieved by just setting LWP's cpumask, which is almost costless. The migration will h

git: usched: Fix the returned CPU affinity make by smp_active_mask.

2017-01-11 Thread Sepherosa Ziehau
commit 2dbb21343ba6b597183be6b748e50151f1157682 Author: Sepherosa Ziehau Date: Thu Jan 12 00:09:51 2017 +0800 usched: Fix the returned CPU affinity make by smp_active_mask. Summary of changes: sys/kern/kern_usched.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) http

git: lwp: Add two syscalls to set/get lwp's CPU affinity mask.

2017-01-11 Thread Sepherosa Ziehau
commit 8f95cc347c3b32a29336293e556b2eee9805897d Author: Sepherosa Ziehau Date: Mon Jan 9 23:48:18 2017 +0800 lwp: Add two syscalls to set/get lwp's CPU affinity mask. Summary of changes: lib/libc/sys/Makefile.inc | 3 +- lib/libc/sys/Symbo

git: libc: Add sched_{set,get}affinity().

2017-01-13 Thread Sepherosa Ziehau
commit 907281d1a2ecde2d5dfefe84c7a5781df8a217d4 Author: Sepherosa Ziehau Date: Sat Jan 14 10:18:55 2017 +0800 libc: Add sched_{set,get}affinity(). Same as other sched_ fucntions, these two functions do _not_ support the overriding pid as tid as what Linux supports. Summary

git: libc: Add const to the cpu_set_t for sched_setaffinity.

2017-01-13 Thread Sepherosa Ziehau
commit fe54de69b61a9ee6e80c15042575b71ae23c7b1b Author: Sepherosa Ziehau Date: Sat Jan 14 14:39:36 2017 +0800 libc: Add const to the cpu_set_t for sched_setaffinity. Summary of changes: lib/libc/sys/sched_setaffinity.2 | 2 +- lib/libc/sys/sched_setaffinity.c | 2 +- sys/sys/sched.h

git: pthread: Implement pthread_{set,get}affinity_np

2017-01-14 Thread Sepherosa Ziehau
commit b29203807e853904a3411f05fdeebb0c3b0cab90 Author: Sepherosa Ziehau Date: Sat Jan 14 16:12:40 2017 +0800 pthread: Implement pthread_{set,get}affinity_np Summary of changes: include/pthread_np.h | 4 + lib/libc/gen/Symbol.map

git: libc: Take cpusetsize into consideration for sched_getaffinity()

2017-01-14 Thread Sepherosa Ziehau
commit 178a6112c276b489f23c465545ab47c76ae2e440 Author: Sepherosa Ziehau Date: Sat Jan 14 16:11:50 2017 +0800 libc: Take cpusetsize into consideration for sched_getaffinity() Summary of changes: lib/libc/sys/sched_getaffinity.c | 15 +-- 1 file changed, 13 insertions(+), 2

git: man: Add cross references

2017-01-14 Thread Sepherosa Ziehau
commit a0c14455e541f70c119a228586e2fcb579ce4f19 Author: Sepherosa Ziehau Date: Sat Jan 14 16:57:55 2017 +0800 man: Add cross references Summary of changes: lib/libc/sys/lwp_setaffinity.2 | 7 +-- lib/libc/sys/sched_setaffinity.2 | 2 ++ 2 files changed, 7 insertions(+), 2

git: pthread: Implement pthread_attr_{get,set}affinity_np

2017-01-15 Thread Sepherosa Ziehau
commit 3ae362f2fd40a49b17fda7454bd8c25ca54f9902 Author: Sepherosa Ziehau Date: Sun Jan 15 16:53:39 2017 +0800 pthread: Implement pthread_attr_{get,set}affinity_np Summary of changes: include/pthread_np.h | 4 +- lib/libc/gen/Symbol.map

git: x86_64: Fix machdep.smp_active sysctl type.

2017-01-15 Thread Sepherosa Ziehau
commit 95be233ab9fdd713a19793665d92ab9483f7397d Author: Sepherosa Ziehau Date: Sun Jan 15 16:52:42 2017 +0800 x86_64: Fix machdep.smp_active sysctl type. Summary of changes: sys/platform/pc64/x86_64/mp_machdep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) http

git: lwp: Add lwp_create2 syscll, which takes cpumask for scheduling.

2017-01-15 Thread Sepherosa Ziehau
commit 1eb8c61101afd79c1b21b3eeac68b4d1528df580 Author: Sepherosa Ziehau Date: Sat Jan 14 21:16:08 2017 +0800 lwp: Add lwp_create2 syscll, which takes cpumask for scheduling. Summary of changes: include/unistd.h | 2 ++ lib/libc/sys/Makefile.inc | 1 + lib/libc/sys/Symbol.map

git: param: Bump version according to the comment.

2017-01-15 Thread Sepherosa Ziehau
commit e235c57cefb353f84eaef99cf393b9ea48fa8cf4 Author: Sepherosa Ziehau Date: Mon Jan 16 11:07:59 2017 +0800 param: Bump version according to the comment. Summary of changes: sys/sys/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http://gitweb.dragonflybsd.org

git: lwp: Move all lwp syscalls to sys/lwp.h

2017-01-16 Thread Sepherosa Ziehau
commit 0d9899e72d0ab73653a47790ac79317a20a1601c Author: Sepherosa Ziehau Date: Mon Jan 16 22:04:28 2017 +0800 lwp: Move all lwp syscalls to sys/lwp.h Discussed-with: swildner, zrj Summary of changes: include/signal.h | 1 - include/unistd.h

git: tools/kq_sendcli: Add sendfile support.

2017-01-17 Thread Sepherosa Ziehau
commit dbeb2594fc831817cb816e2cf4079c3adbfe46f3 Author: Sepherosa Ziehau Date: Tue Jan 17 22:18:46 2017 +0800 tools/kq_sendcli: Add sendfile support. Based on work done by QianYue You. Summary of changes: .../netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c| 50

git: tool/kq_sendcli: Add option to set write size.

2017-01-17 Thread Sepherosa Ziehau
commit a06d79828cf88d7783a1aae6a7afc60db2842372 Author: Sepherosa Ziehau Date: Tue Jan 17 22:31:40 2017 +0800 tool/kq_sendcli: Add option to set write size. Summary of changes: .../netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c| 31 +++--- 1 file changed, 21 insertions

git: tools/kq_recvserv: Add option to set read size

2017-01-17 Thread Sepherosa Ziehau
commit 2ef463d8928da710bae698c881af667568e61acb Author: Sepherosa Ziehau Date: Tue Jan 17 22:59:35 2017 +0800 tools/kq_recvserv: Add option to set read size Summary of changes: .../netrate/kq_sendrecv/kq_recvserv/kq_recvserv.c | 19 ++- 1 file changed, 14 insertions

git: tools/kq_sendcli: Add option to set sending thread's CPU affinity

2017-01-17 Thread Sepherosa Ziehau
commit 2fe73a22be62900f13327175dac0a27e55ccd31c Author: Sepherosa Ziehau Date: Tue Jan 17 22:58:47 2017 +0800 tools/kq_sendcli: Add option to set sending thread's CPU affinity Summary of changes: .../netrate/kq_sendrecv/kq_sendcli/kq_sendcli.c| 35 +- 1

git: tools/kq_recvserv: Add option to set receiving thread's CPU affinity.

2017-01-17 Thread Sepherosa Ziehau
commit 867a0dcb7ce04b8c1b07e912a937e365d9f37f39 Author: Sepherosa Ziehau Date: Tue Jan 17 23:47:55 2017 +0800 tools/kq_recvserv: Add option to set receiving thread's CPU affinity. Summary of changes: .../netrate/kq_sendrecv/kq_recvserv/kq_recvserv.c | 43 +- 1

git: tools/kq_recvserv: Add option to enable SO_REUSEPORT

2017-01-17 Thread Sepherosa Ziehau
commit b747e370348bc27228b170c7fe979dc836f9febb Author: Sepherosa Ziehau Date: Tue Jan 17 23:27:41 2017 +0800 tools/kq_recvserv: Add option to enable SO_REUSEPORT Summary of changes: .../netrate/kq_sendrecv/kq_recvserv/kq_recvserv.c | 29 ++ 1 file changed, 24

git: tools/kq_sendrecv: Fix building on FreeBSD

2017-01-17 Thread Sepherosa Ziehau
commit 12439f341c70d69312bc4f03d5b3a8156a69068e Author: Sepherosa Ziehau Date: Wed Jan 18 13:46:30 2017 +0800 tools/kq_sendrecv: Fix building on FreeBSD Summary of changes: tools/tools/netrate/kq_sendrecv/kq_recvserv/kq_recvserv.c | 4 tools/tools/netrate/kq_sendrecv/kq_sendcli

git: em/emx: Retry interrupt allocation with MSI

2017-01-18 Thread Sepherosa Ziehau
commit 120fda08b4ef4ca2af7f9f38a8972c595b6aabc7 Author: Sepherosa Ziehau Date: Wed Jan 18 17:09:04 2017 +0800 em/emx: Retry interrupt allocation with MSI Reported-by: jh32 Summary of changes: sys/dev/netif/em/if_em.c | 13 ++--- sys/dev/netif/emx/if_emx.c | 12

  1   2   3   4   5   6   7   8   9   10   >