intel 82579 nic support?

Harald Schmalzbauer h.schmalzbauer at omnilan.de
Fri Sep 7 12:46:53 UTC 2012


 schrieb Jack Vogel am 07.09.2012 00:27 (localtime):
> 82579 is not a NIC, its a PHY, and it you look at the current code you
> will see the support
> is in there. So the real question is what the actual NIC is, how about
> a pciconf -lv?
>
> Next, how are you trying "to pass through the device into my FreeBSD
> VM", what is
> the virtualization environment.
>
> Widely spread, uh ya, but not virtualized, so tell me more about the
> environment.

Thanks for your reply. I didn't know that this phy is officially
supported, so I haven't provided any info.
But I'm happy you asked for:

PassThrough is done as PCI dev, with VT-d and DMA support (have been
using that for SAS controllers many times and FreeBSD sees the devices
like without vmware in between on the same maschine)
According to VMware, the phy is 82579LM
With "if_em" in the kernel and the 82579 configured as PCI-passthrough I
get these lines at boot time:
em2: <Intel(R) PRO/1000 Network Connection 7.3.2> port 0x7000-0x701f mem
0xd6720000-0xd673ffff,0xd6702000-0xd6702fff irq 18 at device 0.0 on pci6
em2: Memory Access and/or Bus Master bits were not set!
em2: Using an MSI interrupt
em2: Setup of Shared code failed
device_attach: em2 attach returned 6
(em0+1 are virtual-HW devices, em2 thy physical PCI-passthrough)

Now if I kldload "if_igb", it seems to also try to attach to the 82579
(at least kernel prints these lines (again)):
em2: <Intel(R) PRO/1000 Network Connection 7.3.2> port 0x7000-0x701f mem
0xd6720000-0xd673ffff,0xd6702000-0xd6702fff irq 18 at device 0.0 on pci6
em2: Memory Access and/or Bus Master bits were not set!
em2: Using an MSI interrupt
em2: Setup of Shared code failed
device_attach: em2 attach returned 6

Disabling MSI (MSIX) hasn't changed anythin.

Here's the pciconf:
em1 at pci0:5:0:0:    class=0x020000 card=0x07d015ad chip=0x10d38086
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82574L Gigabit Network Connection'
    class      = network
    subclass   = ethernet
none1 at pci0:6:0:0:    class=0x020000 card=0x35788086 chip=0x15028086
rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82579LM Gigabit Network Connection'
    class      = network
    subclass   = ethernet

Thanks you for your attention!

-Harry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120907/538edf77/signature.pgp


More information about the freebsd-stable mailing list