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
> 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
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
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
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
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
>>>
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.
>>
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
> -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
> -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
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
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.
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
> 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
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
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
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
---
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
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
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
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\
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
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
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) {
... ..
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
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
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|
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 |
+=+==+
| | |
|
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
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 +++
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/
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
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
> -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
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
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
> -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
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
>
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
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
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
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
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
> -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
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
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
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
> >> +.. 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
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
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 [-
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':
> > +
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.
>>
> -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
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
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
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
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
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
> -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
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
> -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:
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
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()
[...]
>>>
>>>
> -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
> -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
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
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
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
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:
> -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
>
70 matches
Mail list logo