82546EB Copper issue
Hi,
Recently I came across a 82546EB Dual-port Gigabit Ethernet (Copper) NIC and tried to include it in our current DPDK setup. However, the card doesn't seem to be supported (I was unable to bind the igb_uio driver). There was a post in mailing list earlier this year stating that this particular NIC is not supported as of r1.2.3.
Is the situation any different with the 1.5.0 release (or are there any plans to support this model)?
Thanks,
Ognjen
A message that is not in the archive (sent off-list or not yet received): CAArUB1gNjCScrPbmCS6QNwdWn7zPgddescyMOg+qfzNN+uX8Dw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
Hello,
19/11/2013 23:44, Ognjen Joldzic :
Quoted 7 lines
Recently I came across a 82546EB Dual-port Gigabit Ethernet (Copper) NIC and tried to include it in our current DPDK setup. However, the card doesn't seem to be supported (I was unable to bind the
igb_uiodriver). There was a post in mailing list earlier this year stating that this particular NIC is not supported as of r1.2.3.
Is the situation any different with the 1.5.0 release (or are there any plans to support this model)?
The page http://dpdk.org/doc/nics says that 8254x should be supported. But looking in details:
% grep 'RTE_PCI_DEV_ID_DECL.*8254' lib/librte_eal/common/include/rte_pci_dev_ids.h RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82540EM) RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82545EM_COPPER) RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82545EM_FIBER)
It means that only 82540 and 82545 are supported.
I don't know if there is a big difference with 82546 controller and I'm not aware of any plan to support it.
So feel free to try and patch it.
Signature · 1 line
Thomas
Hi.
Actually, the support for 82546EB Copper NIC is already there. All it takes to make it work is one line in rte_pci_dev_ids.h:
RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_COPPER)
Not much of a patch, I guess :)
Quoted 27 lines · Thomas Monjalon
Hello,
19/11/2013 23:44, Ognjen Joldzic :
Quoted 7 lines
Recently I came across a 82546EB Dual-port Gigabit Ethernet (Copper) NIC and tried to include it in our current DPDK setup. However, the card doesn't seem to be supported (I was unable to bind the
igb_uiodriver). There was a post in mailing list earlier this year stating that this particular NIC is not supported as of r1.2.3.
Is the situation any different with the 1.5.0 release (or are there any plans to support this model)?The page http://dpdk.org/doc/nics says that 8254x should be supported. But looking in details:
% grep 'RTE_PCI_DEV_ID_DECL.*8254'lib/librte_eal/common/include/rte_pci_dev_ids.hRTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82540EM)RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82545EM_COPPER)RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82545EM_FIBER)It means that only 82540 and 82545 are supported.
I don't know if there is a big difference with 82546 controller and I'm not aware of any plan to support it.
So feel free to try and patch it.--
Thomas
A message that is not in the archive (sent off-list or not yet received): CAArUB1iHoG7SVkRC6O1h0eWkEmiKjOtvN1ie04y4HJ7G=MzUBA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
22/11/2013 08:30, Ognjen Joldzic :
Quoted 6 lines
Actually, the support for 82546EB Copper NIC is already there. All it takes to make it work is one line in
rte_pci_dev_ids.h:
RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_COPPER)Not much of a patch, I guess :)
Please, I would prefer a real patch signed by you.
Thank you
Signature · 1 line
Thomas
PATCH 1/1 pci: support 82546EB
In reply to a message not in the archiveIntel 82546EB Gigabit ethernet controller is reported to be working with copper.
--- lib/librte_eal/common/include/rte_pci_dev_ids.h | 3 +++ 1 file changed, 3 insertions(+)
lib/librte_eal/common/include/rte_pci_dev_ids.h +3 -0
@@ -244,6 +244,9 @@ RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82545EM_FIBER)* Tested (supported) on real HW. */ +RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_COPPER) +RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_FIBER) +RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82546EB_QUAD_COPPER) RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_COPPER) RTE_PCI_DEV_ID_DECL_EM(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82571EB_FIBER)RTE_PCI_DEV_ID_DECL_EM (PCI_VENDOR_ID_INTEL ,E1000_DEV_ID_82571EB_SERDES )
Signature · 1 line
1.7.10.4
A message that is not in the archive (sent off-list or not yet received): 1387543962-7633-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org
Re: [PATCH] pci: support 82546EB
20/12/2013 13:52, Thomas Monjalon :
Quoted 5 lines
Intel 82546EB Gigabit ethernet controller is reported to be working with copper.
Tested-by Ognjen Joldzic <[email protected]>Signed-off-by Thomas Monjalon <[email protected]>
pushed in 1.5.1r2
Signature · 1 line
Thomas