All of lore.kernel.org
 help / color / mirror / Atom feed
* The type of ethernet card that DPDK require
@ 2013-06-28  6:39 dvr
       [not found] ` <17edb923.23124.13f8981ba27.Coremail.jinxiu.1006-9Onoh4P/yGk@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: dvr @ 2013-06-28  6:39 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

[-- Attachment #1: Type: text/plain, Size: 692 bytes --]

hi,all
     I'm confused which type of ethernet card that DPDK require.
     After I insmod igb_uio.ko, it seems that this driver cann't make my enternet card driven.
 
    Then I find the following code writen in igb_uio.c:
 
static struct pci_device_id igbuio_pci_ids[]={
#define RET_PCI_DEV_ID_DECL(vend,dev){PCI_DEVICE(vend,dev)};
#include <rte_pci_dev_ids.h>
{0,},
};

      And in rte_pci_dev_ids.h:
 
#ifdef RTE_LIBRTE_IGB_PMD
#define E1000_DEV_ID_82576      0x10c9
……

#ifdef RTE_LIBRTE_IXGBe\E_PMD
#define IXGBE_DEV_ID_82598      0x10b6
……

my ethernet card :82575EB, which wasn't in the list above
driver:igb,3.2.10-k
 
I will be grateful for any help.
Best Regards
 
Maria
 

[-- Attachment #2: Type: text/html, Size: 1266 bytes --]

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

* Re: The type of ethernet card that DPDK require
       [not found] ` <17edb923.23124.13f8981ba27.Coremail.jinxiu.1006-9Onoh4P/yGk@public.gmane.org>
@ 2013-06-28  7:03   ` Farrukh Aftab Khan
       [not found]     ` <4a63f461.258b3.13f89c20286.Coremail.jinxiu.1006@163.com>
  2013-06-28  8:28   ` Thomas Monjalon
  1 sibling, 1 reply; 5+ messages in thread
From: Farrukh Aftab Khan @ 2013-06-28  7:03 UTC (permalink / raw)
  To: dvr; +Cc: dev-VfR2kkLFssw

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

Hi,

You can check the supported NICs from the release notes provided. They also
contain the list of supported operating systems. That maybe of help to you.

Best regards.

-
Farrukh Aftab Khan


On Fri, Jun 28, 2013 at 11:39 AM, dvr <jinxiu.1006-9Onoh4P/yGk@public.gmane.org> wrote:

> hi,all
>      I'm confused which type of ethernet card that DPDK require.
>      After I insmod igb_uio.ko, it seems that this driver cann't make my
> enternet card driven.
>
>     Then I find the following code writen in igb_uio.c:
>
> static struct pci_device_id igbuio_pci_ids[]={
> #define RET_PCI_DEV_ID_DECL(vend,dev){PCI_DEVICE(vend,dev)};
> #include <rte_pci_dev_ids.h>
> {0,},
> };
>
>       And in rte_pci_dev_ids.h:
>
> #ifdef RTE_LIBRTE_IGB_PMD
> #define E1000_DEV_ID_82576      0x10c9
> ……
>
> #ifdef RTE_LIBRTE_IXGBe\E_PMD
> #define IXGBE_DEV_ID_82598      0x10b6
> ……
>
> my ethernet card :82575EB, which wasn't in the list above
> driver:igb,3.2.10-k
>
> I will be grateful for any help.
> Best Regards
>
> Maria
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 2138 bytes --]

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

* Re: The type of ethernet card that DPDK require
       [not found]       ` <4a63f461.258b3.13f89c20286.Coremail.jinxiu.1006-9Onoh4P/yGk@public.gmane.org>
@ 2013-06-28  8:11         ` Farrukh Aftab Khan
  0 siblings, 0 replies; 5+ messages in thread
From: Farrukh Aftab Khan @ 2013-06-28  8:11 UTC (permalink / raw)
  To: dvr; +Cc: dev-VfR2kkLFssw

[-- Attachment #1: Type: text/plain, Size: 2142 bytes --]

Hi,

No, I don't think 82575 is supported. I don't see it in the list of tested
NICs.
The release notes just mention the recommended operating systems. I have
seen people running DPDK on CentOS.

Hope that helps.

Best regards.

-
Farrukh Aftab Khan


On Fri, Jun 28, 2013 at 12:49 PM, dvr <jinxiu.1006-9Onoh4P/yGk@public.gmane.org> wrote:

>
> Thank you very much for your reply, it's really helpful for me.
>
> I checked the release notes document, I know that DPDK doesn't support
> Intel 82575 GBE,
> and my NIC type is Intel 82575EB, is that the same?
>
> And the systems that DPDK support in the document were  Fedora
> release(Laughlin), Ubuntu 10.04,Fedora release 10(Cambridge) and Debian
> Lenny.
> Is that mean that CenOS(the operating system I use now) doesn't support
> DPDK?
>
> Best regards!
> Maria
>
>
>
>
>
> At 2013-06-28 15:03:08,"Farrukh Aftab Khan" <
> Farrukh.Khan-Q3aQmz5HbGtiL9xFr9M+9AC/G2K4zDHf@public.gmane.org> wrote:
>
>  Hi,
>
> You can check the supported NICs from the release notes provided. They
> also contain the list of supported operating systems. That maybe of help to
> you.
>
> Best regards.
>
>  -
> Farrukh Aftab Khan
>
>
> On Fri, Jun 28, 2013 at 11:39 AM, dvr <jinxiu.1006-9Onoh4P/yGk@public.gmane.org> wrote:
>
>>  hi,all
>>      I'm confused which type of ethernet card that DPDK require.
>>      After I insmod igb_uio.ko, it seems that this driver cann't make my
>> enternet card driven.
>>
>>     Then I find the following code writen in igb_uio.c:
>>
>> static struct pci_device_id igbuio_pci_ids[]={
>> #define RET_PCI_DEV_ID_DECL(vend,dev){PCI_DEVICE(vend,dev)};
>> #include <rte_pci_dev_ids.h>
>> {0,},
>> };
>>
>>       And in rte_pci_dev_ids.h:
>>
>> #ifdef RTE_LIBRTE_IGB_PMD
>> #define E1000_DEV_ID_82576      0x10c9
>> ……
>>
>> #ifdef RTE_LIBRTE_IXGBe\E_PMD
>> #define IXGBE_DEV_ID_82598      0x10b6
>> ……
>>
>> my ethernet card :82575EB, which wasn't in the list above
>> driver:igb,3.2.10-k
>>
>> I will be grateful for any help.
>> Best Regards
>>
>> Maria
>>
>>
>>
>>
>
>
>

[-- Attachment #2: Type: text/html, Size: 4698 bytes --]

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

* Re: The type of ethernet card that DPDK require
       [not found] ` <17edb923.23124.13f8981ba27.Coremail.jinxiu.1006-9Onoh4P/yGk@public.gmane.org>
  2013-06-28  7:03   ` Farrukh Aftab Khan
@ 2013-06-28  8:28   ` Thomas Monjalon
       [not found]     ` <201306281028.02095.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2013-06-28  8:28 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

28/06/2013 08:39, dvr :
>      I'm confused which type of ethernet card that DPDK require.

OK. Since this type of question has already been asked and will probably be 
asked again and again, I will explain it on the website.

For the record, here is how you should search for a supported NIC:

# grep -r 'RTE_PCI_DEV_ID_DECL.*82575' lib
RTE_PCI_DEV_ID_DECL(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575EB_COPPER)
RTE_PCI_DEV_ID_DECL(PCI_VENDOR_ID_INTEL, 	E1000_DEV_ID_82575EB_FIBER_SERDES)
RTE_PCI_DEV_ID_DECL(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575GB_QUAD_COPPER)

So your NIC 82575EB is supported.

As you can see, the source code is a good documentation.
To all users, please try to search in it before asking questions.
-- 
Thomas

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

* Re: The type of ethernet card that DPDK require
       [not found]     ` <201306281028.02095.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
@ 2013-06-28 11:58       ` Farrukh Aftab Khan
  0 siblings, 0 replies; 5+ messages in thread
From: Farrukh Aftab Khan @ 2013-06-28 11:58 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev-VfR2kkLFssw

[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]

Hi Thomas,

Thanks for the clarification and explanation. Much appreciated.
I guess it becomes a little hard for people who have just started working
with DPDK to figure that out.

Thanks for the help.
Best regards.

-
Farrukh Aftab Khan


On Fri, Jun 28, 2013 at 1:28 PM, Thomas Monjalon
<thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>wrote:

> 28/06/2013 08:39, dvr :
> >      I'm confused which type of ethernet card that DPDK require.
>
> OK. Since this type of question has already been asked and will probably be
> asked again and again, I will explain it on the website.
>
> For the record, here is how you should search for a supported NIC:
>
> # grep -r 'RTE_PCI_DEV_ID_DECL.*82575' lib
> RTE_PCI_DEV_ID_DECL(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575EB_COPPER)
> RTE_PCI_DEV_ID_DECL(PCI_VENDOR_ID_INTEL,
>  E1000_DEV_ID_82575EB_FIBER_SERDES)
> RTE_PCI_DEV_ID_DECL(PCI_VENDOR_ID_INTEL, E1000_DEV_ID_82575GB_QUAD_COPPER)
>
> So your NIC 82575EB is supported.
>
> As you can see, the source code is a good documentation.
> To all users, please try to search in it before asking questions.
> --
> Thomas
>

[-- Attachment #2: Type: text/html, Size: 2327 bytes --]

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

end of thread, other threads:[~2013-06-28 11:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-28  6:39 The type of ethernet card that DPDK require dvr
     [not found] ` <17edb923.23124.13f8981ba27.Coremail.jinxiu.1006-9Onoh4P/yGk@public.gmane.org>
2013-06-28  7:03   ` Farrukh Aftab Khan
     [not found]     ` <4a63f461.258b3.13f89c20286.Coremail.jinxiu.1006@163.com>
     [not found]       ` <4a63f461.258b3.13f89c20286.Coremail.jinxiu.1006-9Onoh4P/yGk@public.gmane.org>
2013-06-28  8:11         ` Farrukh Aftab Khan
2013-06-28  8:28   ` Thomas Monjalon
     [not found]     ` <201306281028.02095.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-06-28 11:58       ` Farrukh Aftab Khan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.