[dpdk-dev] [4.4 kernel] kni lockup, kernel dump

2016-04-12 Thread ALeX Wang
I tried compiling both dpdk-2.2 and dpdk-16.04, all have the issue, Thanks, On 12 April 2016 at 17:19, ALeX Wang wrote: > Hi, > > I recently upgraded my debian/jessie to 4.4 kernel, and my application > uses kni to > create test interface, > > However, when doing 'rte_kni_alloc()', i observed

[dpdk-dev] [4.4 kernel] kni lockup, kernel dump

2016-04-12 Thread ALeX Wang
Hi, I recently upgraded my debian/jessie to 4.4 kernel, and my application uses kni to create test interface, However, when doing 'rte_kni_alloc()', i observed the following log in syslog... If i go on trying setting interface via ifconfig, the execution locks up... [ 888.051427] BUG: unable

[dpdk-dev] [PATCH] examples/vm_power_manager: buffer not null terminated

2016-04-12 Thread Daniel Mrzyglod
CID30691: If the buffer is treated as a null terminated string in later operations, a buffer overflow or over-read may occur. In add_vm: The string buffer may not have a null terminator if the source string's length is equal to the buffer size Fixes: e8ae9b662506 ("examples/vm_power: channel

[dpdk-dev] [PATCH] lpm: fix freeing of rules_tbl in rte_lpm_free_v20

2016-04-12 Thread Olivier MATZ
Hi, On 04/12/2016 03:49 PM, Christian Ehrhardt wrote: > Back then when we fixed the missing free lpm I was to quickly to say yes > if it applies not only to the lpm6 but also to all of the lpm code. > > It turned out to not apply to all of them. In rte_lpm_create_v20 there > is an unexpected

[dpdk-dev] Packet drops at lower tc transmit-rates.

2016-04-12 Thread Sridhar.V.Iyer
Hi Cristian, Thanks for the response. > > Another potential workaround could be to change the pipe TC credit update > logic from straightforward re-initialization to a slightly more tuned > strategy that, in some cases, keeps some of the existing credits, so that the > existing credits are

[dpdk-dev] [PATCH] vmxnet3: VLAN tag on end packet, not first

2016-04-12 Thread John Guzik
Signed-off-by: John Guzik Fixes: 9fd5e98b --- drivers/net/vmxnet3/vmxnet3_rxtx.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/net/vmxnet3/vmxnet3_rxtx.c b/drivers/net/vmxnet3/vmxnet3_rxtx.c index 4ac0456..3d4a5eb 100644 ---

[dpdk-dev] [PATCH] lpm: fix freeing of rules_tbl in rte_lpm_free_v20

2016-04-12 Thread Christian Ehrhardt
Back then when we fixed the missing free lpm I was to quickly to say yes if it applies not only to the lpm6 but also to all of the lpm code. It turned out to not apply to all of them. In rte_lpm_create_v20 there is an unexpected fused allocation: mem_size = sizeof(*lpm) +

[dpdk-dev] [PATCH 4/4] port: fix ethdev writer burst too big

2016-04-12 Thread Dumitrescu, Cristian
> -Original Message- > From: Sanford, Robert [mailto:rsanford at akamai.com] > Sent: Monday, April 11, 2016 9:37 PM > To: Dumitrescu, Cristian ; dev at dpdk.org > Cc: Liang, Cunming ; Venkatesan, Venky > ; Richardson, Bruce > > Subject: Re: [dpdk-dev] [PATCH 4/4] port: fix ethdev writer

[dpdk-dev] [PATCH] doc: announce ABI change for rte_port_source_params structure

2016-04-12 Thread Thomas Monjalon
Hi Fan Zhang, 2016-04-07 23:24, Thomas Monjalon: > Please send a patch to remove NEXT_ABI early in the 16.07 cycle. Please could you prepare a patch to remove NEXT_ABI from rte_port? Thanks

[dpdk-dev] [PATCH v1] doc: add template release notes for 16.11

2016-04-12 Thread Thomas Monjalon
2016-04-12 13:01, John McNamara: > Added template release notes for DPDK 16.11 with inline > explanations of the various sections. Excellent, thanks. Would you mind to also initialize the release notes for 16.07? ;)

[dpdk-dev] librte_table build race with SYMLINK-FILE?

2016-04-12 Thread Simon Kågström
On 2016-04-11 20:53, Thomas Monjalon wrote: > 2016-04-11 11:15, Stephen Hemminger: >> On Mon, 11 Apr 2016 12:46:16 +0200 >> Simon K?gstr?m wrote: >>> In file included from [...]lib/librte_table/rte_table_lpm.c:43:0: >>> [...]/dpdk.build/include/rte_lpm.h:484:25: fatal error: rte_lpm_sse.h: >>> No

[dpdk-dev] [PATCH v1] doc: add template release notes for 16.07

2016-04-12 Thread John McNamara
Added template release notes for DPDK 16.07 with inline explanations of the various sections. Signed-off-by: John McNamara --- doc/guides/rel_notes/index.rst | 1 + doc/guides/rel_notes/release_16_07.rst | 160 + 2 files changed, 161 insertions(+)

[dpdk-dev] [PATCH v1] doc: add template release notes for 16.11

2016-04-12 Thread John McNamara
Added template release notes for DPDK 16.11 with inline explanations of the various sections. Signed-off-by: John McNamara --- doc/guides/rel_notes/index.rst | 1 + doc/guides/rel_notes/release_16_11.rst | 160 + 2 files changed, 161 insertions(+)

[dpdk-dev] Pktgen rate issue

2016-04-12 Thread Wiles, Keith
>Hello > >I have been using pktgen for a while and I released that there is no >possibility to set a rate between two whole numbers. > > I looked up the source code and I found out that the rate is stored in >a uint8_t. So, I made a quick-and-dirty change just to check if it is >possible to

[dpdk-dev] [PATCH v1] doc: add template release notes for 16.11

2016-04-12 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, April 12, 2016 1:12 PM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [PATCH v1] doc: add template release notes for 16.11 > > 2016-04-12 13:01, John McNamara: > > Added

[dpdk-dev] Reg: promiscuous mode on VF

2016-04-12 Thread bharath paulraj
Hi Greg, Thanks for your response. I am using the old kernel (2.6.32-573.22.1.el6.x86_64). First I have to update the kernel to version-3.18.4 and will try what you have specified. I will keep you posted with the outcomes. Thanks, Bharath On Sat, Apr 9, 2016 at 2:36 AM, Rose, Gregory V wrote:

[dpdk-dev] [PATCH] l2fwd-crypto: fix supported key size check

2016-04-12 Thread Pablo de Lara
When initializing crypto devices within the app, the provided key sizes are checked against the supported sizes from the crypto device capabilities. When the supported sizes are not a range, but a single value, the check may become an infinite loop (when size is not supported). Fixes:

[dpdk-dev] AF_PACKET poll mode driver

2016-04-12 Thread Rapelly, Varun
Hi, We are facing a problem in DPDK - AF_PACKET poll mode driver. We are able to create RAW socket and receive RTP-Signaling packets successfully and our application is running fine. But if we try doing scp to the same interface we are facing a crash. The stack trace: (gdb) bt #0

[dpdk-dev] Pktgen rate issue

2016-04-12 Thread Iñaki Murillo
Hello I have been using pktgen for a while and I released that there is no possibility to set a rate between two whole numbers. I looked up the source code and I found out that the rate is stored in a uint8_t. So, I made a quick-and-dirty change just to check if it is possible to get a

[dpdk-dev] [PATCH v3 1/4] mempool: add external mempool manager support

2016-04-12 Thread Yuanhan Liu
Hi David, On Wed, Mar 09, 2016 at 09:50:34AM +, David Hunt wrote: > -static struct rte_tailq_elem rte_mempool_tailq = { > +struct rte_tailq_elem rte_mempool_tailq = { Why removing static? I didn't see it's referenced somewhere else. > + if (flags && MEMPOOL_F_INT_HANDLER) { I would

[dpdk-dev] [PATCH v3 0/4] external mempool manager

2016-04-12 Thread Yuanhan Liu
On Wed, Mar 09, 2016 at 09:50:33AM +, David Hunt wrote: ... > The external mempool manager needs to provide the following functions. > 1. alloc - allocates the mempool memory, and adds each object onto a ring > 2. put - puts an object back into the mempool once an application has >

[dpdk-dev] dev stop and buffer releases

2016-04-12 Thread Vithal Mohare
Team, Hit a crash while vmxnet_xmit_pkts()-->vmxnet3_tq_tx_complete() API trying to release completed buffers. As we see in the code, there are two independent paths that clean up completed buffers: 1) vmxnet3_xmit_pkts 2) vmxnet3_dev_stop. In a multi-threaded environment potentially this

[dpdk-dev] [dpdk-announce] DPDK 16.04 released

2016-04-12 Thread Thomas Monjalon
The freshest April fish is there: http://dpdk.org/browse/dpdk/tag/?id=v16.04 The statistics are stable: 704 patches from 102 authors 657 files changed, 60233 insertions(+), 17157 deletions(-) There are 50 new contributors (including authors, reviewers and testers): Thanks

[dpdk-dev] [PATCH] vhost: fix mem share between VM and host

2016-04-12 Thread Yuanhan Liu
On Mon, Apr 11, 2016 at 06:22:12AM +, Xie, Huawei wrote: > On 4/11/2016 1:29 AM, Zhe Tao wrote: > > > > +/* Check the share memory in case the QEMU doesn't set the share option > > + * as on for the memory-backend-file object in the QEMU command line. > > + */ > > + > > +int > >

[dpdk-dev] [PATCH] lib: fix DCB config issue on ixgbe

2016-04-12 Thread Lu, Wenzhuo
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, April 11, 2016 5:52 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib: fix DCB config issue on ixgbe > > 2016-04-11 16:24, Wenzhuo Lu: > > An issue

[dpdk-dev] [PATCH v2] scripts: check commit formatting

2016-04-12 Thread Yuanhan Liu
On Mon, Apr 11, 2016 at 05:39:05PM +0200, Thomas Monjalon wrote: > The git messages have three parts: > 1/ the headline > 2/ the explanations > 3/ the footer tags > > The headline helps to quickly browse an history or catch instantly the > purpose of a commit. Making it short with some consistent

[dpdk-dev] [PATCH] scripts: test build with all stats enabled

2016-04-12 Thread Thomas Monjalon
2016-04-08 11:22, Thomas Monjalon: > These stats will be compiled when adding +debug > to test-build.sh targets: > CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT > CONFIG_RTE_SCHED_COLLECT_STATS > CONFIG_RTE_PORT_STATS_COLLECT > CONFIG_RTE_TABLE_STATS_COLLECT >

[dpdk-dev] [PATCH v2] scripts: check commit formatting

2016-04-12 Thread Thomas Monjalon
2016-04-12 00:13, Yuanhan Liu: > On Mon, Apr 11, 2016 at 05:39:05PM +0200, Thomas Monjalon wrote: > > The git messages have three parts: > > 1/ the headline > > 2/ the explanations > > 3/ the footer tags > > > > The headline helps to quickly browse an history or catch instantly the > > purpose of

[dpdk-dev] [PATCH] doc: fix references in guides

2016-04-12 Thread Thomas Monjalon
2016-04-11 23:54, Thomas Monjalon: > Replace some hard-coded section numbers by dynamic links. > > Signed-off-by: Thomas Monjalon Applied

[dpdk-dev] [PATCH] doc: fix references in guides

2016-04-12 Thread Thomas Monjalon
Replace some hard-coded section numbers by dynamic links. Signed-off-by: Thomas Monjalon --- doc/guides/nics/virtio.rst | 2 +- doc/guides/prog_guide/ip_fragment_reassembly_lib.rst | 2 +- doc/guides/prog_guide/kernel_nic_interface.rst | 2 ++

[dpdk-dev] [PATCH v1] doc: changed nic overview table to clarify supported features

2016-04-12 Thread John McNamara
Changed symbol on NIC overview table from X to Y to help clarify the indicated features are supported. The X caused confusion for some readers. Also, added * character to indicate partially supported features. This can be used in the future to direct the reader to more specific details in the