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

            Bug ID: 253535
           Summary: em - VF interface invalid MAC address
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: b...@freebsd.org
          Reporter: m...@void.so

Created attachment 222466
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222466&action=edit
em VF MAC address patch

I have a host with I350 Ethernet Controller Virtual Function [8086:1520], when
I try to passthrough it into FreeBSD (running on QEMU '-device
vfio-pci,host=04:10.1') I get an error:
igb0: Invalid MAC address
igb0: IFDI_ATTACH_PRE failed 5
device_attach: igb0 attach returned 5

After applying patch (attached) everthing works fine:
igb0: Generate a random address
igb0: Using 1024 TX descriptors and 1024 RX descriptors
igb0: Using 1 RX queues 1 TX queues
igb0: Using MSI-X interrupts with 2 vectors
igb0: Ethernet address: 7e:da:23:50:00:1d
igb0: link state changed to UP
igb0: netmap queues/slots: TX 1/1024, RX 1/1024

This problem was fixed in igb driver: https://reviews.freebsd.org/rS308429. But
after merging igb into em driver, it was lost.

-- 
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