DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] 82546EB Copper issue
@ 2013-11-19 22:44 Ognjen Joldzic
  2013-11-20  7:57 ` Thomas Monjalon
  0 siblings, 1 reply; 5+ messages in thread
From: Ognjen Joldzic @ 2013-11-19 22:44 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] 82546EB Copper issue
  2013-11-19 22:44 [dpdk-dev] 82546EB Copper issue Ognjen Joldzic
@ 2013-11-20  7:57 ` Thomas Monjalon
       [not found]   ` <CAArUB1iHoG7SVkRC6O1h0eWkEmiKjOtvN1ie04y4HJ7G=MzUBA@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2013-11-20  7:57 UTC (permalink / raw)
  To: Ognjen Joldzic; +Cc: dev

Hello,

19/11/2013 23:44, Ognjen Joldzic :
> 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)?

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.

-- 
Thomas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] 82546EB Copper issue
       [not found]   ` <CAArUB1iHoG7SVkRC6O1h0eWkEmiKjOtvN1ie04y4HJ7G=MzUBA@mail.gmail.com>
@ 2013-11-22  8:55     ` Thomas Monjalon
  2013-12-20 12:52     ` [dpdk-dev] [PATCH] pci: support 82546EB Thomas Monjalon
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2013-11-22  8:55 UTC (permalink / raw)
  To: Ognjen Joldzic; +Cc: dev

22/11/2013 08:30, Ognjen Joldzic :
> 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
-- 
Thomas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [dpdk-dev] [PATCH] pci: support 82546EB
       [not found]   ` <CAArUB1iHoG7SVkRC6O1h0eWkEmiKjOtvN1ie04y4HJ7G=MzUBA@mail.gmail.com>
  2013-11-22  8:55     ` Thomas Monjalon
@ 2013-12-20 12:52     ` Thomas Monjalon
  2014-01-02 15:08       ` Thomas Monjalon
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2013-12-20 12:52 UTC (permalink / raw)
  To: dev

Intel 82546EB Gigabit ethernet controller is reported to be working
with copper.

Tested-by: Ognjen Joldzic <ognjen.joldzic@gmail.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 lib/librte_eal/common/include/rte_pci_dev_ids.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/librte_eal/common/include/rte_pci_dev_ids.h b/lib/librte_eal/common/include/rte_pci_dev_ids.h
index 226cb51..015066c 100644
--- a/lib/librte_eal/common/include/rte_pci_dev_ids.h
+++ b/lib/librte_eal/common/include/rte_pci_dev_ids.h
@@ -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)
-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] pci: support 82546EB
  2013-12-20 12:52     ` [dpdk-dev] [PATCH] pci: support 82546EB Thomas Monjalon
@ 2014-01-02 15:08       ` Thomas Monjalon
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2014-01-02 15:08 UTC (permalink / raw)
  To: dev

20/12/2013 13:52, Thomas Monjalon :
> Intel 82546EB Gigabit ethernet controller is reported to be working
> with copper.
> 
> Tested-by: Ognjen Joldzic <ognjen.joldzic@gmail.com>
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

pushed in 1.5.1r2

-- 
Thomas

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-02 15:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-19 22:44 [dpdk-dev] 82546EB Copper issue Ognjen Joldzic
2013-11-20  7:57 ` Thomas Monjalon
     [not found]   ` <CAArUB1iHoG7SVkRC6O1h0eWkEmiKjOtvN1ie04y4HJ7G=MzUBA@mail.gmail.com>
2013-11-22  8:55     ` Thomas Monjalon
2013-12-20 12:52     ` [dpdk-dev] [PATCH] pci: support 82546EB Thomas Monjalon
2014-01-02 15:08       ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).