[dpdk-dev] [PATCH] mbuf: fix atomic refcnt update synchronization

2016-09-03 Thread Ananyev, Konstantin
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Linzhe Lee > Sent: Saturday, September 3, 2016 3:05 AM > To: Stephen Hemminger > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mbuf: fix atomic refcnt update synchronization > > yes,stephen. > > m

[dpdk-dev] [RFC][PATCH 2/3] examples/vhost: Add vswitch command line options

2016-09-03 Thread Pankaj Chauhan
On 9/2/2016 8:14 PM, Maxime Coquelin wrote: > > > On 08/27/2016 06:26 PM, Pankaj Chauhan wrote: >> Add command line options for selecting switch implementation >> and maximum ports for the vswitch.following are two new command >> line options: >> >> --switch [char string, Selects the switch imleme

[dpdk-dev] [RFC][PATCH 1/3] examples/vhost: Add vswitch (generic switch) framework

2016-09-03 Thread Pankaj Chauhan
On 9/2/2016 7:47 PM, Maxime Coquelin wrote: > > Hi Pankaj, > > Sorry for the late review. Hi Maxime, No problem :) Thanks for the review, and it came just in time. I am almost done with testing the patchset for intel (with vmdq) and i was about to send the next version tomorrow. Now that i'v

[dpdk-dev] Loading external PMD

2016-09-03 Thread faust1002
Hello, I want to write my own PMD for testing and debugging purposes. I compiled it as shared library and I was going to load it using "-d" option. Unfortunately, it didn't work. I walked through DPDK source code I found out that "-d" options does hardly anything (please correct me if I am wrong

[dpdk-dev] [dpdk-users] ixgbe drop all the packet

2016-09-03 Thread wei wang
it seems that set fdir port conf cause the problem,just add fdir conf in the port_conf, don't add any fdir rules. set port conf like this in the l2fwd code. static const struct rte_eth_conf port_conf = { .rxmode = { .split_hdr_size = 0, .header_split = 0,

[dpdk-dev] [PATCH] mbuf: fix atomic refcnt update synchronization

2016-09-03 Thread Linzhe Lee
yes,stephen. my config file here: http://pastebin.com/N0RKGArh 2016-09-03 0:51 GMT+08:00 Stephen Hemminger : > On Sat, 3 Sep 2016 00:31:50 +0800 > Linzhe Lee wrote: > >> Thanks for reply, Stephen. >> >> >> >> I'm in x86-64, my cpu is `Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz`. >> >> >> >> When

[dpdk-dev] [PATCH] mbuf: fix atomic refcnt update synchronization

2016-09-03 Thread Linzhe Lee
Thanks for reply, Stephen. I'm in x86-64, my cpu is `Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz`. When allocation mbuf in program1, and transfer it to program2 for free via ring, the program1 might meet assert in allocate mbuf sometimes. (`RTE_ASSERT(rte_mbuf_refcnt_read(m) == 0);`) but whe