[dpdk-dev] deadline for 2.0 features proposal

2015-02-03 Thread Thomas Monjalon
2015-02-03 12:04, Bruce Richardson: > On Tue, Feb 03, 2015 at 11:40:41AM +0100, Thomas Monjalon wrote: > > Hi, > > > > These features were planned in the 2.0 roadmap but not submitted: > > - cuckoo hash > > - packet distributor (phase 2) > > - bifurcated driver, assuming availability i

[dpdk-dev] Packet drops during non-exhaustive flood with OVS and 1.8.0

2015-02-03 Thread Andrey Korolyov
> These patches are to enable DPDK 1.8 only. What 'bulk processing' are you > referring to? > By default there is a batch size of 192 in netdev-dpdk for rx from the NIC - > the linked > patch doesn't change this, just the DPDK version. Sorry, I referred the wrong part there: bulk transmission, w

[dpdk-dev] vhost: virtio-net rx-ring stop work after work many hours, bug?

2015-02-03 Thread Linhaifeng
On 2015/1/28 17:51, Xie, Huawei wrote: > > >> -Original Message- >> From: Linhaifeng [mailto:haifeng.lin at huawei.com] >> Sent: Tuesday, January 27, 2015 3:57 PM >> To: dpd >> dev at dpdk.org; ms >> Michael S. Tsirkin >> Cc: lilijun; liuyongan at huawei.com; Xie, Huawei >> Subject: vho

[dpdk-dev] vhost: virtio-net rx-ring stop work after work many hours, bug?

2015-02-03 Thread Linhaifeng
On 2015/1/27 17:37, Michael S. Tsirkin wrote: > On Tue, Jan 27, 2015 at 03:57:13PM +0800, Linhaifeng wrote: >> Hi,all >> >> I use vhost-user to send data to VM at first it cant work well but after >> many hours VM can not receive data but can send data. >> >> (gdb)p avail_idx >> $4 = 2668 >> (gd

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

2015-02-03 Thread Tetsuya Mukawa
Hi Bernard, I appreciate your checking. I will fix like below. Tetsuya On 2015/02/03 19:03, Iremonger, Bernard wrote: +.. code-block:: console + +testpmd> port attach :02:00.0 +Attaching a new port... +... snip ... +Port 0 is attached. Now total

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

2015-02-03 Thread Tetsuya Mukawa
On 2015/02/03 18:14, Qiu, Michael wrote: > On 2/3/2015 2:16 PM, Qiu, Michael wrote: >> On 2/1/2015 12:02 PM, Tetsuya Mukawa wrote: >>> The patch introduces following commands. >>> - port attach [ident] >>> - port detach [port_id] >>> - attach: attaching a port >>> - detach: detaching a port >>>

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

2015-02-03 Thread Tetsuya Mukawa
On 2015/02/03 15:59, Qiu, Michael wrote: > On 2/1/2015 12:02 PM, Tetsuya Mukawa wrote: >> 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. >>

[dpdk-dev] [PATCH 1/2] rte_ethdev: update link status (speed, duplex, link_up) after rte_eth_dev_start

2015-02-03 Thread Jia Yu
Helin, Thanks for comment. Any device that enabled LSC needs this fix, otherwise they all need to call link_update separately. We cannot assume that only Bond enables LSC interrupt. The fix will not be used for all PMDs, as it explicitly checks if (dev->data->dev_conf.intr_conf.lsc != 0). Therefo

[dpdk-dev] [PATCH v6 00/13] Port Hotplug Framework

2015-02-03 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Sunday, February 1, 2015 4:02 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v6 00/13] Port Hotplug Framework > > This patch series adds a dynamic port hot

[dpdk-dev] Packet drops during non-exhaustive flood with OVS and 1.8.0

2015-02-03 Thread Traynor, Kevin
> -Original Message- > From: Andrey Korolyov [mailto:andrey at xdel.ru] > Sent: Monday, February 2, 2015 10:53 AM > To: dev at dpdk.org > Cc: discuss at openvswitch.org; Traynor, Kevin > Subject: Re: Packet drops during non-exhaustive flood with OVS and 1.8.0 > > On Thu, Jan 22, 2015 at 8

[dpdk-dev] Add DSO symbol versioning to supportbackwards compatibility

2015-02-03 Thread Thomas Monjalon
2014-12-20 16:01, Neil Horman: > GI: [PATCH 1/4] compat: Add infrastructure to support symbol versioninBI > develops and changes quickly, which makes it difficult for > applications to keep up with the latest version of the library, especially > when > it (the DPDK) is built as a set of shared obj

[dpdk-dev] [PATCH v6 10/13] eal/pci: Cleanup pci driver initialization code

2015-02-03 Thread Tetsuya Mukawa
On 2015/02/03 14:05, Qiu, Michael wrote: > On 2/3/2015 12:07 PM, Tetsuya Mukawa wrote: >> On 2015/02/03 11:35, Qiu, Michael wrote: >>> On 2/1/2015 12:02 PM, Tetsuya Mukawa wrote: - Add rte_eal_pci_close_one_dirver() The function is used for closing the specified driver and device.

[dpdk-dev] [PATCH] testpmd: Fix wrong message when no port started

2015-02-03 Thread Michael Qiu
The log message is wrong when no port started. Signed-off-by: Michael Qiu --- app/test-pmd/testpmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 773b8af..ebf9448 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/t

[dpdk-dev] [PATCH v9 4/4] docs: Add ABI documentation

2015-02-03 Thread Thomas Monjalon
> Adding a document describing rudimentary ABI policy and adding notice space > for > any deprecation announcements > > Signed-off-by: Neil Horman Acked-by: Thomas Monjalon Thanks Neil for writing the policy. The version 2.0 will be the first to have a versioned ABI with LIBABIVER := 1. Star

[dpdk-dev] [PATCH v2 5/5] l3fwd-power: enable one-shot rx interrupt and polling/interrupt mode switch

2015-02-03 Thread Zhou Danny
v2 change - Remove unused function which is for debug purpose Demonstrate how to handle per rx queue interrupt in a NAPI-like implementation in usersapce. PDK polling thread mainly works in polling mode and switch to interrupt mode only if there is no any packet received in recent polls. Usersap

[dpdk-dev] [PATCH v2 4/5] eal: add per rx queue interrupt handling based on VFIO

2015-02-03 Thread Zhou Danny
v2 change: - Fix compilation issue for a missed header file - Bug fix: free unreleased resources on the exception path before return - Consolidate coding style related review comments This patch does below: - Create multiple VFIO eventfd for rx queues. - Handle per rx queue interrupt. - Eliminate

[dpdk-dev] [PATCH v2 3/5] igb: enable rx queue interrupts for PF

2015-02-03 Thread Zhou Danny
v2 changes - Consolidate review comments related to coding style The patch does below for igb PF: - Setup NIC to generate MSI-X interrupts - Set the IVAR register to map interrupt causes to vectors - Implement interrupt enable/disable functions Signed-off-by: Danny Zhou Tested-by: Yong Liu ---

[dpdk-dev] [PATCH v2 2/5] ixgbe: enable rx queue interrupts for both PF and VF

2015-02-03 Thread Zhou Danny
v2 changes - Consolidate review comments related to coding style The patch does below things for ixgbe PF and VF: - Setup NIC to generate MSI-X interrupts - Set the IVAR register to map interrupt causes to vectors - Implement interrupt enable/disable functions Signed-off-by: Danny Zhou Signed-of

[dpdk-dev] [PATCH v2 1/5] ethdev: add rx interrupt enable/disable functions

2015-02-03 Thread Zhou Danny
Add two dev_ops functions to enable and disable rx queue interrupts Signed-off-by: Danny Zhou Tested-by: Yong Liu --- lib/librte_ether/rte_ethdev.c | 45 ++ lib/librte_ether/rte_ethdev.h | 57 +++ 2 files changed, 102 inser

[dpdk-dev] [PATCH v2 0/5] Interrupt mode for PMD

2015-02-03 Thread Zhou Danny
v2 changes - Fix compilation issue in Makefile for missed header file. - Consolidate internal and community review comments of v1 patch set. The patch series introduce low-latency one-shot rx interrupt into DPDK with polling and interrupt mode switch control example. DPDK userspace interrupt noti

[dpdk-dev] [PATCH v2 1/5] ethdev: add rx interrupt enable/disable functions

2015-02-03 Thread Stephen Hemminger
On Tue, 3 Feb 2015 16:18:27 +0800 Zhou Danny wrote: > + > +int > +rte_eth_dev_rx_queue_intr_enable(uint8_t port_id, > + uint16_t queue_id) > +{ > + struct rte_eth_dev *dev; > + > + if (port_id >= nb_ports) { > + PMD_DEBUG_TRACE("Invalid port_id=%d\

[dpdk-dev] [RFC PATCH] rte_timer: Fix rte_timer_reset return value

2015-02-03 Thread rsanfo...@gmail.com
From: Robert Sanford - API rte_timer_reset() should return -1 when the timer is in the RUNNING or CONFIG state. Instead, it ignores the return value of internal function __rte_timer_reset() and always returns 0. We change rte_timer_reset() to return the value returned by __rte_timer_reset(). - C

[dpdk-dev] [PATCH v2 0/5] Interrupt mode for PMD

2015-02-03 Thread Stephen Hemminger
On Tue, 3 Feb 2015 16:18:26 +0800 Zhou Danny wrote: > 2) UIO only supports a single interrupt vector which has to been shared by > LSC interrupt and interrupts assigned to dedicated rx queues. UIO uses msi-x and there is no fundamental reason it could not use one IRQ for LSC and one IRQ per que

[dpdk-dev] vhost: virtio-net rx-ring stop work after work many hours, bug?

2015-02-03 Thread Linhaifeng
I found that the new code had try to notify guest after send each packet after 2bbb811. So this bug not exist now. static inline uint32_t __attribute__((always_inline)) virtio_dev_merge_rx(struct virtio_net *dev, uint16_t queue_id, struct rte_mbuf **pkts, uint32_t count) { ... ..

[dpdk-dev] Add DSO symbol versioning to supportbackwards compatibility

2015-02-03 Thread Neil Horman
On Tue, Feb 03, 2015 at 05:01:51PM +0100, Thomas Monjalon wrote: > 2014-12-20 16:01, Neil Horman: > > GI: [PATCH 1/4] compat: Add infrastructure to support symbol versioninBI > > develops and changes quickly, which makes it difficult for > > applications to keep up with the latest version of the li

[dpdk-dev] deadline for 2.0 features proposal

2015-02-03 Thread Bruce Richardson
On Tue, Feb 03, 2015 at 09:24:28PM +0100, Thomas Monjalon wrote: > 2015-02-03 12:04, Bruce Richardson: > > On Tue, Feb 03, 2015 at 11:40:41AM +0100, Thomas Monjalon wrote: > > > Hi, > > > > > > These features were planned in the 2.0 roadmap but not submitted: > > > - cuckoo hash > > > - packet

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

2015-02-03 Thread John McNamara
Changed all image.svg and image.png extensions to image.* This allows Sphinx to decide the appropriate image type from the available image options. Signed-off-by: John McNamara --- doc/guides/prog_guide/env_abstraction_layer.rst|2 +- .../prog_guide/i40e_ixgbe_igb_virt_func_drv.rst|

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

2015-02-03 Thread John McNamara
Refactored split cell in test_pipeline table to allow it to convert cleanly to PDF. The Sphinx/Latex converter doesn't handle split cells like the following: +-+--+ | Header 1| Header 2 | +=+==+ | | | |

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

2015-02-03 Thread John McNamara
Change encoding of (r) from Latin-1 to UTF8 to match the other symbols in the doc and to allow it to convert cleanly to PDF. Signed-off-by: John McNamara --- doc/guides/rel_notes/supported_features.rst |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/guides/rel_notes

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

2015-02-03 Thread John McNamara
Add Python Sphinx config to allow conversion of guides to Latex and then PDF format. This mainly adds metadata but also includes an override to the Latex formatter to control the font size in code blocks. Signed-off-by: John McNamara --- doc/guides/conf.py | 48 +++

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

2015-02-03 Thread John McNamara
Added make system support for building PDF versions of the guides. Requires Python Sphinx and TexLive Full. Signed-off-by: John McNamara --- mk/rte.sdkdoc.mk | 43 ++- 1 files changed, 42 insertions(+), 1 deletions(-) diff --git a/mk/rte.sdkdoc.mk b/mk/

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

2015-02-03 Thread John McNamara
This patch adds support for creating PDF versions of the user guides. Specifically: * The Programmer's Guide * The Linux Getting Started Guide * The FreeBSD Getting Started Guide * The Sample Applications User Guide * The TestPMD User Guide * The Release Notes The local

[dpdk-dev] [PATCH] maintainers: claim responsibility for VMXNET3 PMD

2015-02-03 Thread Yong Wang
Signed-off-by: Yong Wang --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9a63714..377aa8a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -206,6 +206,7 @@ F: examples/vhost/ F: doc/guides/sample_app_ug/vhost.rst VMware vmxnet3 +M: Yong Wang F

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

2015-02-03 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, February 2, 2015 1:35 PM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/4] mk: Add 'make doc-pdf' target to > convert guide docs to pdf > > I think it's poss

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

2015-02-03 Thread Tetsuya Mukawa
On 2015/02/03 11:37, Qiu, Michael wrote: > On 2/1/2015 12:02 PM, 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_de

[dpdk-dev] [PATCH v6 10/13] eal/pci: Cleanup pci driver initialization code

2015-02-03 Thread Tetsuya Mukawa
On 2015/02/03 11:35, Qiu, Michael wrote: > On 2/1/2015 12:02 PM, Tetsuya Mukawa wrote: >> - 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

[dpdk-dev] [PATCH v6 00/13] Port Hotplug Framework

2015-02-03 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Sunday, February 1, 2015 4:02 AM > To: dev at dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v6 00/13] Port Hotplug Framework > > This patch series adds a dynamic port hotpl

[dpdk-dev] deadline for 2.0 features proposal

2015-02-03 Thread Bruce Richardson
On Tue, Feb 03, 2015 at 11:40:41AM +0100, Thomas Monjalon wrote: > Hi, > > These features were planned in the 2.0 roadmap but not submitted: > - cuckoo hash > - packet distributor (phase 2) > - bifurcated driver, assuming availability in Linux kernel > - Broadcom driver >

[dpdk-dev] deadline for 2.0 features proposal

2015-02-03 Thread Thomas Monjalon
Hi, These features were planned in the 2.0 roadmap but not submitted: - cuckoo hash - packet distributor (phase 2) - bifurcated driver, assuming availability in Linux kernel - Broadcom driver - Hyper-V driver - i40e QoS - i40e IEEE1588

[dpdk-dev] site down?

2015-02-03 Thread Masaru Oki
I got below message: myhost:~/src/dpdk$ git pull remote: error: inflate: data stream error (incorrect header check) remote: error: corrupt loose object 'a09f3e4c50467512970519943d26d9c5753584e0' remote: fatal: failed to read object a09f3e4c50467512970519943d26d9c5753584e0: Operation not permitted

[dpdk-dev] site down?

2015-02-03 Thread Thomas Monjalon
2015-02-03 11:18, Masaru Oki: > I got below message: > > myhost:~/src/dpdk$ git pull > remote: error: inflate: data stream error (incorrect header check) > remote: error: corrupt loose object 'a09f3e4c50467512970519943d26d9c5753584e0' > remote: fatal: failed to read object > a09f3e4c50467512970519

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

2015-02-03 Thread Tetsuya Mukawa
On 2015/02/02 20:57, Thomas Monjalon wrote: > 2015-02-02 11:33, Iremonger, Bernard: >> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] >>> --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst >>> +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst >> Hi Tetsuya, >> >> The doc changes should be in sep

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

2015-02-03 Thread Tetsuya Mukawa
On 2015/02/02 20:33, Iremonger, Bernard wrote >> /* >> * Work-around of a compilation error with ICC on invocations of the >> * rte_be_to_cpu_16() function. >> diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst >> b/doc/guides/testpmd_app_ug/testpmd_funcs.rst >> index 218835a..1cacbcf 10

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

2015-02-03 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Monday, February 2, 2015 1:16 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 2/4] doc: Add Sphinx config to build pdf > version of guides > > Add Python Sphinx config to allow co

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

2015-02-03 Thread Tetsuya Mukawa
On 2015/02/02 15:22, Qiu, Michael wrote: > On 2/2/2015 1:43 PM, Qiu, Michael wrote: >> On 2/1/2015 12:02 PM, Tetsuya Mukawa wrote: >>> 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 addres

[dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet types

2015-02-03 Thread Olivier MATZ
Hi Helin, On 02/03/2015 07:37 AM, Zhang, Helin wrote: >>> When your application decapsulates tunnels, you can just do outer = >>> inner and enter into the same code. >> Expanding packet_type is not easy, as there is no free bits in the first >> cache >> line. >> Is there any tunnel type in inner

[dpdk-dev] [PATCH v2 2/2] eal: add help option

2015-02-03 Thread David Marchand
On Tue, Feb 3, 2015 at 9:20 AM, Thomas Monjalon wrote: > 2015-02-03 07:33, David Marchand: > > On Mon, Feb 2, 2015 at 6:44 PM, Thomas Monjalon < > thomas.monjalon at 6wind.com> > > wrote: > > [snip] > > > @@ -340,6 +342,9 @@ eal_parse_args(int argc, char **argv) > > > cont

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

2015-02-03 Thread Iremonger, Bernard
> >> +.. code-block:: console > >> + > >> +testpmd> port attach :02:00.0 > >> +Attaching a new port... > >> +... snip ... > >> +Port 0 is attached. Now total ports is 1 > >> +Done > >> +port detach > >> +~~~ > >> + > >> +Detach a specific port. > >> + > >> +Before d

[dpdk-dev] [PATCH 00/17] unified packet type

2015-02-03 Thread Olivier MATZ
Hi Konstantin, On 02/02/2015 06:20 PM, Ananyev, Konstantin wrote: >> I think the API should describe for each packet type what can be >> expected by the application. Here is an example. When a driver sets the >> RTE_PTYPE_L3_IPV4 type, it means that: >> >> - the layer 3 is identified as IP by unde

[dpdk-dev] [PATCH v2 1/2] eal: sort and align options lists

2015-02-03 Thread Thomas Monjalon
2015-02-03 07:26, David Marchand: > Two little comments. > > On Mon, Feb 2, 2015 at 6:44 PM, Thomas Monjalon > wrote: > > @@ -578,37 +579,36 @@ eal_check_common_options(struct internal_config > > *internal_cfg) > > void > > eal_common_usage(void) > > { > > - printf("-c COREMASK -n NUM [-

[dpdk-dev] [PATCH v2 2/2] eal: add help option

2015-02-03 Thread Thomas Monjalon
2015-02-03 07:33, David Marchand: > On Mon, Feb 2, 2015 at 6:44 PM, Thomas Monjalon > wrote: > [snip] > > @@ -340,6 +342,9 @@ eal_parse_args(int argc, char **argv) > > continue; > > > > switch (opt) { > > + case 'h': > > +

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

2015-02-03 Thread Qiu, Michael
On 2/3/2015 2:16 PM, Qiu, Michael wrote: > On 2/1/2015 12:02 PM, Tetsuya Mukawa wrote: >> 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. >>

[dpdk-dev] [PATCH 1/2] rte_ethdev: update link status (speed, duplex, link_up) after rte_eth_dev_start

2015-02-03 Thread Zhang, Helin
> -Original Message- > From: Jia Yu [mailto:jyu at vmware.com] > Sent: Tuesday, February 3, 2015 4:00 PM > To: Zhang, Helin > Cc: dev at dpdk.org; Thomas Monjalon > Subject: Re: [dpdk-dev] [PATCH 1/2] rte_ethdev: update link status (speed, > duplex, link_up) after rte_eth_dev_start > > M

[dpdk-dev] [PATCH 1/2] rte_ethdev: update link status (speed, duplex, link_up) after rte_eth_dev_start

2015-02-03 Thread Jia Yu
My answer to Helin?s comments: This patch is needed for bond slave devices or other devices, when LSC interrupt is enabled. 1. slave_configure() -> slave_eth_dev->?.lsc = 1 2. rte_eth_link_get() reads dev_link from eth_dev, when lsc interrupt is enabled. However, the dev_link on eth_dev has no

[dpdk-dev] [PATCH v2 2/2] eal: add help option

2015-02-03 Thread David Marchand
On Mon, Feb 2, 2015 at 6:44 PM, Thomas Monjalon wrote: [snip] > @@ -340,6 +342,9 @@ eal_parse_args(int argc, char **argv) > continue; > > switch (opt) { > + case 'h': > + eal_usage(prgname); > + exit

[dpdk-dev] [PATCH v2 1/2] eal: sort and align options lists

2015-02-03 Thread David Marchand
Two little comments. On Mon, Feb 2, 2015 at 6:44 PM, Thomas Monjalon wrote: > @@ -578,37 +579,36 @@ eal_check_common_options(struct internal_config > *internal_cfg) > void > eal_common_usage(void) > { > - printf("-c COREMASK -n NUM [-m NB] [-r NUM] [-b > ]" > - "[--proc-typ

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

2015-02-03 Thread Qiu, Michael
On 2/1/2015 12:02 PM, Tetsuya Mukawa wrote: > 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 paramerters of virtual devi

[dpdk-dev] [PATCH 03/18] fm10k: Add empty fm10k files

2015-02-03 Thread Chen, Jing D
Hi Neil, > -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Monday, February 02, 2015 9:39 PM > To: Chen, Jing D > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 03/18] fm10k: Add empty fm10k files > > On Mon, Feb 02, 2015 at 05:34:43AM +, Chen, J

[dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet types

2015-02-03 Thread Zhang, Helin
> -Original Message- > From: Zhang, Helin > Sent: Tuesday, February 3, 2015 11:19 AM > To: Olivier MATZ; dev at dpdk.org > Cc: Stephen Hemminger > Subject: RE: [dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet > types > > > > > -Original Message- > > From: Olivie

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

2015-02-03 Thread Qiu, Michael
On 2/1/2015 12:02 PM, Tetsuya Mukawa wrote: > 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 paramerters of virtual devi

[dpdk-dev] [PATCH 5/7] ethdev: unification of flow types

2015-02-03 Thread Zhang, Helin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, February 2, 2015 11:39 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 5/7] ethdev: unification of flow types > > Hi Helin, > > 2015-01-19 14:56, Helin Zhang:

[dpdk-dev] [PATCH 4/7] ethdev: fix of calculating the size of flow type mask array

2015-02-03 Thread Zhang, Helin
Hi Thomas > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, February 2, 2015 11:31 PM > To: Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 4/7] ethdev: fix of calculating the size of > flow > type mask array > > Hi Hel

[dpdk-dev] [PATCH v6 10/13] eal/pci: Cleanup pci driver initialization code

2015-02-03 Thread Qiu, Michael
On 2/3/2015 12:07 PM, Tetsuya Mukawa wrote: > On 2015/02/03 11:35, Qiu, Michael wrote: >> On 2/1/2015 12:02 PM, Tetsuya Mukawa wrote: >>> - Add rte_eal_pci_close_one_dirver() >>> The function is used for closing the specified driver and device. >>> - Add pci_invoke_all_drivers() [...] >>> >>>

[dpdk-dev] [PATCH 00/17] unified packet type

2015-02-03 Thread Zhang, Helin
> -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, February 3, 2015 1:20 AM > To: Olivier MATZ; Zhang, Helin; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH 00/17] unified packet type > > Hi Olivier, > > > -Original Message- > > From: dev [mailto:dev-bounces at

[dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet types

2015-02-03 Thread Zhang, Helin
> -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Monday, February 2, 2015 7:18 PM > To: Zhang, Helin; dev at dpdk.org > Cc: Stephen Hemminger > Subject: Re: [dpdk-dev] [PATCH 01/17] mbuf: add definitions of unified packet > types > > Hi Helin, > > On

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

2015-02-03 Thread Qiu, Michael
On 2/1/2015 12:02 PM, 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 > these with current

[dpdk-dev] [PATCH v9 5/5] app/testpmd: add commands to support hash functions

2015-02-03 Thread Zhang, Helin
Hi Thomas Yes, I agree with you. Documentation is needed. I will update it soon later together with others I need to update. Thanks for your reminder! Regards, Helin > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, February 2, 2015 10:57

[dpdk-dev] [PATCH v6 10/13] eal/pci: Cleanup pci driver initialization code

2015-02-03 Thread Qiu, Michael
On 2/1/2015 12:02 PM, Tetsuya Mukawa wrote: > - 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

[dpdk-dev] mmap failed: Cannot allocate memory when init dpdk eal

2015-02-03 Thread Zhang, Jerry
Hi, Please provide the environment info such as kernel version, DPDK version and the reproduce steps in detail. Thanks! >-Original Message- >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of zhangsha (A) >Sent: Friday, January 30, 2015 7:40 PM >To: dev at dpdk.org >Subject:

[dpdk-dev] [PATCH 2/7] rte_sched: use reserved field to allow more VLAN's

2015-02-03 Thread Ananyev, Konstantin
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Monday, February 02, 2015 10:32 PM > To: Ananyev, Konstantin > Cc: dev at dpdk.org; Stephen Hemminger > Subject: Re: [dpdk-dev] [PATCH 2/7] rte_sched: use reserved field to allow > more VLAN's >