[dpdk-dev] Queries on Pktgen

2015-03-15 Thread Shankari Vaidyalingam
Hi,

For testing an application that I'd developed,  I'd like to send LLDP
frames from pktgen to the NIC port and then use DPDK to receive packets
from the port and process the packets.

I have a PCAP file which contains LLDP frames in it.
I heard that pktgen has the ability to generate the packets specified in
input pcap file.
I checked the options available with pktgen and can see only -s and -f
options to be relevant.
But -s option seems to indicate the output pcap file, and -f option is for
specifying the Lua script or command list to execute.

Hence please let me know which option I need to use for specifying the
input pcap file from which the pktgen should generate the packets from,
 Also would like to know how I can specify the transmit and receive ports
separately in the pktgen commandline


Regards
Shankari.V


[dpdk-dev] Lua documentation - Pktgen

2015-03-15 Thread Shankari Vaidyalingam
Hi,

Would like to know if there is some document available for understanding
how to write Lua script to use with pktgen.

Regards
Shankari


[dpdk-dev] [RFC PATCH 5/7] add OSv support

2015-03-15 Thread Neil Horman
On Fri, Mar 13, 2015 at 06:05:46AM +0900, Takuya ASADA wrote:
> Adding OSv support.
> Based on Linux/FreeBSD EAL, but calling OSv kernel APIs to access devices, 
> allocate contiguous memory, etc.
>
> +
> +include $(RTE_SDK)/mk/rte.vars.mk
> +
> +LIB = librte_eal.a
> +
> +EXPORT_MAP := rte_eal_version.map
> +
You never coppied over the version map. How does this build for shared
libraries?




[dpdk-dev] Queries on Pktgen

2015-03-15 Thread Wiles, Keith


From: Shankari Vaidyalingam mailto:shankari.v...@gmail.com>>
Date: Sunday, March 15, 2015 at 2:53 AM
To: "dev at dpdk.org" mailto:dev at 
dpdk.org>>
Cc: Keith Wiles mailto:keith.wiles at intel.com>>
Subject: Queries on Pktgen

Hi,

For testing an application that I'd developed,  I'd like to send LLDP frames 
from pktgen to the NIC port and then use DPDK to receive packets from the port 
and process the packets.

I have a PCAP file which contains LLDP frames in it.
I heard that pktgen has the ability to generate the packets specified in input 
pcap file.
I checked the options available with pktgen and can see only -s and -f options 
to be relevant.
But -s option seems to indicate the output pcap file, and -f option is for 
specifying the Lua script or command list to execute.

KW: The -s P:PCAP_file is used to define the port and file for sending via 
Pktgen, so the ?s option is the correct one to use.

Hence please let me know which option I need to use for specifying the input 
pcap file from which the pktgen should generate the packets from,
 Also would like to know how I can specify the transmit and receive ports 
separately in the pktgen commandline


Regards
Shankari.V


[dpdk-dev] Lua documentation - Pktgen

2015-03-15 Thread Wiles, Keith


On 3/15/15, 2:54 AM, "Shankari Vaidyalingam" 
wrote:

>Hi,
>
>Would like to know if there is some document available for understanding
>how to write Lua script to use with pktgen.

Goto www.lua.org and look at the example scripts. Lua is pretty easy to
learn and you need to know Lua a bit before understanding how I used Lua
in Pktgen.

Regards,
++Keith
>
>Regards
>Shankari