DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] I could not execute multi process client server sample application
@ 2017-06-30 11:58 RanjithKumar
  2017-06-30 21:05 ` Rosen, Rami
  0 siblings, 1 reply; 2+ messages in thread
From: RanjithKumar @ 2017-06-30 11:58 UTC (permalink / raw)
  To: users

Hello All,

I have installed DPDK and able to execute the hello world sample
application. But i could not execute multi process server client sample
application. i am getting below highlighted error while executing server
application.

labadmin@labadmin-ThinkCentre-A58:~/dpdk_install_sat/dpdk-stable-17.02.1/examples/multi_process/client_server_mp/mp_server/mp_server/x86_64-native-linuxapp-gcc$
sudo ./mp_server -c 2 -n 4 -- -p 3 -n 1
EAL: Detected 2 lcore(s)
EAL: Probing VFIO support...
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable
clock cycles !
WARNING: requested port 0 not present - ignoring
WARNING: requested port 1 not present - ignoring

./mp_server [EAL options] -- -p PORTMASK -n NUM_CLIENTS [-s NUM_SOCKETS]
 -p PORTMASK: hexadecimal bitmask of ports to use
 -n NUM_CLIENTS: number of client processes to use


*The below is the output of bind status*:

labadmin@labadmin-ThinkCentre-A58:~/dpdk_install_sat/dpdk-stable-17.02.1/usertools$
./dpdk-devbind.py -s

Network devices using DPDK-compatible driver
============================================
0000:02:00.0 '88E8057 PCI-E Gigabit Ethernet Controller' drv=igb_uio unused=

Network devices using kernel driver
===================================
0000:03:04.0 'VT6105/VT6106S [Rhine-III]' if=eth0 drv=via-rhine
unused=igb_uio *Active*

Other network devices
=====================
<none>

Crypto devices using DPDK-compatible driver
===========================================
<none>

Crypto devices using kernel driver
==================================
<none>

Other crypto devices
====================
<none>

*The below is CPU layout output:*

labadmin@labadmin-ThinkCentre-A58:~/dpdk_install_sat/dpdk-stable-17.02.1/usertools$
./cpu_layout.py
============================================================
Core and Socket Information (as reported by '/proc/cpuinfo')
============================================================

cores =  [0, 1]
sockets =  [0]

       Socket 0
       --------
Core 0 [0]
Core 1 [1]
labadmin@labadmin-ThinkCentre-A58
:~/dpdk_install_sat/dpdk-stable-17.02.1/usertools$

Please let me know if i missed anything.

Regards,
Ranjith

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

* Re: [dpdk-users] I could not execute multi process client server sample application
  2017-06-30 11:58 [dpdk-users] I could not execute multi process client server sample application RanjithKumar
@ 2017-06-30 21:05 ` Rosen, Rami
  0 siblings, 0 replies; 2+ messages in thread
From: Rosen, Rami @ 2017-06-30 21:05 UTC (permalink / raw)
  To: RanjithKumar, users

Hi Ranjith,
Which network device are you binding ? 
DPDK supports over 20 types of nics, listed here:
http://dpdk.org/doc/nics

Do you see your nic (the one that you bind to dpdk, with PCI ID 
0000:02:00.0) in this list ? 

I would guess that this is Marvell NIC (due to 88E8057 in the output of ./dpdk-devbind.py -s). In the list of DPDK supported NICs there is no NIC from Marvell.

Regards,
Rami Rosen


-----Original Message-----
From: users [mailto:users-bounces@dpdk.org] On Behalf Of RanjithKumar
Sent: Friday, June 30, 2017 14:58
To: users@dpdk.org
Subject: [dpdk-users] I could not execute multi process client server sample application

Hello All,

I have installed DPDK and able to execute the hello world sample application. But i could not execute multi process server client sample application. i am getting below highlighted error while executing server application.

labadmin@labadmin-ThinkCentre-A58:~/dpdk_install_sat/dpdk-stable-17.02.1/examples/multi_process/client_server_mp/mp_server/mp_server/x86_64-native-linuxapp-gcc$
sudo ./mp_server -c 2 -n 4 -- -p 3 -n 1
EAL: Detected 2 lcore(s)
EAL: Probing VFIO support...
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
WARNING: requested port 0 not present - ignoring
WARNING: requested port 1 not present - ignoring

./mp_server [EAL options] -- -p PORTMASK -n NUM_CLIENTS [-s NUM_SOCKETS]  -p PORTMASK: hexadecimal bitmask of ports to use  -n NUM_CLIENTS: number of client processes to use


*The below is the output of bind status*:

labadmin@labadmin-ThinkCentre-A58:~/dpdk_install_sat/dpdk-stable-17.02.1/usertools$
./dpdk-devbind.py -s

Network devices using DPDK-compatible driver ============================================
0000:02:00.0 '88E8057 PCI-E Gigabit Ethernet Controller' drv=igb_uio unused=

Network devices using kernel driver
===================================
0000:03:04.0 'VT6105/VT6106S [Rhine-III]' if=eth0 drv=via-rhine unused=igb_uio *Active*

Other network devices
=====================
<none>

Crypto devices using DPDK-compatible driver ===========================================
<none>

Crypto devices using kernel driver
==================================
<none>

Other crypto devices
====================
<none>

*The below is CPU layout output:*

labadmin@labadmin-ThinkCentre-A58:~/dpdk_install_sat/dpdk-stable-17.02.1/usertools$
./cpu_layout.py
============================================================
Core and Socket Information (as reported by '/proc/cpuinfo') ============================================================

cores =  [0, 1]
sockets =  [0]

       Socket 0
       --------
Core 0 [0]
Core 1 [1]
labadmin@labadmin-ThinkCentre-A58
:~/dpdk_install_sat/dpdk-stable-17.02.1/usertools$

Please let me know if i missed anything.

Regards,
Ranjith

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

end of thread, other threads:[~2017-06-30 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-30 11:58 [dpdk-users] I could not execute multi process client server sample application RanjithKumar
2017-06-30 21:05 ` Rosen, Rami

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).