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

--- Comment #2 from Michael <michael....@gmail.com> ---
(In reply to Andrey V. Elsukov from comment #1)

Add I40E_DEV_ID_VF_HV in if_iavf.c
Result:

root@r03:~ # dmesg
...
hn1: <Hyper-V Network Interface> on vmbus0
hn1: got notify, nvs type 128
hn1: Ethernet address: 00:15:5d:00:81:09
hn1: link state changed to UP
pcib0: <Hyper-V PCI Express Pass Through> on vmbus0
Trying to mount root from ufs:/dev/da0p2 [rw]...
pci0: <PCI bus> on pcib0
iavf0: <Intel(R) Ethernet Virtual Function 700 Series> at device 2.0 on pci0
iavf0: PF API 1.1 / VF API 1.1
iavf0: VSIs 1, QPs 1, MSI-X 5, RSS sizes: key 40 lut 64
iavf0: Using 1024 TX descriptors and 1024 RX descriptors
iavf0: Using 1 RX queues 1 TX queues
iavf0: Using MSI-X interrupts with 2 vectors
iavf0: Ethernet address: 00:15:5d:00:81:09
iavf0: netmap queues/slots: TX 1/1024, RX 1/1024
...

root@r03:~ # ifconfig
...
hn1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=51a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO>
        ether 00:15:5d:00:81:09
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
iavf0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80053a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,TSO4,LRO>
        ether 00:15:5d:00:81:09
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

----------------
Disabling SR-IOV on hn1

root@r03:~ # dmesg
...
iavf0: detached
hn1: got notify, nvs type 128
pci0: detached
pcib0: detached

root@r03:~ # ifconfig
...
hn1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=51a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,LRO>
        ether 00:15:5d:00:81:09
        media: Ethernet autoselect (10Gbase-T <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

----------------
... not work :(

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to