[dpdk-dev] [PATCH] Fix buffer overflow issue in app/test/commands.c(we add 1 extra byte for trailing \0).

2016-03-05 Thread Thomas Monjalon
Hi, 2016-02-25 23:11, Ming Zhao: > Fix memleak of cmdline in app/test/test.c It looks to be two different fixes: - an overflow - a memleak Please send 2 patches, with Fixes lines (even if is there since the first commit), with Signed-off-by line. See http://dpdk.org/doc/guides/contributing/patc

[dpdk-dev] [PATCH v2] app/testpmd Fix max_socket detection

2016-03-05 Thread Thomas Monjalon
> > Previously, max_socket was set to the highest numbered socket with > > an enabled lcore. The intent is to set it to the highest socket > > regardless of it being enabled. > > > > Change-Id: I6306af0f90aa3c1fc5ffed75d1eed8297d29e132 > > Signed-off-by: Stephen Hurd > > Acked-by: Pablo de Lara

[dpdk-dev] [PATCH v4] testpmd: fix wrong prompt in tx_vlan set command handler

2016-03-05 Thread Thomas Monjalon
> > When using testpmd, sometimes we forget the right order of port_id and > > vid in "tx_vlan set (port_id) vlan_id[, vlan_id_outer]\n" command, and > > input "tx_vlan set 51 0", we'll get a strange prompt saying "Error, as > > QinQ has been enabled.". > > > > In cmd_tx_vlan_set_parsed function,

[dpdk-dev] [PATCH] config: remove EAL flags for OS environment

2016-03-05 Thread Thomas Monjalon
2016-03-05 00:45, Wiles, Keith: > >CONFIG_RTE_LIBRTE_EAL_*APP can be replaced by CONFIG_RTE_EXEC_ENV_*APP. > > > >Signed-off-by: Thomas Monjalon > > Acked-by: Keith Wiles Applied

[dpdk-dev] [PATCH] eal: arm64: introduce RTE_CPUFLAG_ATOMICS

2016-03-05 Thread Thomas Monjalon
2016-03-02 15:06, Jan Viktorin: > On Wed, 2 Mar 2016 18:50:59 +0530 > Jerin Jacob wrote: > > > armv8.1 adds support for new atomic instructions. > > Linux kernel v4.3 onwards, the presence of atomic instruction > > support can detect through HWCAP_ATOMICS > > > > Signed-off-by: Jerin Jacob > Re

[dpdk-dev] [PATCH] config: remove EAL flags for OS environment

2016-03-05 Thread Wiles, Keith
>CONFIG_RTE_LIBRTE_EAL_*APP can be replaced by CONFIG_RTE_EXEC_ENV_*APP. > >Signed-off-by: Thomas Monjalon Acked-by: Keith Wiles > Regards, Keith

[dpdk-dev] [PATCH] config: remove EAL flags for OS environment

2016-03-05 Thread Thomas Monjalon
CONFIG_RTE_LIBRTE_EAL_*APP can be replaced by CONFIG_RTE_EXEC_ENV_*APP. Signed-off-by: Thomas Monjalon --- app/Makefile | 2 +- config/common_bsdapp | 1 - config/common_linuxapp | 1 - lib/librte_eal/Makefile