Embedded Server
Consolidate Considerations of Intel® Xeon and Atom server Hardware, Firmware, Software, and Tools
261 Discussions

Runinng l2fwd DPDK Example on my machine makes me loose the interface

TS5
Beginner
2,010 Views

Hi All,

I am new to intel DPDK and trying out some examples.

Below is the list of interfaces that i have.

after i run l2fwd example,I loose eth0,eth1,eth2,eth3 interface as a result of which i loose the connectivity to the box.

Ifconfig doesn't show eth0,eth1,eth2,eth4 all being Intel NIC's.

Please let me know how to run the examples on specific interface and if i am missing something.

Please find the interface and other information below.

Let me know if you need any more info.

Thanks

Thilak Raj S

==========================================================================================

[root@thilak]# ethtool -i eth0

driver: igb

version: 2.1.0-k2

firmware-version: 1.4-3

bus-info: 0000:0a:00.0

[root@thilak]# ethtool -i eth1

driver: igb

version: 2.1.0-k2

firmware-version: 1.4-3

bus-info: 0000:0a:00.1

[root@thilak]# ethtool -i eth2

driver: ixgbe

version: 2.0.62-k2

firmware-version: 1.8-0

bus-info: 0000:07:00.0

[root@thilak]# ethtool -i eth3

driver: ixgbe

version: 2.0.62-k2

firmware-version: 1.8-0

bus-info: 0000:07:00.1

[root@thilak]# ethtool -i eth4

driver: e1000e

version: 1.0.2-k2

firmware-version: 1.8-0

bus-info: 0000:03:00.0

[root@thilak]# ethtool -i eth5

driver: e1000e

version: 1.0.2-k2

firmware-version: 1.8-0

bus-info: 0000:02:00.0

==========================================================================================

etho interface is a

[root@thilak]# ifconfig

eth0 Link encap:Ethernet HWaddr 00:E0:81:C3:9E:B8

inet addr:10.157.43.209 Bcast:10.157.63.255 Mask:255.255.224.0

inet6 addr: fe80::2e0:81ff:fec3:9eb8/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:2187 errors:0 dropped:0 overruns:0 frame:0

TX packets:40 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:134004 (130.8 KiB) TX bytes:5852 (5.7 KiB)

Memory:fbe20000-fbe40000

eth1 Link encap:Ethernet HWaddr 00:E0:81:C3:9E:B9

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Memory:fbee0000-fbf00000

eth2 Link encap:Ethernet HWaddr 00:18:7D:20:F8:2A

inet6 addr: fe80::218:7dff:fe20:f82a/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:6 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)

eth3 Link encap:Ethernet HWaddr 00:18:7D:20:F8:2B

inet6 addr: fe80::218:7dff:fe20:f82b/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:4 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:308 (308.0 b)

eth4 Link encap:Ethernet HWaddr 00:E0:81:C3:9E:21

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Memory:fb2e0000-fb300000

eth5 Link encap:Ethernet HWaddr 00:E0:81:C3:9E:20

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Memory:fb1e0000-fb200000

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

virbr0 Link encap:Ethernet HWaddr 52:54:00:24:62:B4

inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:13 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:3547 (3.4 KiB)

====================================================================================================

[root@thilak]# cat /proc/cpuinfo

processor : 0

vendor_id : GenuineIntel

cpu family : 6

model : 26

model name : Intel(R) Xeon(R) CPU L5518 @ 2.13GHz

stepping : 5

cpu MHz : 1600.000

cache size : 8192 KB

physical id : 0

siblings : 8

core id : 0

cpu cores : 4

apicid : 0

initial apicid : 0

fpu : yes

fpu_exception : yes

cpuid level : 11

wp : yes

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid

bogomips : 4266.36

clflush size : 64

cache_alignment : 64

address sizes : 40 bits physical, 48 bits virtual

power management:

processor : 1

vendor_id : GenuineIntel

cpu family : 6

model : 26

model name : Intel(R) Xeon(R) CPU L5518 @ 2.13GHz

stepping : 5

cpu MHz : 1600.000

cache size : 8192 KB

physical id : 0

siblings : 8

core id : 1

cpu cores : 4

apicid : 2

initial apicid : 2

fpu : yes

fpu_exception : yes

cpuid level : 11

wp : yes

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid

bogomips : 4266.02

clflush size...

0 Kudos
1 Reply
TS5
Beginner
1,039 Views

logs from /var/log/messages

Apr 4 03:31:12 thilak-mfc-linux kernel: igb 0000:0a:00.0: DCA disabled

Apr 4 03:31:12 thilak-mfc-linux avahi-daemon[2508]: Interface eth0.IPv4 no longer relevant for mDNS.

Apr 4 03:31:12 thilak-mfc-linux avahi-daemon[2508]: Leaving mDNS multicast group on interface eth0.IPv4 with address 10.157.43.209.

Apr 4 03:31:12 thilak-mfc-linux kernel: igb 0000:0a:00.0: PCI INT A disabled

Apr 4 03:31:12 thilak-mfc-linux avahi-daemon[2508]: Withdrawing address record for fe80::2e0:81ff:fec3:9eb8 on eth0.

Apr 4 03:31:12 thilak-mfc-linux avahi-daemon[2508]: Withdrawing address record for 10.157.43.209 on eth0.

Apr 4 03:31:12 thilak-mfc-linux kernel: igb_uio 0000:0a:00.0: PCI INT A -> GSI 28 (level, low) -> IRQ 28

Apr 4 03:31:12 thilak-mfc-linux kernel: uio device registered with irq 3a

Apr 4 03:31:12 thilak-mfc-linux rte[7308]: EAL: rte_memzone_reserve(): No appropriate segment found

Apr 4 03:31:12 thilak-mfc-linux rte[7308]: EAL: pci_uio_map_resource(): cannot store uio mmap details

Apr 4 03:31:12 thilak-mfc-linux kernel: igb 0000:0a:00.1: DCA disabled

Apr 4 03:31:12 thilak-mfc-linux kernel: igb 0000:0a:00.1: PCI INT B disabled

Apr 4 03:31:12 thilak-mfc-linux kernel: igb_uio 0000:0a:00.1: PCI INT B -> GSI 40 (level, low) -> IRQ 40

Apr 4 03:31:12 thilak-mfc-linux kernel: uio device registered with irq 3b

Apr 4 03:31:12 thilak-mfc-linux rte[7308]: EAL: rte_memzone_reserve(): No appropriate segment found

Apr 4 03:31:12 thilak-mfc-linux rte[7308]: EAL: pci_uio_map_resource(): cannot store uio mmap details

Apr 4 03:31:12 thilak-mfc-linux NET[7413]: /etc/sysconfig/network-scripts/ifdown-post : updated /etc/resolv.conf

Apr 4 03:31:13 thilak-mfc-linux avahi-daemon[2508]: Interface eth2.IPv4 no longer relevant for mDNS.

Apr 4 03:31:13 thilak-mfc-linux avahi-daemon[2508]: Leaving mDNS multicast group on interface eth2.IPv4 with address 192.168.1.1.

Apr 4 03:31:13 thilak-mfc-linux avahi-daemon[2508]: Withdrawing address record for fe80::218:7dff:fe20:f82a on eth2.

Apr 4 03:31:13 thilak-mfc-linux avahi-daemon[2508]: Withdrawing address record for 192.168.1.1 on eth2.

Apr 4 03:31:13 thilak-mfc-linux NET[7431]: /etc/sysconfig/network-scripts/ifdown-post : updated /etc/resolv.conf

Apr 4 03:31:13 thilak-mfc-linux kernel: ixgbe: eth2: ixgbe_remove: complete

Apr 4 03:31:13 thilak-mfc-linux kernel: ixgbe 0000:07:00.0: PCI INT A disabled

Apr 4 03:31:13 thilak-mfc-linux kernel: igb_uio 0000:07:00.0: PCI INT A -> GSI 26 (level, low) -> IRQ 26

Apr 4 03:31:13 thilak-mfc-linux kernel: uio device registered with irq 3c

Apr 4 03:31:13 thilak-mfc-linux rte[7308]: EAL: rte_memzone_reserve(): No appropriate segment found

Apr 4 03:31:13 thilak-mfc-linux rte[7308]: EAL: pci_uio_map_resource(): cannot store uio mmap details

Apr 4 03:31:13 thilak-mfc-linux avahi-daemon[2508]: Interface eth3.IPv4 no longer relevant for mDNS.

Apr 4 03:31:13 thilak-mfc-linux avahi-daemon[2508]: Leaving mDNS multicast group on interface eth3.IPv4 with address 192.168.3.1.

Apr 4 03:31:13 thilak-mfc-linux avahi-daemon[2508]: Withdrawing address record for fe80::218:7dff:fe20:f82b on eth3.

Apr 4 03:31:13 thilak-mfc-linux avahi-daemon[2508]: Withdrawing address record for 192.168.3.1 on eth3.

Apr 4 03:31:13 thilak-mfc-linux kernel: ixgbe: eth3: ixgbe_remove: complete

Apr 4 03:31:13 thilak-mfc-linux kernel: ixgbe 0000:07:00.1: PCI INT B disabled

Apr 4 03:31:13 thilak-mfc-linux kernel: igb_uio 0000:07:00.1: PCI INT B -> GSI 25 (level, low) -> IRQ 25

Apr 4 03:31:13 thilak-mfc-linux kernel: uio device registered with irq 3d

Apr 4 03:31:13 thilak-mfc-linux rte[7308]: EAL: rte_memzone_reserve(): No appropriate segment found

Apr 4 03:31:13 thilak-mfc-linux rte[7308]: EAL: pci_uio_map_resource(): cannot store uio mmap details

Apr 4 03:31:13 thilak-mfc-linux rte[7308]: EAL: Error - exiting with code: 1# 012Cause:

Apr 4 03:31:13 thilak-mfc-linux rte[7308]: check_port_config failed

Apr 4 03:33:01 thilak-mfc-linux init: tty (/dev/tty1) main process (3118) killed by TERM signal

Apr 4 03:33:01 thilak-mfc-linux init: tty (/dev/tty2) main process (3120) killed by TERM signal

Apr 4 03:33:01 thilak-mfc-linux init: tty (/dev/tty3) main process (3122) killed by TERM signal

Apr 4 03:33:01 thilak-mfc-linux init: tty (/dev/tty4) main process (3126) killed by TERM signal

Apr 4 03:33:01 thilak-mfc-linux init: tty (/dev/tty5) main process (3130) killed by TERM signal

Apr 4 03:33:01 thilak-mfc-linux init: tty (/dev/tty6) main process (3134) killed by TERM signal

Apr 4 03:33:02 thilak-mfc-linux avahi-daemon[2508]: Withdrawing address record for fe80::fc52:ff:fe2a:580e on vnet0.

Apr 4 03:33:02 thilak-mfc-linux dnsmasq[3155]: no servers found in /etc/resolv.conf, will retry

Apr 4 03:33:02 thilak-mfc-linux kernel: virbr0: port 2(vnet0) entering disabled state

Apr 4 03:33:02 thilak-mfc-linux kernel: device vnet0 left promiscuous mode

Apr 4 03:33:02 thilak-mfc-linux kernel: virbr0: port 2(vnet0) entering disabled state

Apr 4 03:33:04 thilak-mfc-linux avahi-daemon[2508]: Withdrawing address record for fe80::fc54:ff:fe9d:84d4 on vnet1.

Apr 4 03:33:04 thilak-mfc-linux kernel: virbr0: port 3(vnet1) entering disabled state

Apr 4 03:33:04 thilak-mfc-linux kernel: device vnet1 left promiscuous mode

Apr 4 03:33:04 thilak-mfc-linux kernel: virbr0: port 3(vnet1) entering disabled state

Apr 4 03:33:05 thilak-mfc-linux avahi-daemon[2508]: Got SIGTERM, quitting.

0 Kudos
Reply