[dpdk-dev] [PATCH v2 6/7] rte_sched: eliminate floating point in calculating byte clock

2015-02-16 Thread Dumitrescu, Cristian
Hi Stephen, Sorry, NACK. 1. Overflow issue As you declare cycles_per_byte as uint32_t, for a CPU frequency of 2-3 GHz, the line of code below results in overflow: port->cycles_per_byte = (rte_get_tsc_hz() << RTE_SCHED_TIME_SHIFT) / params->rate; Therefore, there is most likely a signifi

[dpdk-dev] [PATCH v3 00/20] enhance tx checksum offload API

2015-02-16 Thread Thomas Monjalon
> > The goal of this series is to clarify and simplify the mbuf offload API. > > > > - simplify the definitions of PKT_TX_IP_CKSUM and PKT_TX_IPV4, each > > flag has now only one meaning. No impact on the code. > > > > - add a feature flag for OUTER_IP_CHECKSUM (from Jijiang's patches) > > > >

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-16 Thread Thomas Monjalon
2015-02-16 15:16, Bruce Richardson: > On Mon, Feb 16, 2015 at 03:33:40PM +0100, Olivier MATZ wrote: > > Hi John, > > > > On 02/13/2015 04:39 PM, John McNamara wrote: > > > From: Richardson, Bruce > > > > > > Example showing how callbacks can be used to insert a timestamp > > > into each packet o

[dpdk-dev] [PULL REQUEST] fm10k: new polling mode driver for PF/VF.

2015-02-16 Thread Chen Jing D(Mark)
These changes add poll mode driver for the host interface of Intel Ethernet Switch FM1 Series of silicons, which integrate NIC and switch functionalities. The patch set include below features: 1. Basic RX/TX functions for PF/VF. 2. Interrupt handling mechanism for PF/VF. 3. per queue start/sto

[dpdk-dev] [PATCH v2] doc: Add requirements for x32 ABI

2015-02-16 Thread Daniel Mrzyglod
This patch add requirements about compiler and distribution support. v2: spelling fixes Signed-off-by: Daniel Mrzyglod --- doc/guides/linux_gsg/sys_reqs.rst | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/

[dpdk-dev] [PATCH v2 00/11] qemu vhost-user support

2015-02-16 Thread Tetsuya Mukawa
On 2015/02/12 14:07, Huawei Xie wrote: > vhost-user supports passing vring information to a seperate vhost enabled > user space process, normally a user space vSwitch, through unix domain socket. > > In previous DPDK version, we implement a user space character device driver > vhost-cuse in user sp

[dpdk-dev] [PATCH v2 11/11] lib/librte_vhost: support dynamically registering vhost server

2015-02-16 Thread Tetsuya Mukawa
On 2015/02/12 14:07, Huawei Xie wrote: > * support calling rte_vhost_driver_register after > rte_vhost_driver_session_start > * add mutext to protect fdset from concurrent access > * add busy flag in fdentry. this flag is set before cb and cleared after cb > is finished. > > mutex lock scenario i

[dpdk-dev] [PATCH v2 01/11] lib/librte_vhost: enable VIRTIO_NET_F_CTRL_RX VIRTIO_NET_F_CTRL_RX is dependant on VIRTIO_NET_F_CTRL_VQ. Observed that virtio-net driver in guest would crash with only CTRL

2015-02-16 Thread Tetsuya Mukawa
Hi Xie, Could you please check commit title? I guess this commit title involves first sentence of commit log. Thanks, Tetsuya On 2015/02/12 14:07, Huawei Xie wrote: > In virtnet_send_command: > > /* Caller should know better */ > BUG_ON(!virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTR

[dpdk-dev] [PATCH v2 11/11] lib/librte_vhost: support dynamically registering vhost server

2015-02-16 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Thursday, February 12, 2015 5:07 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 11/11] lib/librte_vhost: support dynamically > registering vhost server > > * support calling rte_v

[dpdk-dev] [PATCH v2 08/11] lib/librte_vhost: add select based event driven processing

2015-02-16 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Thursday, February 12, 2015 5:07 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 08/11] lib/librte_vhost: add select based event > driven processing > > for more generic event driv

[dpdk-dev] [PATCH v2 14/15] examples/l3fwd: support of unified packet type

2015-02-16 Thread Ananyev, Konstantin
Hi Helin, > -Original Message- > From: Zhang, Helin > Sent: Monday, February 09, 2015 6:41 AM > To: dev at dpdk.org > Cc: Cao, Waterman; Liang, Cunming; Liu, Jijiang; Ananyev, Konstantin; > Richardson, Bruce; Zhang, Helin > Subject: [PATCH v2 14/15] examples/l3fwd: support of unified pack

[dpdk-dev] kernel: BUG: soft lockup - CPU#1 stuck for 22s! [kni_single:1782]

2015-02-16 Thread Matthew Hall
On Mon, Feb 16, 2015 at 10:33:52AM -0600, Jay Rolette wrote: > In kni_net_rx_normal(), it was calling netif_receive_skb() instead of > netif_rx(). The source for netif_receive_skb() point out that it should > only be called from soft-irq context, which isn't the case for KNI. For the uninitiated a

[dpdk-dev] Intel DPDK support for ntop DPI

2015-02-16 Thread Matthew Hall
I did some research on this previously before concluding NDPI wouldn't help me much with my own particular application. Just for running NDPI DPDK is not strictly needed, as NDPI is normally read-only so something like PF_RING would work in default ntop / ndpi. If you're trying to use NDPI in a

[dpdk-dev] [PATCH v8 2/2] librte_pmd_null: Support port hotplug function

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:19 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 2/2] librte_pmd_null: Support port hotplug function > > This patch adds port

[dpdk-dev] [PATCH v8 1/2] librte_pmd_null: Add Null PMD

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:19 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 1/2] librte_pmd_null: Add Null PMD > > Null PMD is a driver of the virtual d

[dpdk-dev] [PATCH v8] librte_pmd_pcap: Add port hotplug support

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:15 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8] librte_pmd_pcap: Add port hotplug support > > This patch adds finalization

[dpdk-dev] [PATCH v8] testpmd: Add port hotplug support

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:16 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8] testpmd: Add port hotplug support > > The patch introduces following comman

[dpdk-dev] [PATCH v8 14/14] doc: Add port hotplug framework section to programmers guide

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:15 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 14/14] doc: Add port hotplug framework section to > programmers guide > > T

[dpdk-dev] [PATCH v8 13/14] eal: Enable port hotplug framework in Linux

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:15 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 13/14] eal: Enable port hotplug framework in Linux > > The patch enables CON

[dpdk-dev] [PATCH v8 12/14] eal/pci: Add rte_eal_dev_attach/detach() functions

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:15 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 12/14] eal/pci: Add rte_eal_dev_attach/detach() functions > > These function

[dpdk-dev] [PATCH v2] doc: Add requirements for x32 ABI

2015-02-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Daniel Mrzyglod > Sent: Monday, February 16, 2015 4:27 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] doc: Add requirements for x32 ABI > > This patch add requirements about compiler and distributio

[dpdk-dev] [PATCH v8 11/14] ethdev: Add one dev_type parameter to rte_eth_dev_allocate

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:15 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 11/14] ethdev: Add one dev_type parameter to > rte_eth_dev_allocate > > Thi

[dpdk-dev] [PATCH v8 10/14] eal/pci: Cleanup pci driver initialization code

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 10/14] eal/pci: Cleanup pci driver initialization code > > - Add rte_eal_pci

[dpdk-dev] [PATCH v8 09/14] eal/pci: Add a function to remove the entry of devargs list

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 09/14] eal/pci: Add a function to remove the entry of > devargs list > > Th

[dpdk-dev] [PATCH v8 08/14] eal/linux/pci: Add functions for unmapping igb_uio resources

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 08/14] eal/linux/pci: Add functions for unmapping igb_uio > resources > > T

[dpdk-dev] [PATCH v8 07/14] ethdev: Add functions that will be used by port hotplug functions

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 07/14] ethdev: Add functions that will be used by port > hotplug functions >

[dpdk-dev] [PATCH v8 06/14] eal, ethdev: Add a function and function pointers to close ether device

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 06/14] eal,ethdev: Add a function and function pointers to > close ether dev

[dpdk-dev] [PATCH v8 05/14] ethdev: Add rte_eth_dev_free to free specified device

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 05/14] ethdev: Add rte_eth_dev_free to free specified > device > > This pat

[dpdk-dev] [PATCH v8 04/14] eal/pci: Consolidate pci address comparison APIs

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 04/14] eal/pci: Consolidate pci address comparison APIs > > This patch repla

[dpdk-dev] [PATCH v8 03/14] eal/pci, ethdev: Remove assumption that port will not be detached

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 03/14] eal/pci,ethdev: Remove assumption that port will > not be detached >

[dpdk-dev] [PATCH v8 02/14] eal_pci: pci memory map work with driver type

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 02/14] eal_pci: pci memory map work with driver type > > From: Michael Qiu

[dpdk-dev] [PATCH v8 01/14] eal_pci: Add flag to hold kernel driver type

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 01/14] eal_pci: Add flag to hold kernel driver type > > From: Michael Qiu >

[dpdk-dev] [PATCH] doc: Add requirements for x32 ABI

2015-02-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Daniel Mrzyglod > Sent: Friday, February 13, 2015 3:58 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: Add requirements for x32 ABI > > This patch add requirements about compiler and distribution s

[dpdk-dev] ACL lookup doesn't work for some schemes

2015-02-16 Thread Ananyev, Konstantin
> -Original Message- > From: Markovic, Stevan [mailto:smarkovi at akamai.com] > Sent: Monday, February 16, 2015 3:22 PM > To: Ananyev, Konstantin; yuzhichang_scl at hotmail.com; dev at dpdk.org > Subject: Re: [dpdk-dev] ACL lookup doesn't work for some schemes > > Hi, > > > On 2/16/15,

[dpdk-dev] [PATCH 2/2] Remove RTE_MBUF_REFCNT references

2015-02-16 Thread Sergio Gonzalez Monroy
This patch removes all references to RTE_MBUF_REFCNT, setting the refcnt field in the mbuf struct permanently. Signed-off-by: Sergio Gonzalez Monroy --- app/test/test_link_bonding.c| 15 --- app/test/test_mbuf.c| 17 - config/common_bsd

[dpdk-dev] [PATCH 1/2] mbuf: Introduce IND_ATTACHED_MBUF flag

2015-02-16 Thread Sergio Gonzalez Monroy
Currently for mbufs with refcnt, we cannot free mbufs with external memory buffers (ie. vhost zero copy), as they are recognized as indirect attached mbufs and therefore we free the direct mbuf it points to, resulting in an error in the case of external memory buffers. We solve the issue by introd

[dpdk-dev] [PATCH 0/2] Removal of RTE_MBUF_REFCNT

2015-02-16 Thread Sergio Gonzalez Monroy
This patch tries to remove the RTE_MBUF_REFCNT config options and dependencies by introducing a new mbuf flag IND_ATTACHED_MBUF that would indicate when the mbuf is an indirect attached mbuf, to differentiate between indirect mbufs and mbufs with external memory buffers (ie. vhost zero copy). Pre

[dpdk-dev] [PATCH v2 0/4] DPDK memcpy optimization

2015-02-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zhihong Wang > Sent: Thursday, January 29, 2015 2:39 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 0/4] DPDK memcpy optimization > > This patch set optimizes memcpy for DPDK for both SSE and AVX pla

[dpdk-dev] [PATCH v7 04/19] eal: fix wrong strnlen() return value in 32bit icc

2015-02-16 Thread Olivier MATZ
Hi, On 02/15/2015 04:15 AM, Cunming Liang wrote: > The problem is that strnlen() here may return invalid value with 32bit icc. > (actually it returns it?s second parameter,e.g: sysconf(_SC_ARG_MAX)). > It starts to manifest hwen max_len parameter is > 2M and using icc ?m32 ?O2 > (or above). > >

[dpdk-dev] [PATCH v6 04/19] eal: fix wrong strnlen() return value in 32bit icc

2015-02-16 Thread Olivier MATZ
Hi, On 02/15/2015 02:32 AM, Liang, Cunming wrote: > --- a/lib/librte_eal/common/eal_common_options.c > +++ b/lib/librte_eal/common/eal_common_options.c > @@ -167,7 +167,7 @@ eal_parse_coremask(const char *coremask) > if (coremask[0] == '0' && ((coremask[1] == 'x') >

[dpdk-dev] [PATCH 0/2] Removal of RTE_MBUF_REFCNT

2015-02-16 Thread Stephen Hemminger
On Mon, 16 Feb 2015 16:08:31 + Sergio Gonzalez Monroy wrote: > This patch tries to remove the RTE_MBUF_REFCNT config options and dependencies > by introducing a new mbuf flag IND_ATTACHED_MBUF that would indicate when the > mbuf > is an indirect attached mbuf, to differentiate between indire

[dpdk-dev] i40e and RSS woes

2015-02-16 Thread Gleb Natapov
I have an application that works reasonably well with ixgbe driver, but when I try to use it with i40e I encounter various RSS related issues. First one is that for some reason i40e, when it builds default reta table, round down number of queues to power of two. Why is this? If I configure reta by

[dpdk-dev] [PATCH v1] doc: prog guide update for eal multi-pthread

2015-02-16 Thread Cunming Liang
The patch add the multi-pthread section under EAL chapter of prog_guide. Signed-off-by: Cunming Liang --- doc/guides/prog_guide/env_abstraction_layer.rst | 157 1 file changed, 157 insertions(+) diff --git a/doc/guides/prog_guide/env_abstraction_layer.rst b/doc/guides/

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-16 Thread Olivier MATZ
Hi John, On 02/13/2015 04:39 PM, John McNamara wrote: > From: Richardson, Bruce > > Example showing how callbacks can be used to insert a timestamp > into each packet on RX. On TX the timestamp is used to calculate > the packet latency through the app, in cycles. > > Signed-off-by: Bruce Richar

[dpdk-dev] [PATCH] Add support to read target/generic/rte.vars.mk file for external builds

2015-02-16 Thread Olivier MATZ
Hi Keith, On 02/14/2015 07:52 PM, Keith Wiles wrote: > The external build of applications does not import the > target/generic/rte.vars.mk > file, which is needed for locating DPDK headers and libraries. > > Signed-off-by: Keith Wiles > --- > mk/rte.extvars.mk | 7 +++ > 1 file changed, 7

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-16 Thread Bruce Richardson
On Mon, Feb 16, 2015 at 03:33:40PM +0100, Olivier MATZ wrote: > Hi John, > > On 02/13/2015 04:39 PM, John McNamara wrote: > > From: Richardson, Bruce > > > > Example showing how callbacks can be used to insert a timestamp > > into each packet on RX. On TX the timestamp is used to calculate > > t

[dpdk-dev] [PATCH] Add Q variable to external builds to be quite

2015-02-16 Thread Olivier MATZ
Hi Keith, On 02/14/2015 07:13 PM, Keith Wiles wrote: > Signed-off-by: Keith Wiles > --- > mk/rte.extvars.mk | 4 > 1 file changed, 4 insertions(+) > > diff --git a/mk/rte.extvars.mk b/mk/rte.extvars.mk > index 3e5a990..83a5721 100644 > --- a/mk/rte.extvars.mk > +++ b/mk/rte.extvars.mk > @@

[dpdk-dev] [PATCH v4 5/5] doc: Convert image extensions to wildcard

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Tuesday, February 3, 2015 2:11 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 5/5] doc: Convert image extensions to wildcard > > Changed all image.svg and image.png extensions to

[dpdk-dev] [PATCH v4 4/5] doc: Refactored split cell formatting in one table

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Tuesday, February 3, 2015 2:11 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 4/5] doc: Refactored split cell formatting in > one table > > Refactored split cell in test_pipeline

[dpdk-dev] [PATCH v4 3/5] doc: Fix encoding of (r) character

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Tuesday, February 3, 2015 2:11 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 3/5] doc: Fix encoding of (r) character > > Change encoding of (r) from Latin-1 to UTF8 to match the

[dpdk-dev] [PATCH v4 2/5] doc: Add Sphinx config to build pdf version of guides

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Tuesday, February 3, 2015 2:11 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 2/5] doc: Add Sphinx config to build pdf > version of guides > > Add Python Sphinx config to allow c

[dpdk-dev] [PATCH v4 1/5] mk: Add 'make doc-pdf' target to convert guide docs to pdf

2015-02-16 Thread Iremonger, Bernard
> > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > > Sent: Tuesday, February 3, 2015 2:11 PM > > To: dev at dpdk.org > > Subject: [dpdk-dev] [PATCH v4 1/5] mk: Add 'make doc-pdf' target to > > convert guide docs to pdf > > > > Added make syste

[dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, non-combined config

2015-02-16 Thread Panu Matilainen
On 02/16/2015 01:17 PM, Thomas Monjalon wrote: > 2015-02-16 12:01, Panu Matilainen: >> On 02/13/2015 03:18 PM, Thomas Monjalon wrote: >>> 2015-02-13 12:33, Panu Matilainen: On 02/13/2015 11:28 AM, Thomas Monjalon wrote: > 2015-02-13 09:27, Panu Matilainen: >> On 02/12/2015 05:44 PM, Th

[dpdk-dev] [PULL REQUEST] fm10k: new polling mode driver for PF/VF.

2015-02-16 Thread Thomas Monjalon
Hi, 2015-02-16 18:18, Chen Jing D: > These changes add poll mode driver for the host interface of Intel > Ethernet Switch FM1 Series of silicons, which integrate NIC and > switch functionalities. The patch set include below features: > > 1. Basic RX/TX functions for PF/VF. > 2. Interrupt hand

[dpdk-dev] [PATCH v8 2/2] librte_pmd_null: Support port hotplug function

2015-02-16 Thread Tetsuya Mukawa
This patch adds port hotplug support to Null PMD. v7: - Add parameter checkings. (Thanks to Iremonger, Bernard) v6: - Fix a parameter of rte_eth_dev_free(). v4: - Fix commit title. Signed-off-by: Tetsuya Mukawa --- lib/librte_pmd_null/rte_eth_null.c | 35 ++

[dpdk-dev] [PATCH v8 1/2] librte_pmd_null: Add Null PMD

2015-02-16 Thread Tetsuya Mukawa
Null PMD is a driver of the virtual device particularly designed to measure performance of DPDK PMDs. When an application call rx, Null PMD just allocates mbufs and returns those. Also tx, the PMD just frees mbufs. The PMD has following options. - size: specify packe size allocated by RX. Default

[dpdk-dev] [PATCH v8] testpmd: Add port hotplug support

2015-02-16 Thread Tetsuya Mukawa
The patch introduces following commands. - port attach [ident] - port detach [port_id] - attach: attaching a port - detach: detaching a port - ident: pci address of physical device. Or device name and parameters of virtual device. (ex. :02:00.0, eth_pcap0,iface=eth0) - po

[dpdk-dev] [PATCH v8] librte_pmd_pcap: Add port hotplug support

2015-02-16 Thread Tetsuya Mukawa
This patch adds finalization code to free resources allocated by the PMD. v6: - Fix a paramter of rte_eth_dev_free(). v4: - Change function name. Signed-off-by: Tetsuya Mukawa --- lib/librte_pmd_pcap/rte_eth_pcap.c | 40 ++ 1 file changed, 40 insertions(+)

[dpdk-dev] [PATCH v8 14/14] doc: Add port hotplug framework section to programmers guide

2015-02-16 Thread Tetsuya Mukawa
This patch adds a new section for describing port hotplug framework. Signed-off-by: Tetsuya Mukawa --- doc/guides/prog_guide/index.rst | 1 + doc/guides/prog_guide/port_hotplug_framework.rst | 110 +++ 2 files changed, 111 insertions(+) create mode 100644

[dpdk-dev] [PATCH v8 13/14] eal: Enable port hotplug framework in Linux

2015-02-16 Thread Tetsuya Mukawa
The patch enables CONFIG_RTE_LIBRTE_EAL_HOTPLUG in Linux configuration. Signed-off-by: Tetsuya Mukawa --- config/common_linuxapp | 5 + 1 file changed, 5 insertions(+) diff --git a/config/common_linuxapp b/config/common_linuxapp index d428f84..81055f8 100644 --- a/config/common_linuxapp +++

[dpdk-dev] [PATCH v8 12/14] eal/pci: Add rte_eal_dev_attach/detach() functions

2015-02-16 Thread Tetsuya Mukawa
These functions are used for attaching or detaching a port. When rte_eal_dev_attach() is called, the function tries to realize the device name as pci address. If this is done successfully, rte_eal_dev_attach() will attach physical device port. If not, attaches virtual devive port. When rte_eal_dev_

[dpdk-dev] [PATCH v8 11/14] ethdev: Add one dev_type parameter to rte_eth_dev_allocate

2015-02-16 Thread Tetsuya Mukawa
This new parameter is needed to keep device type like physical or virtual. Port detaching processes are different between physical and virtual. This parameter lets detaching function know a device type of the port. v8: - NONE_TRACE is replaced by NO_TRACE. - Add missing symbol in version map. (T

[dpdk-dev] [PATCH v8 10/14] eal/pci: Cleanup pci driver initialization code

2015-02-16 Thread Tetsuya Mukawa
- Add rte_eal_pci_close_one_dirver() The function is used for closing the specified driver and device. - Add pci_invoke_all_drivers() The function is based on pci_probe_all_drivers. But it can not only probe but also close drivers. - Add pci_close_all_drivers() The function tries to find a

[dpdk-dev] [PATCH v8 09/14] eal/pci: Add a function to remove the entry of devargs list

2015-02-16 Thread Tetsuya Mukawa
The function removes the specified devargs entry from devargs_list. Also, the patch adds sanity checking to rte_eal_devargs_add(). v5: - Change function definition of rte_eal_devargs_remove(). v4: - Fix sanity check code. Signed-off-by: Tetsuya Mukawa --- lib/librte_eal/common/eal_common_devarg

[dpdk-dev] [PATCH v8 08/14] eal/linux/pci: Add functions for unmapping igb_uio resources

2015-02-16 Thread Tetsuya Mukawa
The patch adds functions for unmapping igb_uio resources. The patch is only for Linux and igb_uio environment. VFIO and BSD are not supported. v8: - Fix typo. (Thanks to Iremonger, Bernard) v5: - Fix pci_unmap_device() to check pt_driver. v4: - Add parameter checking. - Add header file to determ

[dpdk-dev] [PATCH v8 07/14] ethdev: Add functions that will be used by port hotplug functions

2015-02-16 Thread Tetsuya Mukawa
The patch adds following functions. - rte_eth_dev_save() The function is used for saving current rte_eth_dev structures. - rte_eth_dev_get_changed_port() The function receives the rte_eth_dev structures, then compare these with current values to know which port is actually attached or deta

[dpdk-dev] [PATCH v8 06/14] eal, ethdev: Add a function and function pointers to close ether device

2015-02-16 Thread Tetsuya Mukawa
The patch adds function pointer to rte_pci_driver and eth_driver structure. These function pointers are used when ports are detached. Also, the patch adds rte_eth_dev_uninit(). So far, it's not called by anywhere, but it will be called when port hotplug function is implemented. v6: - Fix rte_eth_d

[dpdk-dev] [PATCH v8 05/14] ethdev: Add rte_eth_dev_free to free specified device

2015-02-16 Thread Tetsuya Mukawa
This patch adds rte_eth_dev_free(). The function is used for changing an attached status of the device that has specified name. v6: - Use rte_eth_dev structure as the paramter of rte_eth_dev_free(). v4: - Add parameter checking. Signed-off-by: Tetsuya Mukawa --- lib/librte_ether/rte_ethdev.c |

[dpdk-dev] [PATCH v8 04/14] eal/pci: Consolidate pci address comparison APIs

2015-02-16 Thread Tetsuya Mukawa
This patch replaces pci_addr_comparison() and memcmp() of pci addresses by eal_compare_pci_addr(). v8: - Fix pci_scan_one() to update sysfs values. (Thanks to Qiu, Michael and Iremonger, Bernard) v5: - Fix pci_scan_one to handle pt_driver correctly. v4: - Fix calculation method of eal_compare_pc

[dpdk-dev] [PATCH v8 03/14] eal/pci, ethdev: Remove assumption that port will not be detached

2015-02-16 Thread Tetsuya Mukawa
To remove assumption, do like followings. This patch adds "RTE_PCI_DRV_DETACHABLE" to drv_flags of rte_pci_driver structure. The flags indicate the driver can detach devices at runtime. Also, remove assumption that port will not be detached. To remove the assumption. - Add 'attached' member to rt

[dpdk-dev] [PATCH v8 02/14] eal_pci: pci memory map work with driver type

2015-02-16 Thread Tetsuya Mukawa
From: Michael Qiu With the driver type flag in struct rte_pci_dev, we do not need to always map uio devices with vfio related function when vfio enabled. Signed-off-by: Michael Qiu Signed-off-by: Tetsuya Mukawa --- lib/librte_eal/linuxapp/eal/eal_pci.c | 30 +- 1

[dpdk-dev] [PATCH v8 01/14] eal_pci: Add flag to hold kernel driver type

2015-02-16 Thread Tetsuya Mukawa
From: Michael Qiu Currently, dpdk has no ability to know which type of driver( vfio-pci/igb_uio/uio_pci_generic) the device used. It only can check whether vfio is enabled or not staticly. It really useful to have the flag, becasue different type need to handle differently in runtime. For exampl

[dpdk-dev] [PATCH v8 00/14] Port Hotplug Framework

2015-02-16 Thread Tetsuya Mukawa
This patch series adds a dynamic port hotplug framework to DPDK. With the patches, DPDK apps can attach or detach ports at runtime. The basic concept of the port hotplug is like followings. - DPDK apps must have responsibility to manage ports. DPDK apps only know which ports are attached or deta

[dpdk-dev] [PATCH v4 1/5] mk: Add 'make doc-pdf' target to convert guide docs to pdf

2015-02-16 Thread Mcnamara, John
> -Original Message- > From: Iremonger, Bernard > Sent: Monday, February 16, 2015 12:20 PM > To: Mcnamara, John; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v4 1/5] mk: Add 'make doc-pdf' target to > convert guide docs to pdf > > > > > .PHONY: clean > > -clean: api-html-clean guides-

[dpdk-dev] [PATCH v4 5/5] doc: Convert image extensions to wildcard

2015-02-16 Thread Mcnamara, John
> -Original Message- > From: Iremonger, Bernard > Sent: Monday, February 16, 2015 12:09 PM > To: Mcnamara, John; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v4 5/5] doc: Convert image extensions to > wildcard > > > > -.. |vmdq_dcb_example| image:: img/vmdq_dcb_example.svg > > +.. |vmdq

[dpdk-dev] [PATCH v4 1/5] mk: Add 'make doc-pdf' target to convert guide docs to pdf

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Tuesday, February 3, 2015 2:11 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 1/5] mk: Add 'make doc-pdf' target to convert > guide docs to pdf > > Added make system support fo

[dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, non-combined config

2015-02-16 Thread Thomas Monjalon
2015-02-16 12:01, Panu Matilainen: > On 02/13/2015 03:18 PM, Thomas Monjalon wrote: > > 2015-02-13 12:33, Panu Matilainen: > >> On 02/13/2015 11:28 AM, Thomas Monjalon wrote: > >>> 2015-02-13 09:27, Panu Matilainen: > On 02/12/2015 05:44 PM, Thomas Monjalon wrote: > > A library is consider

[dpdk-dev] [PATCH v4 5/5] doc: Convert image extensions to wildcard

2015-02-16 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Tuesday, February 3, 2015 2:11 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 5/5] doc: Convert image extensions to wildcard > > Changed all image.svg and image.png extensions t

[dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, non-combined config

2015-02-16 Thread Panu Matilainen
On 02/13/2015 03:18 PM, Thomas Monjalon wrote: > 2015-02-13 12:33, Panu Matilainen: >> On 02/13/2015 11:28 AM, Thomas Monjalon wrote: >>> 2015-02-13 09:27, Panu Matilainen: On 02/12/2015 05:44 PM, Thomas Monjalon wrote: > A library is considered as a plugin if there is no public API and it

[dpdk-dev] Explanation of the QoS offset values used in the QoS scheduler example app.

2015-02-16 Thread Dumitrescu, Cristian
Hi, These are byte offsets used for reading these packet fields, considering that packet bytes are stored in memory in network order, while the CPU is little endian, so byte swapping takes place on read. This is probably not the best way to write this code, and I agree this portion of the app

[dpdk-dev] [PATCH 3/6] bsd: remove useless assignments

2015-02-16 Thread Bruce Richardson
On Sat, Feb 14, 2015 at 09:59:07AM -0500, Stephen Hemminger wrote: > If variable is set in the next line, it doesn't need to be > initialized. > > Signed-off-by: Stephen Hemminger > --- > lib/librte_eal/bsdapp/eal/eal.c | 3 ++- > lib/librte_eal/bsdapp/eal/eal_pci.c | 2 +- > 2 files changed

[dpdk-dev] ACL lookup doesn't work for some schemes

2015-02-16 Thread Stevan Markovic
Hi, On Mon, Feb 16, 2015 at 4:56 AM, Ananyev, Konstantin < konstantin.ananyev at intel.com> wrote: > Yes, right now, libtre_acl to work correctly first field has to be 1B long > and all subsequent grouped into sets of 4 consecutive bytes. > I thought we have it documented into our PG, ACL section

[dpdk-dev] kernel: BUG: soft lockup - CPU#1 stuck for 22s! [kni_single:1782]

2015-02-16 Thread Jay Rolette
On Tue, Feb 10, 2015 at 7:33 PM, Jay Rolette wrote: > Environment: > * DPDK 1.6.0r2 > * Ubuntu 14.04 LTS > * kernel: 3.13.0-38-generic > > When we start exercising KNI a fair bit (transferring files across it, > both sending and receiving), I'm starting to see a fair bit of these kernel > l

[dpdk-dev] Query on portmask config

2015-02-16 Thread De Lara Guarch, Pablo
Hi Shankari, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shankari > Vaidyalingam > Sent: Sunday, February 15, 2015 2:46 AM > To: dev at dpdk.org > Subject: [dpdk-dev] Query on portmask config > > Hi, > > I'm new to DPDK. > Would like to know how to dete

[dpdk-dev] ACL lookup doesn't work for some schemes

2015-02-16 Thread Ananyev, Konstantin
Hi > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of ??? > Sent: Sunday, February 15, 2015 9:19 AM > To: dev at dpdk.org > Subject: [dpdk-dev] ACL lookup doesn't work for some schemes > > Hi,I noticed that ACL lookup doesn't work for some schemes.1. If the

[dpdk-dev] Explanation of the QoS offset values used in the QoS scheduler example app.

2015-02-16 Thread Aws Ismail
Thanks Cristian and Ariel your reply and explanation. It is clear to me now. Cheers. Aws\ On Feb 16, 2015 6:34 AM, "Dumitrescu, Cristian" < cristian.dumitrescu at intel.com> wrote: > Hi, > > These are byte offsets used for reading these packet fields, considering > that packet bytes are stored

[dpdk-dev] [PATCH v8 08/14] eal/linux/pci: Add functions for unmapping igb_uio resources

2015-02-16 Thread Neil Horman
On Mon, Feb 16, 2015 at 01:14:27PM +0900, Tetsuya Mukawa wrote: > The patch adds functions for unmapping igb_uio resources. The patch is only > for Linux and igb_uio environment. VFIO and BSD are not supported. > > v8: > - Fix typo. > (Thanks to Iremonger, Bernard) > v5: > - Fix pci_unmap_device

[dpdk-dev] [PATCH v8 07/14] ethdev: Add functions that will be used by port hotplug functions

2015-02-16 Thread Neil Horman
On Mon, Feb 16, 2015 at 01:14:26PM +0900, Tetsuya Mukawa wrote: > The patch adds following functions. > > - rte_eth_dev_save() > The function is used for saving current rte_eth_dev structures. > - rte_eth_dev_get_changed_port() > The function receives the rte_eth_dev structures, then compare >

[dpdk-dev] kernel: BUG: soft lockup - CPU#1 stuck for 22s! [kni_single:1782]

2015-02-16 Thread Jay Rolette
Thanks Alejandro. I'll look into the kernel dump if there is one. The system is extremely brittle once this happens. Usually I can't do much other than power-cycle the box. Anything requiring sudo just locks the terminal up, so little to look at besides the messages on the console. Matthew Hall a

[dpdk-dev] [PATCH v8 00/14] Port Hotplug Framework

2015-02-16 Thread Qiu, Michael
On 2/16/2015 12:15 PM, Tetsuya Mukawa wrote: > This patch series adds a dynamic port hotplug framework to DPDK. > With the patches, DPDK apps can attach or detach ports at runtime. > > The basic concept of the port hotplug is like followings. > - DPDK apps must have responsibility to manage ports.

[dpdk-dev] Intel DPDK support for ntop DPI

2015-02-16 Thread harshavardhan Reddy
Hi All, Is ntop DPI integration available for Intel DPDK..? I could see only Propretory qosmos ixEngine integrated with DPDK and Windriver with its own DPI. But not found any info about nDPI integration with DPDK. Thank You, Regards, HVR

[dpdk-dev] [PATCH v6 12/19] malloc: fix the issue of SOCKET_ID_ANY

2015-02-16 Thread Liang, Cunming
Hi, > -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Sunday, February 15, 2015 10:09 PM > To: Liang, Cunming > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 12/19] malloc: fix the issue of > SOCKET_ID_ANY > > On Sun, Feb 15, 2015 at 12:43:03AM