https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239849

--- Comment #6 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=9ea7beb173b8b5c77663ee0f86b32cc76f20357f

commit 9ea7beb173b8b5c77663ee0f86b32cc76f20357f
Author:     Kevin Bowling <[email protected]>
AuthorDate: 2026-09-07 03:34:50 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2026-09-15 02:05:00 +0000

    ixv: Add Hyper-V virtual function support

    Hyper-V does not expose the normal Intel PF/VF mailbox.

    Import the Hyper-V operation overrides from DPDK and complete its reset
    callback with the configuration-space mechanism submitted by Microsoft.
    Route ixv operations through the operation table, use mailbox API 1.0,
    and limit this environment to one queue pair.

    Claim the 82599, X540, X550, X550EM-X, and X550EM-A Hyper-V device IDs
    listed by DPDK.  Select the same path for the E610 Hyper-V subdevice
    identity defined there.

    For E610/Linkville, read the emulated VFLINKS-format status from PCI
    configuration space at offset 0x209.  Older families retain the MMIO
    VFLINKS path.

    Treat receive-mode changes as host-owned no-ops and do not retry VLAN
    operations that Hyper-V permanently rejects.  Limit the Hyper-V 82599
    MTU to 1504 because its VF does not implement the X540 RLPML field.

    Use mailbox reset indications only to refresh cached Hyper-V link state.
    Hyper-V does not provide the mailbox handshake required to treat that
    indication as a request for an iflib reinitialization.

    Tested on 82599 and E610 (with a followup commit) with Windows Server
    2025 Hyper-V.

    PR:             232472, 239849
    Obtained from:  DPDK (shared code)
    Sponsored by:   BBOX.io
    Co-authored-by: Wei Hu <[email protected]>

 share/man/man4/ixv.4              |  11 +-
 sys/conf/files                    |   2 +
 sys/dev/ixgbe/if_ixv.c            | 134 ++++++++++++------
 sys/dev/ixgbe/ixgbe_hv_vf.c (new) | 277 ++++++++++++++++++++++++++++++++++++++
 sys/dev/ixgbe/ixgbe_hv_vf.h (new) |  12 ++
 sys/dev/ixgbe/ixgbe_osdep.c       |   8 +-
 sys/dev/ixgbe/ixgbe_osdep.h       |   4 +
 sys/modules/ixv/Makefile          |   1 +
 8 files changed, 406 insertions(+), 43 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to