Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2021 13:22:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253535] em - VF interface invalid MAC address
Message-ID:  <bug-253535-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253535

            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: bugs@FreeBSD.org
          Reporter: mail@void.so

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

I have a host with I350 Ethernet Controller Virtual Function [8086:1520], w=
hen
I try to passthrough it into FreeBSD (running on QEMU '-device
vfio-pci,host=3D04: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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253535-227>