[dpdk-dev] share a table

2016-03-13 Thread 张伟
Hi all, Now I use the DPDK multiple process example : client -server. I want the server create a hash table, then share it to client. Currently what I do is to create_hash_table function returns a pointer which points to the flow table (inside the create_hash_table function, I use rte_calloc

[dpdk-dev] [PATCH v9 0/5] Support VxLAN & NVGRE checksum off-load on X550

2016-03-13 Thread Thomas Monjalon
2016-03-10 10:42, Wenzhuo Lu: > This patch set add the VxLAN & NVGRE checksum off-load support. > Both RX and TX checksum off-load can be used for VxLAN & NVGRE. > And the VxLAN port can be set, it's implemented in this patch > set either. I've removed the old function name and Applied, thanks

[dpdk-dev] [PATCH v8 1/4] lib/ether: optimize struct rte_eth_tunnel_filter_conf

2016-03-13 Thread Thomas Monjalon
2016-03-10 11:05, Jingjing Wu: > From: Xutao Sun > > Change the fields of outer_mac and inner_mac in struct > rte_eth_tunnel_filter_conf from pointer to struct in order to > keep the code's readability. It breaks compilation of examples/tep_termination. > --- a/app/test-pmd/cmdline.c > +++ b/ap

[dpdk-dev] [PATCH v8 0/4] This patch set adds tunnel filter support for IP in GRE on i40e.

2016-03-13 Thread Thomas Monjalon
2016-03-10 11:05, Jingjing Wu: > Xutao Sun (4): > lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure > lib/ether: add IP in GRE type > driver/i40e: implement tunnel filter for IP in GRE > app/test-pmd: test tunnel filter for IP in GRE I've done the changes for ether_addr_copy an

[dpdk-dev] dpdk hash lookup function crashed (segment fault)

2016-03-13 Thread 张伟
Hi all, When I use the dpdk lookup function, I met the segment fault problem. Can anybody help to look at why this happens. I will put the aim what I want to do and the related piece of code, and my debug message, This problem is that in dpdk multi process - client and server example, dpdk-

[dpdk-dev] [PATCH v4 0/4] Add PCAP support to source and sink port

2016-03-13 Thread Thomas Monjalon
2016-03-11 17:08, Fan Zhang: > This patchset adds feature to source and sink type port in librte_port > library, and to examples/ip_pipline. Originally, source/sink ports act > as input and output of NULL packets generator. This patchset enables > them read from and write to specific PCAP file, to

[dpdk-dev] [PATCH v3] ip_pipeline: add load balancing function to pass-through pipeline

2016-03-13 Thread Thomas Monjalon
2016-03-10 15:29, Jasvinder Singh: > The pass-through pipeline implementation is extended with load balancing > function. This function allows uniform distribution of the packets among > its output ports. For packets distribution, any application level logic > can be applied. For instance, in this

[dpdk-dev] [PATCH] app/test-pmd: add support for zero rx and tx queues

2016-03-13 Thread Thomas Monjalon
> > Added testpmd support to validate zero nb_rxq/nb_txq > > changes of librte_ether. > > > > Signed-off-by: Reshma Pattan > > Acked-by: Pablo de Lara Applied, thanks

[dpdk-dev] [PATCH] pipeline: use unsigned constants for left shift operations

2016-03-13 Thread Thomas Monjalon
2016-03-10 15:49, Panu Matilainen: > --- a/examples/ip_pipeline/pipeline/pipeline_routing.c > +++ b/examples/ip_pipeline/pipeline/pipeline_routing.c > @@ -319,7 +319,7 @@ app_pipeline_routing_add_route(struct app_params *app, > if ((depth == 0) || (depth > 32)) >

[dpdk-dev] [PATCH] pipeline: use unsigned constants for left shift operations

2016-03-13 Thread Thomas Monjalon
> > Tell the compiler to use unsigned constants for left shift ops, > > otherwise building with gcc >= 6.0 fails due to multiple warnings like: > > warning: left shift of negative value [-Wshift-negative-value] > > > > Signed-off-by: Panu Matilainen > > Acked-by: Cristian Dumitrescu Applied wi

[dpdk-dev] [PATCH v3 0/3] mk: add DT_NEEDED entries for external library deps

2016-03-13 Thread Thomas Monjalon
2016-03-10 15:15, Panu Matilainen: > Add hopefully all the remaining missing DT_NEEDED entries for external > library dependencies on the libraries side: librte_vhost, librte_sched > and librte_eal. > > Panu Matilainen (3): > mk: clear up libm and librt linkage confusion > mk: add DT_NEEDED en

[dpdk-dev] [PATCH 0/3] sched: patches for 2.2

2016-03-13 Thread Thomas Monjalon
2016-03-08 07:49, Dumitrescu, Cristian: > We are working on implementing an alternative solution based on 2x 64-bit > multiplication, which is supported by CPUs and compilers for more than a > decade now. The 32-bit solution proposed by Stephen requires truncation with > some loss of precision,

[dpdk-dev] [PATCH] eal:Change log output to DEBUG instead of INFO

2016-03-13 Thread Thomas Monjalon
2015-09-10 14:40, Keith Wiles: > When log level is set to 7 (INFO) these messages are still displayed > and should be set to DEBUG. > > Signed-off-by: Keith Wiles Applied, thanks

[dpdk-dev] [PATCH 0/3] sched: patches for 2.2

2016-03-13 Thread Dumitrescu, Cristian
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Sunday, March 13, 2016 10:26 PM > To: Dumitrescu, Cristian ; Stephen > Hemminger > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/3] sched: patches for 2.2 > > 2016-03-08 07:49, Dumitrescu

[dpdk-dev] [PATCH] hash: fix memcmp function pointer in multi-process environment

2016-03-13 Thread Dhana Eadala
We found a problem in dpdk-2.2 using under multi-process environment. Here is the brief description how we are using the dpdk: We have two processes proc1, proc2 using dpdk. These proc1 and proc2 are two different compiled binaries. proc1 is started as primary process and proc2 as secondary proces