rumpkernel / drv-netif-dpdk

DPDK interface driver for userspace TCP/IP stack
Other
196 stars 54 forks source link

Cannot run TCP web browser #7

Closed SGU-SLCC closed 10 years ago

SGU-SLCC commented 10 years ago

I got following error while trying to run TCP example web browser given: EAL: Setting up memory... EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f49d2c00000 (size = 0x200000) EAL: Ask a virtual area of 0x3e000000 bytes EAL: Virtual area found at 0x7f4994a00000 (size = 0x3e000000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f4994400000 (size = 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f4994000000 (size = 0x200000) EAL: Requesting 500 pages of size 2MB from socket 0 EAL: TSC frequency is ~800000 KHz EAL: Master core 0 is ready (tid=dc11d800) warning dpdkif0: no ports VIFHYPER_CREATE failed: 1 webbrowser: create dpdk0: 1 rump kernel halting... halted I'm not sure if i changed configure.h properly because I don't know how to find the information asked there and so I kept the default values except for port. Here is my configure.h content: static const char *ealargs[] = { "if_dpdk",

if 0

"-b 00:00:03.0",

endif

"-c 1",
"-n 1",

};

/* change PORTID to the one your want to use */

define IF_PORTID 5001

/* change to the init method of your NIC driver */

ifndef PMD_INIT

define PMD_INIT rte_pmd_init_all

endif

/* Receive packets in bursts of 16 per read */

define MAX_PKT_BURST 16

anttikantee commented 10 years ago

Use e.g. testpmd in DPDK to figure out the parameters.

IF_PORTID is the ethernet device port id (not e.g. a TCP port).

anttikantee commented 10 years ago

misconfiguration, not software bug