[dpdk-dev] [PATCH 0/2] virtio: bugfix and cleanup

2015-12-07 Thread Thomas Monjalon
> Fix for stale offload flags, and simplify transmit checks. > > Stephen Hemminger (2): > virtio: make sure rcv mbuf initialized correctly > virtio: clean up space checks on xmit Applied, thanks

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-07 Thread Thomas Monjalon
2015-12-02 15:53, Panu Matilainen: > This (and other changes in patch 2 breaks the librte_vhost ABI again, so > you'd need to at least add a deprecation note to 2.2 to be able to do it > in 2.3 at all according to the ABI policy. > > Perhaps a better option would be adding some padding to the st

[dpdk-dev] [PATCH] bonding: use eth_dev link state interrupt flag

2015-12-07 Thread Thomas Monjalon
2015-12-04 16:45, Declan Doherty: > On 04/12/15 14:05, Bernard Iremonger wrote: > > replace RTE_PCI_DRV_INTR_LSC with RTE_ETH_DEV_INTR_LSC > > > > Fixes: 71ba84b1ccb2("bonding: remove fake pci interface") > > Signed-off-by: Bernard Iremonger > > Acked-by: Declan Doherty Applied, thanks

[dpdk-dev] [PATCH] librte_port: fix mbuf allocation in source port

2015-12-07 Thread Thomas Monjalon
2015-11-30 20:41, Fan Zhang: > Fixes the mbuf allocation not initialized problem. This problem will cause > the mbufs not be able to freed back to mempool by rte_pktmbuf_free(). > > The problem was introduced by commit "Packet Framework librte_port: Source > /Sink ports" (commit id ef3403fb6f9a3c4

[dpdk-dev] [PATCH] librte_port: fix sink port statistics

2015-12-07 Thread Thomas Monjalon
2015-11-30 20:41, Fan Zhang: > Fixes the sink port statistics incomplete problem. The problem was > introduced by commit "Packet Framework librte_port: Source/Sink ports" > (commit id ef3403fb6f9a3c4b730d2e4fbe7ddc0291ffa992) > > Signed-off-by: Fan Zhang > Acked-by: Cristian Dumitrescu Applied,

[dpdk-dev] [PATCH v3 1/3] hash: add rte_hash_set_cmp_func() function.

2015-12-07 Thread Thomas Monjalon
2015-12-04 08:54, De Lara Guarch, Pablo: > Hi Nemo, > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yu Nemo Wenbin > > Give user a chance to costomize the hash key compare function. > > The default rte_hash_cmp_eq function is set in the rte_hash_create > > function, but these builtin ones

[dpdk-dev] [PATCH] example/ip_pipeline: fix resource leak problem.

2015-12-07 Thread Thomas Monjalon
2015-11-27 15:52, Fan Zhang: > This patch fix the following Coverity issue: > > Coverity issue: 120147 > Fixes: 7122d30131ad ("examples/ip_pipeline: rework flow classification > pipeline") > > Signed-off-by: Fan Zhang Applied, thanks

[dpdk-dev] [PATCH] example/ip_pipeline: fix source port mempool assignment

2015-12-07 Thread Thomas Monjalon
2015-12-04 14:28, Fan Zhang: > Fixes the wrong source port mempool assignment (commit id eb32fe7c). The > source port is now assigned by parsed mempool id index value either by > default or configured by CFG file. > > Previously, the mempool id for locating source port's mempool pointer was > the

[dpdk-dev] [PATCH] ip_pipeline: fixed bug in app_link_config

2015-12-07 Thread Thomas Monjalon
> > This patch fixes bug in app_link_config. > > > > Signed-off-by: Jasvinder Singh > > --- > > Acked-by: Cristian Dumitrescu Applied, thanks

[dpdk-dev] [PATCH] ip_pipeline: enable promiscuous mode configuration

2015-12-07 Thread Thomas Monjalon
> > This patch allows parser to read promisc entry from > > the LINK section defined in configuration file. It > > is an optional parameter: if present, value should > > be read (yes/no, on/off), else the value is the > > default value (i.e. 1 = promiscuous mode on) > > > > Example of config file:

[dpdk-dev] [PATCH v2] ip_pipeline: add check on nic's rxq and txq

2015-12-07 Thread Thomas Monjalon
2015-12-01 12:23, Jasvinder Singh: > This patch checks that rx queue and tx queue of each > link specified in ip pipeline configuration file are > used. > > *v2 > - fix checkpatch warnings > > Signed-off-by: Jasvinder Singh > Acked-by: Cristian Dumitrescu Applied, thanks

[dpdk-dev] [PATCH] ip_pipeline: modify action handler in passthrough pipeline

2015-12-07 Thread Thomas Monjalon
> > Signed-off-by: Jasvinder Singh > > Acked-by: Cristian Dumitrescu Applied, thanks

[dpdk-dev] [PATCH v4] ip_pipeline: add flow id parameter to flow classification

2015-12-07 Thread Thomas Monjalon
2015-11-30 14:08, Jasvinder Singh: > This patch adds flow id field to the flow > classification table entries and adds table action > handlers to read flow id from table entry and > write it into the packet meta-data. The flow_id > (32-bit) parameter is also added to CLI commands > flow add, flow d

[dpdk-dev] [PATCH] i40e: fix wrong copy-paste which led to one bit missing from I40E_INSET_FLEX_PAYLOAD mask

2015-12-07 Thread Zhang, Helin
> -Original Message- > From: Chilikin, Andrey > Sent: Wednesday, December 2, 2015 11:52 PM > To: dev at dpdk.org > Cc: Zhang, Helin; Wu, Jingjing; Chilikin, Andrey > Subject: [PATCH] i40e: fix wrong copy-paste which led to one bit missing > from I40E_INSET_FLEX_PAYLOAD mask > > Fix wrong

[dpdk-dev] [PATCH v5] ip_pipeline: add more functions to routing-pipeline

2015-12-07 Thread Thomas Monjalon
2015-12-02 10:22, Jasvinder Singh: > This patch adds following features to the > routing-pipeline to enable it for various NFV > use-cases; > > 1.Fast-path ARP table enable/disable > 2.Double-tagged VLAN (Q-in-Q) packet enacapsulation > for the next-hop > 3.MPLS encapsulation for the next-hop > 4.

[dpdk-dev] [PATCH v5 1/1] ip_pipeline: added dynamic pipeline reconfiguration

2015-12-07 Thread Thomas Monjalon
2015-10-29 16:36, Piotr Azarewicz: > Up till now pipeline was bound to thread selected in the initial config. > This patch allows binding pipeline to other threads at runtime using CLI > commands. > > Signed-off-by: Maciej Gajdzica > Signed-off-by: Piotr Azarewicz > > Acked-by: Cristian Dumitre

[dpdk-dev] [PATCH 1/1] ip_pipeline: add pipeline type validation

2015-12-07 Thread Thomas Monjalon
> > This commit add to CLI command check for pipeline type. It prevents > > running CLI commands on not supported pipeline types. > > > > Signed-off-by: Maciej Gajdzica > > Acked-by: Cristian Dumitrescu Applied, thanks

[dpdk-dev] [PATCH v4] ip_pipeline: add flow actions pipeline

2015-12-07 Thread Thomas Monjalon
2015-11-18 17:09, Fan Zhang: > Flow actions pipeline is an extension of flow-classification pipeline. > Some of the operations of flow classification pipeline such as traffic > metering/marking(for e.g. Single Rate Three Color Marker (srTCM), Two > Rate Three Color Marker trTCM)), policer can be pe

[dpdk-dev] [PATCH] examples/dpdk_qat: Fix RX queue start number to the one just received the packets

2015-12-07 Thread Thomas Monjalon
2015-09-29 19:07, Zhe Tao: > Every time we started to receive the packets, the start queue number > should be the one that just received the packets, should not start from zero! > [...] > - for (i = 0; i < qconf->n_rx_queue; i++) { > + for (i = qconf->rx_curr_queue; i < qco

[dpdk-dev] [PATCH] examples/bond: add header to support freebsd compilation

2015-12-07 Thread Thomas Monjalon
2015-12-02 10:53, Ferruh Yigit: > On Thu, Nov 26, 2015 at 09:55:17AM +, Mrzyglod, DanielX T wrote: > > > > > > >-Original Message- > > >From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > >Sent: Wednesday, November 25, 2015 7:08 PM > > > > > >2015-11-25 19:03, Daniel Mrzyg

[dpdk-dev] [PATCH v3] examples/vmdq: Fix the core dump issue when mem_pool is more than 34

2015-12-07 Thread Thomas Monjalon
> > Macro MAX_QUEUES was defined to 128, only allow 16 vmdq_pools in > > theory. > > When running vmdq_app with more than 34 vmdq_pools, it will cause the > > core_dump issue. > > Change MAX_QUEUES to 1024 will solve this issue. > > > > Signed-off-by: Xutao Sun > > Acked-by: Pablo de Lara Appl

[dpdk-dev] [PATCH v3] examples/vhost: fix statistics error

2015-12-07 Thread Thomas Monjalon
2015-12-03 14:28, Yuanhan Liu: > On Thu, Dec 03, 2015 at 07:20:26AM +0800, Jianfeng Tan wrote: > > This issue was discovered under the case of software vm2vm > > fowarding. When pkts are received from virtio device 0 and > > tx_route to virtio device 1, tx of device 0 is not updated. > > > > Signe

[dpdk-dev] [PATCH v3 1/1] vhost_xen: fix compile error in main.c

2015-12-07 Thread Thomas Monjalon
2015-11-01 15:58, Bernard Iremonger: > /examples/vhost_xen/main.c:659:61: error: ?as no member named ? ata, > rte_pktmbuf_data_len(buff)); > rte_memcpy((void *)(uintptr_t)buff_addr, (const void*)buff->data, > rte_pktmbuf_data_len(buff)); > make[1]: *** [main.o] Error 1

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-07 Thread Yuanhan Liu
On Mon, Dec 07, 2015 at 12:07:28AM +0100, Thomas Monjalon wrote: > 2015-12-02 15:53, Panu Matilainen: > > This (and other changes in patch 2 breaks the librte_vhost ABI again, so > > you'd need to at least add a deprecation note to 2.2 to be able to do it > > in 2.3 at all according to the ABI po

[dpdk-dev] [PATCH] l2fwd-crypto: fix behaviour of -t option

2015-12-07 Thread Thomas Monjalon
2015-12-02 17:39, Declan Doherty: > On 02/12/15 17:16, Declan Doherty wrote: > > passing -t 0 as a command line argument causes the application > > to exit with an "invalid refresh period specified" error which is > > contrary to applications help text. > > > > This patch removes the unnecessary o

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-07 Thread Thomas Monjalon
2015-12-07 10:00, Yuanhan Liu: > On Mon, Dec 07, 2015 at 12:07:28AM +0100, Thomas Monjalon wrote: > > 2015-12-02 15:53, Panu Matilainen: > > > This (and other changes in patch 2 breaks the librte_vhost ABI again, so > > > you'd need to at least add a deprecation note to 2.2 to be able to do it >

[dpdk-dev] [PATCH] examples/l3fwd: fix eth-dest commandline strncmp size

2015-12-07 Thread Thomas Monjalon
> > Fix minor, and non critical, copy and paste error in strncmp() of eth-dest > > commandline argument. > > > > Fixes: bd785f6f6791 ("examples/l3fwd: make destination mac address > > configurable") > > > > Signed-off-by: John McNamara > Acked-by: Andrey Chilikin Applied, thanks

[dpdk-dev] [PATCH 0/6] Add virtio support in arm/arm64

2015-12-07 Thread Yuanhan Liu
On Fri, Dec 04, 2015 at 11:05:13PM +0530, Santosh Shukla wrote: > This patch set add basic infrastrucure to run virtio-net-pci pmd driver for > arm64/arm. Tested on ThunderX platfrom. Verified for existing dpdk(s) test > applications like: > - ovs-dpdk-vhost-user: across the VM's, for the use-cases

[dpdk-dev] [PATCH] l3fwd: Fix l3fwd crash due to unaligned load/store intrinsics

2015-12-07 Thread Thomas Monjalon
> > l3fwd app expects PMDs to return packets whose L2 header is > > 16-byte aligned due to usage of _mm_load_si128()/_mm_store_si128() > > intrinsics in the app. However, most of the protocol stacks expects > > packets such that its IP/L3 header be aligned on a 16-byte boundary. > > > > Based on t

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-07 Thread Yuanhan Liu
On Mon, Dec 07, 2015 at 03:03:24AM +0100, Thomas Monjalon wrote: > 2015-12-07 10:00, Yuanhan Liu: > > On Mon, Dec 07, 2015 at 12:07:28AM +0100, Thomas Monjalon wrote: > > > 2015-12-02 15:53, Panu Matilainen: > > > > This (and other changes in patch 2 breaks the librte_vhost ABI again, > > > > so

[dpdk-dev] [PATCH v9 2/3] example: add user-space ethtool sample application

2015-12-07 Thread Thomas Monjalon
2015-11-20 15:34, Remy Horton: > Further enhancements to the userspace ethtool implementation that was > submitted in 2.1 and packaged as a self-contained sample application. > Implements an rte_ethtool shim layer based on rte_ethdev API, along > with a command prompt driven demonstration applicati

[dpdk-dev] [PATCH v8 3/4] examples: add l3fwd-thread example in performance-thread

2015-12-07 Thread Thomas Monjalon
Hi, I had no time to check how it works. I'm just surprised that you introduce a new config option. 2015-12-04 10:34, Ian Betts: > --- a/config/defconfig_x86_64-native-linuxapp-gcc > +++ b/config/defconfig_x86_64-native-linuxapp-gcc > @@ -40,3 +40,5 @@ CONFIG_RTE_ARCH_64=y > > CONFIG_RTE_TOOLC

[dpdk-dev] [PATCH v8 2/4] examples: add lthread subsystem forperformance-thread

2015-12-07 Thread Thomas Monjalon
Please add the new directory in the MAINTAINERS file. Thanks

[dpdk-dev] [PATCH] test: fix crash in pmd_perf_test

2015-12-07 Thread Thomas Monjalon
2015-11-23 11:45, David Hunt: > Fix crash in pmd_perf_test autotest (div by 0) when no packets received > Also fixes the fact that the test passes even if exec_burst fails > > To repeat the issue: > The system must be incorrectly set up so that all packets will be lost, > i.e. no loopback cab

[dpdk-dev] [PATCH] app/test: fix memory_autotest integer overflow/wraparound

2015-12-07 Thread Thomas Monjalon
> > memory_autotest loops infinitely when at least one the memsegs > > is bigger than 4GB. > > > > The issue is the result of an integer overflow/wraparound of > > the offset variable. > > > > Fix it by using the correct type (size_t). > > > > Signed-off-by: Sergio Gonzalez Monroy > > > > Acke

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-07 Thread Thomas Monjalon
2015-12-07 10:18, Yuanhan Liu: > On Mon, Dec 07, 2015 at 03:03:24AM +0100, Thomas Monjalon wrote: > > 2015-12-07 10:00, Yuanhan Liu: > > > On Mon, Dec 07, 2015 at 12:07:28AM +0100, Thomas Monjalon wrote: > > > > 2015-12-02 15:53, Panu Matilainen: > > > > > This (and other changes in patch 2 breaks

[dpdk-dev] [PATCH v4 0/2] ring pmd autotest

2015-12-07 Thread Thomas Monjalon
2015-11-28 11:01, Bernard Iremonger: > Fix failures in the ring_pmd_autotest program. > Correct errors in the ring PMD documentation. > > Changes in v4: > rebase to latest code. > update commit messages. > add Fixes: line to commit messages. > > Changes in v3: > rebase to latest code. > revise co

[dpdk-dev] [PATCH 1/1] table_test: renamed test_table_ACL to lowercase

2015-12-07 Thread Thomas Monjalon
> > Renamed function name to comply with coding standard. > > > > Signed-off-by: Maciej Gajdzica > > Acked-by: Pablo de Lara Applied, thanks

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_conf

2015-12-07 Thread Jijiang Liu
Announce ABI change for struct rte_eth_conf. Signed-off-by: Jijiang Liu --- doc/guides/rel_notes/deprecation.rst |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 1c7ab01..f50f0c7 100644

[dpdk-dev] [PATCH] app/test: fix of returning wrong value

2015-12-07 Thread Thomas Monjalon
2015-12-03 11:22, Helin Zhang: > In the KNI unit test, if all test cases passed, it should > return with 0. This patch fixes the issue of returning > wrong value. > > Fixes: fc27caaafd4b ("kni: remove deprecated functions") > > Signed-off-by: Helin Zhang Applied, thanks

[dpdk-dev] [PATCH] app/testpmd: add 'show (rxq|txq)' command description into UG and cmdline help

2015-12-07 Thread Thomas Monjalon
> > Signed-off-by: Konstantin Ananyev > > Acked-by: Pablo de Lara Fixes: ab3257e13dc4 ("app/testpmd: add command to display queue info") Applied, thanks

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_conf

2015-12-07 Thread Thomas Monjalon
2015-12-07 11:01, Jijiang Liu: > +* ABI changes are planned for struct rte_eth_conf in order to support > + tunneling packet configuration in unified tunneling API. The release 2.2 > does not contain these ABI > + changes, but release 2.3 will, and no backwards compatibility is planned. Please,

[dpdk-dev] [PATCH] librte_power: channel_commands: Remove duplicate definition

2015-12-07 Thread Thomas Monjalon
> > The CHANNEL_CMDS_MAX_VM_CHANNELS is duplicated in the channel_commands > > header file. This commit removes that duplication. > > > > fixes 210c383e247b5335cd95223fac1c0880ebbd5c96 ("power: packet format for > > ...") > > > > Signed-off-by: Aaron Conole > > Acked-by: Bruce Richardson App

[dpdk-dev] [PATCH] remove double semicolons

2015-12-07 Thread Thomas Monjalon
2015-12-03 09:53, Bruce Richardson: > On Wed, Dec 02, 2015 at 01:02:32PM -0800, Stephen Hemminger wrote: > > Trivial cleanup > > > > Signed-off-by: Stephen Hemminger > Acked-by: Bruce Richardson Applied, thanks

[dpdk-dev] [PATCH] remove blank lines at end-of-file

2015-12-07 Thread Thomas Monjalon
2015-12-03 09:53, Bruce Richardson: > On Wed, Dec 02, 2015 at 12:06:12PM -0800, Stephen Hemminger wrote: > > This is one of those trivial things git and other tools complain > > about. > > > > Signed-off-by: Stephen Hemminger > Acked-by: Bruce Richardson Applied, thanks

[dpdk-dev] [PATCH] vhost: note the ABI changes

2015-12-07 Thread Yuanhan Liu
Note the ABI changes and update the ABI version to 2. Cc: Thomas Monjalon Signed-off-by: Yuanhan Liu --- This patch is assumed to be applied on top of following patch: http://dpdk.org/dev/patchwork/patch/9262/ --- doc/guides/rel_notes/release_2_2.rst | 13 - lib/librte_vhost/M

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_conf

2015-12-07 Thread Liu, Jijiang
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, December 07, 2015 11:17 AM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] doc: announce ABI change for struct > rte_eth_conf > > 2015-12-07 11:01, Jiji

[dpdk-dev] [PATCH v2] doc: fix repeated typo in sample app docs

2015-12-07 Thread Thomas Monjalon
> > Fix repeated typo in the "Compiling the Application" section of > > almost all of the sample app docs. > > > > This generally gets copied into new sample app guides. > > > > Signed-off-by: John McNamara > > Acked-by: Pablo de Lara Applied, thanks

[dpdk-dev] [PATCH] doc: fix examples in netmap compatibility docs

2015-12-07 Thread Thomas Monjalon
> > Fix the examples in the netmap compatibility sample application > > docs which referred to the packet_reordering application. > > > > Also fix some minor rst formatting issues. > > > > Reported-by: Qian Xu > > Signed-off-by: John McNamara > > Acked-by: Pablo de Lara Applied, thanks

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_conf

2015-12-07 Thread Thomas Monjalon
2015-12-07 03:30, Liu, Jijiang: > Hi Thomas, > > > -Original Message- > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Monday, December 07, 2015 11:17 AM > > To: Liu, Jijiang > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] doc: announce ABI change for s

[dpdk-dev] [PATCH] doc: Add missing new line before code block

2015-12-07 Thread Thomas Monjalon
> > The patch adds missing new line to "Managing ABI updates" section. > > > > Signed-off-by: Tetsuya Mukawa > > Acked-by: John McNamara Applied, thanks

[dpdk-dev] [PATCH 0/2] Clear rx_mbuf_alloc_failed counter on rte_eth_stats_reset

2015-12-07 Thread Thomas Monjalon
2015-11-27 13:31, Igor Ryzhov: > The rx_mbuf_alloc_failed counter was only cleared by virtio driver. > Now it is cleared by common rte_eth_stats_clear function for all drivers at > once. > > Igor Ryzhov (2): > ethdev: clear rx_mbuf_alloc_failed counter on rte_eth_stats_reset > virtio: remove

[dpdk-dev] [PATCH v8 3/4] examples: add l3fwd-thread example in performance-thread

2015-12-07 Thread Betts, Ian
-Original Message- From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] Sent: Monday, December 7, 2015 2:36 AM To: Betts, Ian Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v8 3/4] examples: add l3fwd-thread example in performance-thread > Hi, >>I had no time to check how it wo

[dpdk-dev] [PATCH v2 1/3] lpm: make rte_lpm_lookupx4 API definition architecture agnostic

2015-12-07 Thread Jianbo Liu
On 4 December 2015 at 23:14, Jerin Jacob wrote: > -Used architecture agnostic xmm_t to represent 128 bit SIMD variable > > -Introduced vect_* API abstraction in app/test to test rte_lpm_lookupx4 > API in architecture agnostic way > > -Moved rte_lpm_lookupx4 SSE implementation to architecture spe

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-07 Thread Panu Matilainen
On 12/07/2015 01:07 AM, Thomas Monjalon wrote: > 2015-12-02 15:53, Panu Matilainen: >> This (and other changes in patch 2 breaks the librte_vhost ABI again, so >> you'd need to at least add a deprecation note to 2.2 to be able to do it >> in 2.3 at all according to the ABI policy. >> >> Perhaps a b

[dpdk-dev] [PATCH v2 1/3] lpm: make rte_lpm_lookupx4 API definition architecture agnostic

2015-12-07 Thread Jerin Jacob
On Mon, Dec 07, 2015 at 02:15:28PM +0800, Jianbo Liu wrote: > On 4 December 2015 at 23:14, Jerin Jacob > wrote: > > -Used architecture agnostic xmm_t to represent 128 bit SIMD variable > > > > -Introduced vect_* API abstraction in app/test to test rte_lpm_lookupx4 > > API in architecture agnosti

[dpdk-dev] [PATCH] examples/vm_power_manager: fix build when libvirt version < 1.0

2015-12-07 Thread Yong Liu
virNodeGetCPUMap introduced in from libvirt 1.0. In some linux distributions like Ubuntu12/14 and Fedora18, libvirt version is elder than 1.0. So this sample will not build pass. Replace "virNodeGetCPUMap" with another libvirt API "virNodeGetInfo". Signed-off-by: Marvin Liu diff --git a/example

[dpdk-dev] [PATCH 0/2] fix performance/cache resource issues with 128-byte cache line targets

2015-12-07 Thread Jerin Jacob
On Sun, Dec 06, 2015 at 05:30:50PM +0100, Thomas Monjalon wrote: > 2015-12-06 21:29, Jerin Jacob: > > This patchset fixes performance/cache resource issues with 128-byte cache > > line targets > > found in mbuf and bitmap DPDK libraries > > > > Currently, we have two DPDK targets(ThunderX and ppc

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_conf

2015-12-07 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, December 07, 2015 11:40 AM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] doc: announce ABI change for struct > rte_eth_conf > > 2015-12-07 03:30, Liu, Jijiang:

[dpdk-dev] [PATCH] mk: fix the combined library problems by replacing it with a linker script

2015-12-07 Thread Christian Ehrhardt
Hi, FYI I kind of "gave up" (not as bad as it sounds) and started looking into shipping it as individual libraries + linker script as well. To me it seemed what was more accepted in all the former discussions. It will surely cause more work for me in the short term, but I hope after the initial hi

[dpdk-dev] [PATCH v2] mk: pass EXTRA_CFLAGS to AUTO_CPUFLAGS to enable local modifications

2015-12-07 Thread Panu Matilainen
On 12/04/2015 08:53 PM, Thomas Monjalon wrote: We have encountered a CPU where the AES-NI instruction set is disabled due to export restrictions. Since the build machine and target machine is different, using -native configs doesn't work, and on this CPU, the application refuses

[dpdk-dev] [PATCH] examples/dpdk_qat: Fix RX queue start number to the one just received the packets

2015-12-07 Thread Declan Doherty
On 07/12/15 01:32, Thomas Monjalon wrote: > 2015-09-29 19:07, Zhe Tao: >> Every time we started to receive the packets, the start queue number >> should be the one that just received the packets, should not start from zero! >> > [...] >> -for (i = 0; i < qconf->n_rx_queue; i++) { >> +

[dpdk-dev] [PATCH v4] ip_pipeline: add flow actions pipeline

2015-12-07 Thread Panu Matilainen
On 12/07/2015 03:17 AM, Thomas Monjalon wrote: > 2015-11-18 17:09, Fan Zhang: >> Flow actions pipeline is an extension of flow-classification pipeline. >> Some of the operations of flow classification pipeline such as traffic >> metering/marking(for e.g. Single Rate Three Color Marker (srTCM), Two

[dpdk-dev] [PATCH v4] ip_pipeline: add flow actions pipeline

2015-12-07 Thread Singh, Jasvinder
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Monday, December 7, 2015 1:18 AM > To: Zhang, Roy Fan > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4] ip_pipeline: add flow actions pipeline > > 2015-11-18 17:09, Fan Zhang:

[dpdk-dev] [PATCH] mk: fix the combined library problems by replacing it with a linker script

2015-12-07 Thread Martinx - ジェームズ
Hi Christian, You can count on me to help testing DPDK for Ubuntu, I have plans for it! I have some experience with Debian packaging too... I'm currently maintaining few Ubuntu PPAs, for fun...=) Also, I have hardware available, with 10G, 40G and 100G NIC cards and traffic generators. I

[dpdk-dev] [PATCH] mk: fix external shared library dependencies of drivers, round 2

2015-12-07 Thread Panu Matilainen
Similar to commit 5f9115e58cc6f304ff4ade694cf5823d32887d1a, but for qat and mpipe drivers. The former did not exist when the previous patch was sent and latter I just missed. Fixes: 5f9115e58cc6 ("mk: fix shared library dependencies of drivers") Signed-off-by: Panu Matilainen --- drivers/crypto

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_conf

2015-12-07 Thread Chilikin, Andrey
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jijiang Liu > Sent: Monday, December 7, 2015 3:02 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_conf > > Announce ABI change for struct rte_eth_conf. > > S

[dpdk-dev] [PATCH v2] mk: fix external shared library dependencies of drivers, round 2

2015-12-07 Thread Panu Matilainen
Similar to commit 5f9115e58cc6f304ff4ade694cf5823d32887d1a, but for qat and mpipe drivers. The former did not exist when the previous patch was sent and latter I just missed. Fixes: 5f9115e58cc6 ("mk: fix shared library dependencies of drivers") Signed-off-by: Panu Matilainen --- v2: - typo/co

[dpdk-dev] [PATCH] bnx2x: set Ethernet address type during transmit for VF's

2015-12-07 Thread Charles (Chas) Williams
On Sun, 2015-12-06 at 23:34 +, Harish Patil wrote: > > > >The original was always setting unicast. While here, clean up some > >other references that also point into the Ethernet header. > > > >Signed-off-by: Chas Williams <3chas3 at gmail.com> > >--- > > drivers/net/bnx2x/bnx2x.c | 23 +++

[dpdk-dev] [PATCH v8 3/4] examples: add l3fwd-thread example in performance-thread

2015-12-07 Thread Thomas Monjalon
2015-12-07 04:46, Betts, Ian: > >>I had no time to check how it works. > >> I'm just surprised that you introduce a new config option. > >> +DIRS-$(CONFIG_RTE_PERFORMANCE_THREAD) += performance-thread > > I think this option should be removed. > > It is only to ensure that performance-thread examp

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-07 Thread Thomas Monjalon
2015-12-07 08:29, Panu Matilainen: > On 12/07/2015 01:07 AM, Thomas Monjalon wrote: > > 2015-12-02 15:53, Panu Matilainen: > >> This (and other changes in patch 2 breaks the librte_vhost ABI again, so > >> you'd need to at least add a deprecation note to 2.2 to be able to do it > >> in 2.3 at all a

[dpdk-dev] [i40e] Failed to init adminq?

2015-12-07 Thread Eimear Morrissey
Stephen Hemminger wrote on 12/04/2015 05:36:08 PM: > From: Stephen Hemminger > To: Eimear Morrissey/Ireland/IBM at IBMIE > Cc: dev at dpdk.org > Date: 12/04/2015 05:36 PM > Subject: Re: [dpdk-dev] [i40e] Failed to init adminq? > > On Fri, 4 Dec 2015 11:25:09 + > "Eimear Morrissey" wrote:

[dpdk-dev] [PATCH 0/2] fix performance/cache resource issues with 128-byte cache line targets

2015-12-07 Thread Thomas Monjalon
2015-12-07 12:56, Jerin Jacob: > On Sun, Dec 06, 2015 at 05:30:50PM +0100, Thomas Monjalon wrote: > > 2015-12-06 21:29, Jerin Jacob: > > > This patchset fixes performance/cache resource issues with 128-byte cache > > > line targets > > > found in mbuf and bitmap DPDK libraries > > > > > > Current

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-07 Thread Panu Matilainen
On 12/07/2015 01:28 PM, Thomas Monjalon wrote: > 2015-12-07 08:29, Panu Matilainen: >> On 12/07/2015 01:07 AM, Thomas Monjalon wrote: >>> 2015-12-02 15:53, Panu Matilainen: This (and other changes in patch 2 breaks the librte_vhost ABI again, so you'd need to at least add a deprecation no

[dpdk-dev] [PATCH] doc: announce ABI change for struct rte_eth_conf

2015-12-07 Thread Thomas Monjalon
2015-12-07 07:47, Liu, Jijiang: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2015-12-07 03:30, Liu, Jijiang: > > > Hi Thomas, > > > > > > > -Original Message- > > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > Sent: Monday, December 07, 2015 11:

[dpdk-dev] [PATCH v2] mk: pass EXTRA_CFLAGS to AUTO_CPUFLAGS to enable local modifications

2015-12-07 Thread Simon Kågström
On 2015-12-07 09:33, Panu Matilainen wrote: > On 12/04/2015 08:53 PM, Thomas Monjalon wrote: > We have encountered a CPU where the AES-NI instruction set is disabled > due to export restrictions. Since the build machine and target machine > is different, using -native configs doesn't wo

[dpdk-dev] [PATCH v2] mk: pass EXTRA_CFLAGS to AUTO_CPUFLAGS to enable local modifications

2015-12-07 Thread Thomas Monjalon
2015-12-07 10:33, Panu Matilainen: > On 12/04/2015 08:53 PM, Thomas Monjalon wrote: > We have encountered a CPU where the AES-NI instruction set is disabled > due to export restrictions. Since the build machine and target machine > is different, using -native configs doesn't work, an

[dpdk-dev] [PATCH v9 2/3] example: add user-space ethtool sample application

2015-12-07 Thread Remy Horton
On 07/12/2015 02:29, Thomas Monjalon wrote: > 2015-11-20 15:34, Remy Horton: >> Signed-off-by: Remy Horton >> --- >> MAINTAINERS | 4 + >> examples/Makefile | 1 + >> examples/ethtool/Makefile | 48 ++ > > I'm really sorry, it doe

[dpdk-dev] [PATCH v4] ip_pipeline: add flow actions pipeline

2015-12-07 Thread Thomas Monjalon
2015-12-07 10:51, Panu Matilainen: > On 12/07/2015 03:17 AM, Thomas Monjalon wrote: > > 2015-11-18 17:09, Fan Zhang: > >> Flow actions pipeline is an extension of flow-classification pipeline. > >> Some of the operations of flow classification pipeline such as traffic > >> metering/marking(for e.g.

[dpdk-dev] [PATCH v4] ip_pipeline: add flow actions pipeline

2015-12-07 Thread Thomas Monjalon
2015-12-07 09:44, Singh, Jasvinder: > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > > Flow actions pipeline is an extension of flow-classification pipeline. > > > Some of the operations of flow classification pipeline such as traffic > > > > > > Signed-off-by: Jasvinde

[dpdk-dev] [PATCH] i40e: remove redundant compiler warning disablers

2015-12-07 Thread Panu Matilainen
These may have been required at some point but current i40e base driver compiles cleanly without them, at least with clang 3.7.0 and gcc 5.1.1. Signed-off-by: Panu Matilainen --- drivers/net/i40e/Makefile | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/net/i40e/Makefile

[dpdk-dev] [PATCH] mk: fix warning spew when EXTRA_CFLAGS specifies warning flags

2015-12-07 Thread Panu Matilainen
Starting with commit 9aa2053c6e81493b23346ff4e387903560de5c81 EXTRA_CFLAGS is sometimes being passed to the compiler without WERROR_FLAGS which can cause spurious warnings by the dozen, for example with when compiling with EXTRA_CFLAGS="-Wformat-security": cc1: warning: -Wformat-security ignored w

[dpdk-dev] [PATCH v2] scripts: add git hook scripts for checkpatch and auto doc generation

2015-12-07 Thread Ferruh Yigit
On Thu, Dec 03, 2015 at 11:09:30AM -0800, Thomas Monjalon wrote: > Ferruh, > I have a lot of questions :) > > 2015-11-27 14:34, Ferruh Yigit: > > --- a/scripts/checkpatches.sh > > +++ b/scripts/checkpatches.sh > > @@ -43,6 +43,7 @@ length=${DPDK_CHECKPATCH_LINE_LENGTH:-80} > > > > # override de

[dpdk-dev] [PATCH v10 0/4] User-space ethtool sample application

2015-12-07 Thread Remy Horton
Further enhancements to the userspace ethtool implementation that was submitted in 2.1 and packaged as a self-contained sample application. Implements an rte_ethtool shim layer based on rte_ethdev API, along with a command prompt driven demonstration application. This patchset depends on: * http:/

[dpdk-dev] [PATCH v10 1/4] Remove ABI requirement for external library builds.

2015-12-07 Thread Remy Horton
Signed-off-by: Andrew G. Harvey --- mk/rte.extlib.mk | 2 ++ mk/rte.lib.mk| 6 ++ 2 files changed, 8 insertions(+) diff --git a/mk/rte.extlib.mk b/mk/rte.extlib.mk index ba066bc..4d459e4 100644 --- a/mk/rte.extlib.mk +++ b/mk/rte.extlib.mk @@ -31,6 +31,8 @@ MAKEFLAGS += --no-print-dire

[dpdk-dev] [PATCH v10 2/4] mk: Fix missing directory with combined extlib build

2015-12-07 Thread Remy Horton
Signed-off-by: Remy Horton --- mk/rte.extlib.mk | 6 ++ 1 file changed, 6 insertions(+) diff --git a/mk/rte.extlib.mk b/mk/rte.extlib.mk index 4d459e4..47023a3 100644 --- a/mk/rte.extlib.mk +++ b/mk/rte.extlib.mk @@ -42,11 +42,17 @@ export NOT_FIRST_CALL all: $(Q)mkdir -p $(RTE_OUT

[dpdk-dev] [PATCH v10 3/4] example: add user-space ethtool sample application

2015-12-07 Thread Remy Horton
Further enhancements to the userspace ethtool implementation that was submitted in 2.1 and packaged as a self-contained sample application. Implements an rte_ethtool shim layer based on rte_ethdev API, along with a command prompt driven demonstration application. Signed-off-by: Remy Horton --- M

[dpdk-dev] [PATCH v10 4/4] doc: add user-space ethtool sample app guide

2015-12-07 Thread Remy Horton
Signed-off-by: Remy Horton --- doc/guides/rel_notes/release_2_2.rst | 1 + doc/guides/sample_app_ug/ethtool.rst | 160 +++ doc/guides/sample_app_ug/index.rst | 1 + 3 files changed, 162 insertions(+) create mode 100644 doc/guides/sample_app_ug/ethtool.rst d

[dpdk-dev] [PATCH] mk: fix warning spew when EXTRA_CFLAGS specifies warning flags

2015-12-07 Thread Simon Kågström
On 2015-12-07 13:56, Panu Matilainen wrote: > Starting with commit 9aa2053c6e81493b23346ff4e387903560de5c81 > EXTRA_CFLAGS is sometimes being passed to the compiler without > WERROR_FLAGS which can cause spurious warnings by the dozen, > for example with when compiling with EXTRA_CFLAGS="-Wformat-s

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-07 Thread Thomas Monjalon
2015-12-07 13:41, Panu Matilainen: > On 12/07/2015 01:28 PM, Thomas Monjalon wrote: > > 2015-12-07 08:29, Panu Matilainen: > >> On 12/07/2015 01:07 AM, Thomas Monjalon wrote: > >>> 2015-12-02 15:53, Panu Matilainen: > >> The vhost ABI break was announced for DPDK 2.2 in commit > >> 3c848bd7b1c6f4f6

[dpdk-dev] [PATCH v2 1/3] lpm: make rte_lpm_lookupx4 API definition architecture agnostic

2015-12-07 Thread Ananyev, Konstantin
> From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Friday, December 04, 2015 3:15 PM > To: dev at dpdk.org > Cc: thomas.monjalon at 6wind.com; Ananyev, Konstantin; viktorin at > rehivetech.com; jianbo.liu at linaro.org; Jerin Jacob > Subject: [dpdk-dev] [PATCH v2 1/3] lpm: ma

[dpdk-dev] [PATCH v2] scripts: support any legal git revisions as abi validation range

2015-12-07 Thread Panu Matilainen
On 12/03/2015 04:05 PM, Panu Matilainen wrote: > In addition to git tags, support validating abi between any legal > gitrevisions(7) syntaxes, such as "validate-abi.sh -1 . " > "validate-abi.sh master mybranch " etc in addition to > validating between tags. Makes it easier to run the validator > fo

[dpdk-dev] [PATCH] config: cleanup existing RTE_CACHE_LINE_SIZE selection scheme

2015-12-07 Thread Jerin Jacob
by default, all the targets will be configured with the 64-byte cache line size, targets which have different cache line size can be overridden through target specific config file. Selected ThunderX and power8 as CONFIG_RTE_CACHE_LINE_SIZE=128 targets based on existing configuration. Signed-off-b

[dpdk-dev] [PATCH v2] scripts: support any legal git revisions as abi validation range

2015-12-07 Thread Thomas Monjalon
2015-12-07 16:09, Panu Matilainen: > On 12/03/2015 04:05 PM, Panu Matilainen wrote: > > In addition to git tags, support validating abi between any legal > > gitrevisions(7) syntaxes, such as "validate-abi.sh -1 . " > > "validate-abi.sh master mybranch " etc in addition to > > validating between ta

[dpdk-dev] [PATCH 0/2] fix performance/cache resource issues with 128-byte cache line targets

2015-12-07 Thread Jerin Jacob
On Mon, Dec 07, 2015 at 03:40:13AM -0800, Thomas Monjalon wrote: > 2015-12-07 12:56, Jerin Jacob: > > On Sun, Dec 06, 2015 at 05:30:50PM +0100, Thomas Monjalon wrote: > > > 2015-12-06 21:29, Jerin Jacob: > > > > This patchset fixes performance/cache resource issues with 128-byte > > > > cache line

[dpdk-dev] [PATCH 0/2] fix performance/cache resource issues with 128-byte cache line targets

2015-12-07 Thread Thomas Monjalon
2015-12-07 20:03, Jerin Jacob: > On Mon, Dec 07, 2015 at 03:40:13AM -0800, Thomas Monjalon wrote: > > 2015-12-07 12:56, Jerin Jacob: > > > On Sun, Dec 06, 2015 at 05:30:50PM +0100, Thomas Monjalon wrote: > > > > 2015-12-06 21:29, Jerin Jacob: > > > > > This patchset fixes performance/cache resource

[dpdk-dev] [PATCH] config: cleanup existing RTE_CACHE_LINE_SIZE selection scheme

2015-12-07 Thread Thomas Monjalon
2015-12-07 19:52, Jerin Jacob: > by default, all the targets will be configured with the 64-byte cache line > size, targets which have different cache line size can be overridden > through target specific config file. > > Selected ThunderX and power8 as CONFIG_RTE_CACHE_LINE_SIZE=128 targets > bas

[dpdk-dev] [PATCH] tools: Add support for handling built-in kernel modules

2015-12-07 Thread Kamil Rytarowski
Currently dpdk_nic_bind.py detects Linux kernel modules via reading /proc/modules. Built-in ones aren't listed there and therefore they are not being found by the script. Add support for checking built-in modules with parsing the sysfs files. Signed-off-by: Kamil Rytarowski --- tools/dpdk_nic_b

[dpdk-dev] [PATCH 1/1] kni: Fix compilation problems on RHEL 7.2.

2015-12-07 Thread Lee Roberts
RHEL 7.2 contains additional backports from newer upstream kernels. Add RHEL_RELEASE_CODE logic for RHEL_RELEASE_VERSION(7,2) to pick up the changes to kernel functions. Signed-off-by: Lee Roberts --- lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c | 4 ++-- lib/librte_eal/linuxapp/kni/ethto

[dpdk-dev] [PATCH v3] scripts: add git hook scripts for checkpatch and auto doc generation

2015-12-07 Thread Ferruh Yigit
These scripts are to automate some common tasks, scripts needs to be deployed to specific folder to become active. Scripts: post-commit: Triggers after commit complete, re-generates api and guides html documents. "RTE_DOC_OUT" environment variable configures document output folder. Same script can

  1   2   >