[dpdk-dev] How to run intel dpdk apps on '82574L Gigabit Network Connection' NIC cards

Zhang, Helin helin.zhang at intel.com
Thu Jan 15 07:41:26 CET 2015


Check the device ID can know if your NIC is supported by dpdk or not.

"Lspci -nn | grep Eth" will show like below, 1521 is the device ID.
04:00.0 Ethernet controller [0200]: Intel Corporation I350 Gigabit Network Connection [8086:1521]
Then check rte_pci_dev_ids.h to see if that device ID is listed in that file or not, then you know if your NIC is supported or not.

Regards,
Helin

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of ayon jyoti Biswas
> Sent: Thursday, January 15, 2015 2:29 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] How to run intel dpdk apps on '82574L Gigabit Network
> Connection' NIC cards
> 
> hi,
> i have two* '82574L Gigabit Network Connection'*  NIC cards .
> Can i run dpdk application with this interfaces .
> i have binded to igb_uio . My l2forward application is successfully getting
> initialized but could not receive/transmit traffic .
> How can i run dpdk l2fwd application with this NIC cards .
> 
> 
> 
> ./build/app/l2fwd -c 0x3 -n 2 -m 512 -- -p 0x3
> 
> EAL: Ask a virtual area of 0x200000 bytes
> EAL: Virtual area found at 0x7f8bbaa00000 (size = 0x200000)
> EAL: Ask a virtual area of 0xffc00000 bytes
> EAL: Virtual area found at 0x7f8abac00000 (size = 0xffc00000)
> EAL: Ask a virtual area of 0x200000 bytes
> EAL: Virtual area found at 0x7f8aba800000 (size = 0x200000)
> EAL: Requesting 256 pages of size 2MB from socket 0
> EAL: TSC frequency is ~3192736 KHz
> EAL: Master core 0 is ready (tid=bb5be800)
> EAL: Core 1 is ready (tid=b9ffe700)
> EAL: PCI device 0000:02:00.0 on NUMA socket -1
> EAL:   probe driver: 8086:10d3 rte_em_pmd
> EAL:   PCI memory mapped at 0x7f8bb95de000
> EAL:   PCI memory mapped at 0x7f8bb955e000
> EAL:   PCI memory mapped at 0x7f8bb955a000
> EAL: PCI device 0000:03:00.0 on NUMA socket -1
> EAL:   probe driver: 8086:10d3 rte_em_pmd
> EAL:   PCI memory mapped at 0x7f8bb953a000
> EAL:   PCI memory mapped at 0x7f8bb94ba000
> EAL:   PCI memory mapped at 0x7f8bb94b6000
> 
> ************NUMBER OF PORTS=2**********
> Lcore 0: RX port 0
> Lcore 1: RX port 1
> Initializing port 0...
>  ***********PORTID= 0*********
> 
> 
> ./tools/pci_unbind.py --status
> 
> Network devices using IGB_UIO driver
> ====================================
> 0000:02:00.0 '82574L Gigabit Network Connection' drv=igb_uio
> unused=e1000e
> 0000:03:00.0 '82574L Gigabit Network Connection' drv=igb_uio
> unused=e1000e
> 
> 
> ethtool -i eth3
> driver: e1000e
> version: 2.1.4-k
> firmware-version: 1.8-0
> bus-info: 0000:03:00.0
> supports-statistics: yes
> supports-test: yes
> supports-eeprom-access: yes
> supports-register-dump: yes
> supports-priv-flags: no
> 
> ethtool -i eth4
> driver: e1000e
> version: 2.1.4-k
> firmware-version: 1.8-0
> bus-info: 0000:02:00.0
> supports-statistics: yes
> supports-test: yes
> supports-eeprom-access: yes
> supports-register-dump: yes
> supports-priv-flags: no
> 
> 
> thanks
> ayon


More information about the dev mailing list