Page MenuHomeFreeBSD

whu (Wei Hu)
User

Projects

User Details

User Since
Feb 16 2015, 6:51 AM (378 w, 3 d)

Recent Activity

Mar 30 2022

whu committed R10:5473dee73005: Hyper-V: vPCI: Write back original BAR values after prepopulating bars (authored by whu).
Hyper-V: vPCI: Write back original BAR values after prepopulating bars
Mar 30 2022, 7:11 AM

Mar 15 2022

whu committed R10:80c3eb7bc64b: Hyper-V: hn: add switch to turn on and off RSC (authored by whu).
Hyper-V: hn: add switch to turn on and off RSC
Mar 15 2022, 8:17 AM
whu closed D34507: added changes for rsc handler.
Mar 15 2022, 8:17 AM

Mar 14 2022

whu accepted D34507: added changes for rsc handler.

Looks good to me. Just a small nit. In the struct hn_softc of if_hnvar.h, I would insert an empty line between line 284 and 285, to make the definition of hn_rsc_ctrl independent from the VF related clause.

Mar 14 2022, 3:54 AM

Feb 15 2022

whu committed R10:de64aa32c810: mana: Add handling of CQE_RX_TRUNCATED (authored by whu).
mana: Add handling of CQE_RX_TRUNCATED
Feb 15 2022, 7:33 AM

Feb 1 2022

whu added a comment to D29075: Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver.

Hello @whu @lwhsu @decui_microsoft.com,

We have multiple reports that this causes throughput regressions when in use on 13-STABLE as opposed to 13.0-RELEASE where it is not present. We have had this commit reverted and speeds are back to normal for our OPNsense users. For more info see https://forum.opnsense.org/index.php?topic=26364.0

Cheers,
Franco

Feb 1 2022, 8:01 AM

Jan 14 2022

whu committed R10:aa108bc7c5c1: mana: Add RX fencing (authored by whu).
mana: Add RX fencing
Jan 14 2022, 7:39 AM

Jan 13 2022

whu committed R10:027d0c1c043a: mana: fix misc minor handlding issues when error happens. (authored by whu).
mana: fix misc minor handlding issues when error happens.
Jan 13 2022, 7:27 AM
whu committed R10:623918a198f9: mana: Improve the HWC error handling (authored by whu).
mana: Improve the HWC error handling
Jan 13 2022, 6:10 AM

Jan 10 2022

whu committed R10:ed65c80a3475: Mana: report OS info to PF driver (authored by whu).
Mana: report OS info to PF driver
Jan 10 2022, 1:34 PM

Dec 14 2021

whu committed R10:eabea1c700ad: Hyper-V: vPCI: Prepopulate device bars (authored by whu).
Hyper-V: vPCI: Prepopulate device bars
Dec 14 2021, 12:20 PM

Nov 30 2021

whu committed R10:d11e9de955ea: Hyper-V: vPCI: Prepopulate device bars (authored by whu).
Hyper-V: vPCI: Prepopulate device bars
Nov 30 2021, 10:33 AM

Nov 27 2021

whu committed R10:75412a521f60: Hyper-V: vPCI: Prepopulate device bars (authored by whu).
Hyper-V: vPCI: Prepopulate device bars
Nov 27 2021, 6:56 AM

Oct 26 2021

whu committed R10:1833cf137365: Mana: move mana polling from EQ to CQ (authored by whu).
Mana: move mana polling from EQ to CQ
Oct 26 2021, 12:36 PM

Sep 16 2021

whu added a comment to D31933: hyperv storvsc: Don't abuse struct sglist to hold virtual addresses..

Please give me a few days to review. I am tied up with other issues right now. Thanks!

Sep 16 2021, 4:03 AM
whu accepted D31948: mana: Cast an unused value to void to quiet a warning..

Thanks for fixing this warning.

Sep 16 2021, 4:01 AM

Aug 20 2021

whu committed R10:f12b1b8b47bf: Remove unused function mana_reset_counters. (authored by whu).
Remove unused function mana_reset_counters.
Aug 20 2021, 4:10 PM
whu committed R10:ce110ea12fce: Microsoft Azure Network Adapter(MANA) VF support (authored by whu).
Microsoft Azure Network Adapter(MANA) VF support
Aug 20 2021, 12:02 PM
whu closed D31150: MANA NIC driver.
Aug 20 2021, 12:01 PM

Aug 19 2021

whu updated the diff for D31150: MANA NIC driver.

Update the review, incorporate some review comments from Dexuan.

Aug 19 2021, 3:14 PM

Jul 15 2021

whu added a comment to D31150: MANA NIC driver.
In D31150#701307, @gbe wrote:

Thanks for contributing this driver. Is possible to test it already on Hyper-V, or Azure?

Jul 15 2021, 4:45 AM

Jul 12 2021

whu added reviewers for D31150: MANA NIC driver: decui_microsoft.com, philip.
Jul 12 2021, 2:00 PM
whu requested review of D31150: MANA NIC driver.
Jul 12 2021, 1:58 PM

Jun 8 2021

whu accepted D30577: hyperv: Fix vmbus(4) after the i386 4/4 split.

Thanks for fixing this.

Jun 8 2021, 2:28 AM

Jun 5 2021

whu accepted D30310: hyperv: register intr handler as usermode-mapped if loaded as module..

It works. Thanks for fixing this. Please also merge to 12-stable and 13-stable.

Jun 5 2021, 12:52 PM
whu added a comment to D30310: hyperv: register intr handler as usermode-mapped if loaded as module..

Just a couple days. I am tied up with something else now. I want to test it before signing off. I will get back hopefully on Tuesday 6/7.

Jun 5 2021, 9:19 AM

May 17 2021

whu accepted D30060: Flag hn and storvsc statistics with CTLFLAG_STATS..

Thanks!

May 17 2021, 6:53 AM

May 7 2021

whu accepted D30124: storvsc: fix auto-sense reporting.

Thanks for fixing this.

May 7 2021, 7:00 AM

Mar 29 2021

whu committed R10:2fbdbfaa0c44: Hyper-V: hn: Initialize the internal field of per packet info on tx path (authored by whu).
Hyper-V: hn: Initialize the internal field of per packet info on tx path
Mar 29 2021, 10:23 AM
whu committed R10:cdc59163ff8e: Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver (authored by whu).
Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver
Mar 29 2021, 10:21 AM
whu committed R10:a86be0da9a03: Hyper-V: hn: Store host hash value in flowid (authored by whu).
Hyper-V: hn: Store host hash value in flowid
Mar 29 2021, 10:19 AM
whu committed R10:2a321939b02b: Hyper-V: hn: Initialize the internal field of per packet info on tx path (authored by whu).
Hyper-V: hn: Initialize the internal field of per packet info on tx path
Mar 29 2021, 9:16 AM
whu committed R10:4150446f6467: Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver (authored by whu).
Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver
Mar 29 2021, 9:13 AM
whu committed R10:1aadba9cc8af: Hyper-V: hn: Store host hash value in flowid (authored by whu).
Hyper-V: hn: Store host hash value in flowid
Mar 29 2021, 8:55 AM

Mar 15 2021

whu committed R10:805dbff6c36a: Hyper-V: hn: Initialize the internal field of per packet info on tx path (authored by whu).
Hyper-V: hn: Initialize the internal field of per packet info on tx path
Mar 15 2021, 10:35 AM
whu committed R10:70f7b2475333: Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock (authored by whu).
Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock
Mar 15 2021, 5:17 AM
whu committed R10:279041093326: Hyper-V: pcib: Check revoke status during device attach (authored by whu).
Hyper-V: pcib: Check revoke status during device attach
Mar 15 2021, 5:15 AM
whu committed R10:919a160fc622: Hyper-V: storvsc: Enhance srb_status code handling. (authored by whu).
Hyper-V: storvsc: Enhance srb_status code handling.
Mar 15 2021, 5:12 AM
whu committed R10:b05c1dd0d162: hyperv/vmbus: Fix the wrong size in ndis_offload structure (authored by whu).
hyperv/vmbus: Fix the wrong size in ndis_offload structure
Mar 15 2021, 5:06 AM
whu committed R10:c38b9b80149f: hyperv/vmbus: Update VMBus version 4.0 and 5.0 support. (authored by whu).
hyperv/vmbus: Update VMBus version 4.0 and 5.0 support.
Mar 15 2021, 5:06 AM
whu committed R10:e801c980e253: Prevent framebuffer mmio space from being allocated to other devices on HyperV. (authored by whu).
Prevent framebuffer mmio space from being allocated to other devices on HyperV.
Mar 15 2021, 4:57 AM

Mar 12 2021

whu closed D29075: Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver.
Mar 12 2021, 4:44 AM
whu committed R10:a491581f3f8d: Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver (authored by whu).
Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver
Mar 12 2021, 4:44 AM

Mar 11 2021

whu updated the diff for D29075: Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver.
Mar 11 2021, 10:04 AM
whu accepted D28171: Hyper-V kbd: Add support for K_XLATE and K_CODE modes for gen 2 VMs.

Looks good to me.

Mar 11 2021, 6:30 AM
whu accepted D28170: Hyper-V kbd: Add evdev protocol support for gen 2 VMs.

Looks good to me. Please make sure you have tested on Hyper-V Gen2 VMs

Mar 11 2021, 6:30 AM

Mar 5 2021

whu requested review of D29075: Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver.
Mar 5 2021, 9:55 AM
whu committed R10:80f39bd95f22: Hyper-V: hn: Store host hash value in flowid (authored by whu).
Hyper-V: hn: Store host hash value in flowid
Mar 5 2021, 6:30 AM

Oct 15 2020

whu committed rS366721: Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock.
Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock
Oct 15 2020, 11:45 AM
whu closed D26486: Check device revoke when during vmbus pcib attach.
Oct 15 2020, 5:57 AM
whu committed rS366720: Hyper-V: pcib: Check revoke status during device attach.
Hyper-V: pcib: Check revoke status during device attach
Oct 15 2020, 5:57 AM

Sep 23 2020

whu updated the diff for D26486: Check device revoke when during vmbus pcib attach.

revised wait_for_completion_timeout() call to avoid missing complete message

Sep 23 2020, 5:05 PM
whu updated the diff for D26486: Check device revoke when during vmbus pcib attach.
Sep 23 2020, 12:01 PM
whu updated the diff for D26486: Check device revoke when during vmbus pcib attach.

add saved_done to avoid missing wake-up.

Sep 23 2020, 8:57 AM

Sep 20 2020

whu requested review of D26486: Check device revoke when during vmbus pcib attach.
Sep 20 2020, 8:06 AM

Aug 31 2020

whu committed rS364984: Hyper-V: storvsc: Enhance srb_status code handling..
Hyper-V: storvsc: Enhance srb_status code handling.
Aug 31 2020, 9:05 AM
whu closed D25756: Upstream Hyper-V Storage VSC Driver Fixes from NetApp.
Aug 31 2020, 9:05 AM
whu added a comment to D25756: Upstream Hyper-V Storage VSC Driver Fixes from NetApp.

@whu Will you commit this? Or would you like someone else to?

Aug 31 2020, 7:00 AM

Jul 30 2020

whu committed rS363689: Prevent framebuffer mmio space from being allocated to other devices on HyperV..
Prevent framebuffer mmio space from being allocated to other devices on HyperV.
Jul 30 2020, 7:26 AM
whu accepted D25756: Upstream Hyper-V Storage VSC Driver Fixes from NetApp.
Jul 30 2020, 6:08 AM
whu added a comment to D25756: Upstream Hyper-V Storage VSC Driver Fixes from NetApp.

Looks good to me. Thanks for fixing this!

Jul 30 2020, 6:07 AM

Jul 28 2020

whu added a comment to D25756: Upstream Hyper-V Storage VSC Driver Fixes from NetApp.

#ifdef DIAGNOSTIC
Is this only for test purpose? When will this be defined? Thanks.

Jul 28 2020, 5:14 AM

May 22 2020

whu committed rD54168: Document OSVERSION 1300095 for HyperV socket support..
Document OSVERSION 1300095 for HyperV socket support.
May 22 2020, 11:17 AM
whu committed rS361362: Bump __FreeBSD_version after r361275, HyperV socket support.
Bump __FreeBSD_version after r361275, HyperV socket support
May 22 2020, 10:50 AM
whu committed rS361360: Socket AF_HYPERV should return failure when it is not running on HyperV.
Socket AF_HYPERV should return failure when it is not running on HyperV
May 22 2020, 9:17 AM

May 20 2020

whu committed rS361275: HyperV socket implementation for FreeBSD.
HyperV socket implementation for FreeBSD
May 20 2020, 11:04 AM
whu closed D24061: Hyper-V socket implementation for FreeBSD guest.
May 20 2020, 11:04 AM

May 11 2020

whu added a comment to D24061: Hyper-V socket implementation for FreeBSD guest.
In D24061#540008, @ae wrote:

Do you have performance test results for already existing linux implementation?
From a quick look it seems to me there will be bottleneck regarding locking that seems can be reduced using CK and epoch. But this task can be done in future, if you plan support this code.

May 11 2020, 8:34 AM

Apr 15 2020

whu updated the summary of D24061: Hyper-V socket implementation for FreeBSD guest.
Apr 15 2020, 11:57 AM
whu updated the summary of D24061: Hyper-V socket implementation for FreeBSD guest.
Apr 15 2020, 11:57 AM
whu updated the summary of D24061: Hyper-V socket implementation for FreeBSD guest.
Apr 15 2020, 11:56 AM
whu updated the diff for D24061: Hyper-V socket implementation for FreeBSD guest.

Out for broader review

Apr 15 2020, 11:56 AM

Mar 13 2020

whu created D24061: Hyper-V socket implementation for FreeBSD guest.
Mar 13 2020, 11:52 AM

Jul 9 2019

whu committed rS349857: hyperv/vmbus: Fix the wrong size in ndis_offload structure.
hyperv/vmbus: Fix the wrong size in ndis_offload structure
Jul 9 2019, 8:21 AM
whu committed rS349856: hyperv/vmbus: Update VMBus version 4.0 and 5.0 support..
hyperv/vmbus: Update VMBus version 4.0 and 5.0 support.
Jul 9 2019, 7:24 AM

Nov 1 2018

whu committed rS339984: MFC r339585:.
MFC r339585:
Nov 1 2018, 8:08 AM

Oct 31 2018

whu committed rS339942: MFC: 339585.
MFC: 339585
Oct 31 2018, 6:24 AM

Oct 29 2018

whu committed rS339863: MFC: 339585.
MFC: 339585
Oct 29 2018, 3:12 PM

Oct 22 2018

whu committed rS339585: Do not trop UDP traffic when TXCSUM_IPV6 flag is on.
Do not trop UDP traffic when TXCSUM_IPV6 flag is on
Oct 22 2018, 11:24 AM

Nov 22 2015

whu committed rS291156: Ignore the inbound checksum flags when doing packet forwarding in netvsc driver..
Ignore the inbound checksum flags when doing packet forwarding in netvsc driver.
Nov 22 2015, 5:26 AM
whu closed D4131: Fix a checksum offloading bug in Hyper-V netvsc driver by committing rS291156: Ignore the inbound checksum flags when doing packet forwarding in netvsc driver..
Nov 22 2015, 5:26 AM

Nov 13 2015

whu added a comment to D4131: Fix a checksum offloading bug in Hyper-V netvsc driver.

This has been tested by several customers who were experiencing packet loss on their 10.2 gateway VMs. The patch fixed their problems. I just have one minor comment to add a little detailed comments in the code.

Nov 13 2015, 8:20 AM

Jul 30 2015

whu committed rS286058: MFC r285928 Do not enable UDP checksum offloading when running on the.
MFC r285928 Do not enable UDP checksum offloading when running on the
Jul 30 2015, 2:22 AM

Jul 28 2015

whu committed rS285928: MFC r285785 Do not enable UDP checksum offloading when running on the.
MFC r285785 Do not enable UDP checksum offloading when running on the
Jul 28 2015, 5:46 AM
whu closed D3217: MFC r285785 by committing rS285928: MFC r285785 Do not enable UDP checksum offloading when running on the.
Jul 28 2015, 5:46 AM

Jul 27 2015

whu retitled D3217: MFC r285785 from to MFC r285785.
Jul 27 2015, 9:27 AM

Jul 22 2015

whu committed rS285785: Do not enable UDP checksum offloading when running on the Hyper-V on.
Do not enable UDP checksum offloading when running on the Hyper-V on
Jul 22 2015, 7:53 AM
whu closed D3086: Do not enable UDP checksum offloading when running on Windows Server 2012 and earlier hosts. by committing rS285785: Do not enable UDP checksum offloading when running on the Hyper-V on.
Jul 22 2015, 7:53 AM

Jul 15 2015

whu retitled D3086: Do not enable UDP checksum offloading when running on Windows Server 2012 and earlier hosts. from to Do not enable UDP checksum offloading when running on Windows Server 2012 and earlier hosts..
Jul 15 2015, 4:11 AM

Jul 7 2015

whu committed rS285236: MFC r284746 and r284889 TSO and checksum offloading support for Netvsc.
MFC r284746 and r284889 TSO and checksum offloading support for Netvsc
Jul 7 2015, 4:15 AM
whu closed D2906: MFC r284746 TSO and checksum offloading support for Netvsc driver on Hyper-V. by committing rS285236: MFC r284746 and r284889 TSO and checksum offloading support for Netvsc.
Jul 7 2015, 4:15 AM

Jul 1 2015

whu added a comment to D2906: MFC r284746 TSO and checksum offloading support for Netvsc driver on Hyper-V..

Bjoern helped fixed the problem in the NO_INET and NO_INET6 builds. Also MFC his fix r284889 to 10 stable.

Jul 1 2015, 4:54 AM
whu updated the diff for D2906: MFC r284746 TSO and checksum offloading support for Netvsc driver on Hyper-V..

Also MFC r284889 Fix compilation without INET6 and without INET and INET6
after offload support was introduced in r284746.

Jul 1 2015, 4:48 AM

Jun 26 2015

whu added a comment to D2906: MFC r284746 TSO and checksum offloading support for Netvsc driver on Hyper-V..
In D2906#56646, @royger wrote:

Are you aware of https://lists.freebsd.org/pipermail/svn-src-head/2015-June/073483.html? This needs to be solved before any MFC can be done.

Jun 26 2015, 9:49 AM
whu retitled D2906: MFC r284746 TSO and checksum offloading support for Netvsc driver on Hyper-V. from to MFC r284746 TSO and checksum offloading support for Netvsc driver on Hyper-V..
Jun 26 2015, 5:49 AM

Jun 24 2015

whu committed rS284746: TSO and checksum offloading support for Netvsc driver on Hyper-V..
TSO and checksum offloading support for Netvsc driver on Hyper-V.
Jun 24 2015, 6:01 AM
whu closed D2517: TCP and checksum offloading for Hyper-V by committing rS284746: TSO and checksum offloading support for Netvsc driver on Hyper-V..
Jun 24 2015, 6:01 AM
whu added a comment to D2517: TCP and checksum offloading for Hyper-V.

Thanks Roger for the review!

Jun 24 2015, 3:45 AM

Jun 17 2015

whu updated the diff for D2517: TCP and checksum offloading for Hyper-V.
  • More review comments from royger
Jun 17 2015, 9:20 AM
whu added a comment to D2517: TCP and checksum offloading for Hyper-V.

Sorry it took a while to get this done. I was out of office due to family issues.

Jun 17 2015, 8:58 AM