Hi
I'd like to know:
(1) How to capture packets received on the DPDK interface?
(2) Determine the MAC address corresponding to the PCI interface
Regards
Shankari.V
> -Original Message-
> From: Wodkowski, PawelX
> Sent: Thursday, March 19, 2015 4:09 PM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo; Ananyev, Konstantin; Mcnamara, John; Zhang, Helin;
> Wodkowski, PawelX
> Subject: [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup
fix the error "missing initializer" and "cast to pointer from integer of
different size".
For the pointer to integer cast issue, need to investigate changing the typeof
mapped_address.
Signed-off-by: Huawei Xie
---
lib/librte_vhost/vhost_user/vhost-net-user.c | 2 +-
lib/librte_vhost/vhost_u
> > VEB switching is blocking VF.
> > If the source mac address of packet sent from VF is not listed in the VEB?s
> > mac
> > table, the VEB will switch the packet back to the VF.
> > It's an hardware issue.
> >
> > Reverts: 2ccabd8cd1f6 ("i40e: enable internal switch of PF").
> >
> > Reported-b
2015-03-19 13:47, Mcnamara, John:
> > -Original Message-
> > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> > Sent: Thursday, March 19, 2015 11:23 AM
> > To: Mcnamara, John
> > Cc: Iremonger, Bernard; dev at dpdk.org
> > Subject: [PATCH v5 0/7] add doc-guides-pdf target
> >
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Thursday, March 19, 2015 4:48 PM
> To: Butler, Siobhan A; Iremonger, Bernard
> Cc: dev at dpdk.org
> Subject: [PATCH v2 1/3] doc: fix file attributes
>
> Signed-off-by: Thomas Monjalon
> ---
> doc/
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Thursday, March 19, 2015 4:49 PM
> To: Butler, Siobhan A; Iremonger, Bernard
> Cc: dev at dpdk.org
> Subject: [PATCH v2 2/3] doc: move Xen guide out of programmers guide
>
> Xen is an environment c
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Thursday, March 19, 2015 4:49 PM
> To: Butler, Siobhan A; Iremonger, Bernard
> Cc: dev at dpdk.org
> Subject: [PATCH v2 3/3] doc: nics guide
>
> Create nics guide by moving chapters about Intel and
Hi all,
I am trying to work with intel XL710 40GIG NIC but for some reason when trying
to load it via dpdk I am getting the following error:
EAL: PCI device :21:00.1 on NUMA socket 1
EAL: probe driver: 8086:1583 rte_i40e_pmd
EAL: PCI memory mapped at 0x7fff939f9000
EAL: PCI memory map
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Mcnamara, John
> Sent: Thursday, March 19, 2015 8:36 AM
> To: Nicol?s Pernas Maradei; dev at dpdk.org; thomas.monjalon at 6wind.com
> Subject: Re: [dpdk-dev] [PATCH] maintainers: claim pcap pmd library
>
> > -
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Nicol?s Pernas
> Maradei
> Sent: Wednesday, March 18, 2015 9:25 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] maintainers: claim pcap pmd library
>
> Signed-off-by: Nicol?s Pernas Maradei
>
> ---
>
Create nics guide by moving chapters about Intel and Mellanox NICs.
Signed-off-by: Thomas Monjalon
---
MAINTAINERS| 15 +-
doc/guides/index.rst | 1 +
.../driver_vm_emul_dev.rst => nics/e1000em.rst}| 0
doc/guides/{pr
Xen is an environment comparable to Linux and FreeBSD which
have their own guide.
Signed-off-by: Thomas Monjalon
---
MAINTAINERS| 2 +-
doc/guides/index.rst | 1 +
doc/guides/prog_guide/index.rst| 1 -
Signed-off-by: Thomas Monjalon
---
doc/guides/prog_guide/i40e_ixgbe_igb_virt_func_drv.rst | 0
doc/guides/prog_guide/poll_mode_drv.rst| 0
2 files changed, 0 insertions(+), 0 deletions(-)
mode change 100755 => 100644
doc/guides/prog_guide/i40e_ixgbe_igb_virt_func_drv.rst
mode c
Too many things are included in the programmers guide.
I think it should cover only API and knowledge needed to make an application.
That's why I suggest to move Xen and NICs doc outside.
Then it will be easier to add doc for a new environment or a new NIC.
Note that drivers or device-related libs
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Thursday, March 19, 2015 4:49 PM
> To: Butler, Siobhan A; Iremonger, Bernard
> Cc: dev at dpdk.org
> Subject: [PATCH v2 3/3] doc: nics guide
>
> Create nics guide by moving chapters about Intel and
Signed-off-by: Olivier Matz
---
doc/guides/prog_guide/mbuf_lib.rst | 89 +
doc/guides/prog_guide/poll_mode_drv.rst | 24 +
2 files changed, 104 insertions(+), 9 deletions(-)
diff --git a/doc/guides/prog_guide/mbuf_lib.rst
b/doc/guides/prog_guide/mbuf
Document the functions introduced by commit 64fc36064d.
Signed-off-by: Olivier Matz
---
app/test-pmd/cmdline.c | 2 +-
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 53 +++--
2 files changed, 44 insertions(+), 11 deletions(-)
diff --git a/app/test-p
Document the offload API and the testpmd commands related
to the checksum forward engine.
Olivier Matz (2):
doc: update testpmd guide about csum forward engine
doc: add a description of the offload API
app/test-pmd/cmdline.c | 2 +-
doc/guides/prog_guide/mbuf_lib.rst
There are some references to DPDK.xyz.mk files that do not exist in the
dpdk tree. This was probably the result of an automatic replacement, so
restore the proper file names which are rte.xyz.mk.
Signed-off-by: Olivier Matz
---
doc/guides/prog_guide/build_app.rst | 8
doc/g
From: Pawel Wodkowski
When bulk alloc is enabled at compile time but preconditions for
it are not met at runtime the ixgbe_reset_rx_queue() function
overrides rxq->sw_ring not allocated elements.
Fixes: 01fa1d6 ("ixgbe: unify Rx setup")
Signed-off-by: Pawel Wodkowski
---
lib/librte_pmd_ixgbe/i
> -Original Message-
> From: Wodkowski, PawelX
> Sent: Thursday, March 19, 2015 4:09 PM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo; Ananyev, Konstantin; Mcnamara, John; Zhang,
> Helin; Wodkowski, PawelX
> Subject: [PATCH] ixgbe: fix buffer overrun bug in non-bulk alloc mode setup
>
On Thu, Mar 19, 2015 at 04:25:47PM +, Bruce Richardson wrote:
> On Wed, Mar 18, 2015 at 10:51:12PM +0600, Yerden Zhumabekov wrote:
> > Fix rte_hash_crc() function. Casting uint64_t pointer to uin32_t
> > may trigger a compiler warning about breaking strict-aliasing rules.
> > To avoid that, int
On Wed, Mar 18, 2015 at 10:51:12PM +0600, Yerden Zhumabekov wrote:
> Fix rte_hash_crc() function. Casting uint64_t pointer to uin32_t
> may trigger a compiler warning about breaking strict-aliasing rules.
> To avoid that, introduce a lookup table which is used to mask out
> a remainder of data.
>
> -Original Message-
> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp]
> Sent: Tuesday, March 17, 2015 9:31 AM
> To: dev at dpdk.org
> Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa
> Subject: [PATCH 3/6] eal: Fix memory leaks and needless incrementation of pci
> uio implem
Hi Alexandre,
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Alexandre Frigon
> Sent: Wednesday, March 18, 2015 5:10 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] Interactive/dynamic QoS scheduler
>
> Hi,
>
> I'm currently working with the QoS api. I woul
> -Original Message-
> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp]
> Sent: Tuesday, March 17, 2015 9:31 AM
> To: dev at dpdk.org
> Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa
> Subject: [PATCH 2/6] eal: Close file descriptor of uio configuration
>
> When pci_uio_unmap
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Thursday, March 19, 2015 11:23 AM
> To: Mcnamara, John
> Cc: Iremonger, Bernard; dev at dpdk.org
> Subject: [PATCH v5 0/7] add doc-guides-pdf target
>
> First versions were written by John. I suggest
On 03/09/2015 08:18 PM, Stephen Hemminger wrote:
> The Intel drivers seem to be getting more verbose in the log with
> each release. This is not a good thing.
>
> Stephen Hemminger (2):
>ixgbe: silence noisy log messages
>e1000: silence noisy log messages
>
> lib/librte_pmd_e1000/e1000_lo
On 03/09/2015 08:18 PM, Stephen Hemminger wrote:
> Same as ixgbe. Should not be as chatty in log and should be
> possible to compile away all the debug messages.
>
> Signed-off-by: Stephen Hemminger
And same as ixgbe patch.
Patch is broken.
Macro in interrupt handler can be changed to PMD_DRV_L
On 03/09/2015 08:18 PM, Stephen Hemminger wrote:
> The ixgbe driver likes to be far to chatty in the system log
> which is good for the original developer but not good for a production
> product.
>
> Reduce the log spam by doing:
> * All the normal messages should be changed from INFO to DEBUG.
>
If RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is disabled in the config file,
RTE_PMD_IXGBE_RX_MAX_BURST macro and ixgbe_recv_pkts_bulk_alloc function are
not declared,
and some parts of the ixgbe code were still trying to use them.
This patch fixes the problem by including previous conditionals
that w
The "manual" Latex template provided by Sphinx introduce a lot
of useless and confusing blank pages.
Let's remove them.
Signed-off-by: Thomas Monjalon
---
doc/guides/conf.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/conf.py b/doc/guides/conf.py
index 168efa6..b1ef323 1006
From: John McNamara
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
Acked-by: Bernard Iremonger
---
doc/guides/conf.py | 31 +++
1 file changed, 31 insertions(+)
d
When generating Latex for PDF, this error occurs:
! Undefined control sequence.
\version ->b'2.0.0-rc2\n
Decoding bytes stream into UTF-8 fixes the issue.
Signed-off-by: Thomas Monjalon
---
doc/guides/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/
From: John McNamara
Add make system support for building PDF versions of
the guides. Requires Python Sphinx and TexLive Full.
Signed-off-by: John McNamara
Signed-off-by: Thomas Monjalon
---
doc/guides/conf.py | 13 +++--
mk/rte.sdkdoc.mk | 46
From: 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.
In case of PDF, SVG images are converted and Sphinx must pick
the converted version.
Signed-off-by: John McNamara
Acked-by: Be
From: 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 |
+=+==+
| |
From: 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
Acked-by: Bernard Iremonger
---
doc/guides/rel_notes/supported_features.rst | 2 +-
1 file changed, 1 insertion(+), 1 d
First versions were written by John. I suggest this v5 for last changes.
This patchset 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
Hi Konstantin,
On 03/19/2015 11:47 AM, Ananyev, Konstantin wrote:
Hi, Konstantin,
Got it. To make the same, nulling the next should be inside of the block
as you said.
One question raises here: If a segment in the chain has refcnt > 1 (so its
next is not assigned NU
> -Original Message-
> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp]
> Sent: Tuesday, March 17, 2015 3:43 AM
> To: Iremonger, Bernard
> Cc: John W. Linville; dev at dpdk.org
> Subject: Re: [dpdk-dev] [RFC] af_packet: support port hotplug
>
> On 2015/03/16 23:47, Iremonger, Bernard wr
> -Original Message-
> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp]
> Sent: Tuesday, March 17, 2015 8:08 AM
> To: Iremonger, Bernard; dev at dpdk.org
> Cc: Richardson, Bruce
> Subject: Re: [PATCH v2 15/15] eal: Enable Port Hotplug as default in Linux
> and BSD
>
> On 2015/03/14 0:47
From: Marvin Liu
Function pread need marco _XOPEN_SOURCE be defined.
Add _GNU_SOURCE will fix this issue.
error: implicit declaration of function ?pread?
Signed-off-by: Marvin Liu
diff --git a/lib/librte_eal/linuxapp/eal/Makefile
b/lib/librte_eal/linuxapp/eal/Makefile
index 23c2d48..21875b8
From: Marvin Liu
Option var-tracking-assignments supported in gcc from 4.4.
Add gcc version check wil fix this issue.
error: unrecognized command line option "-fno-var-tracking-assignments"
Signed-off-by: Marvin Liu
diff --git a/app/test/Makefile b/app/test/Makefile
index 9f0262c..4aca77c 100
From: Marvin Liu
Build app/test will be failed for function only defined but not used.
test_prefetch.c:65: error: ?testfn_prefetch_cmd? defined but not used
Add attribute used in test function declaration can fix this.
static void __attribute__((used)) testfn_##t(void);
Signed-off-by: Marvin Li
From: Marvin Liu
gcc4.3 will raise warnings in blow code for initialized field overwritten.
enic_main.c: In function ?enic_set_rsskey?:
enic_main.c:845: error: initialized field overwritten
enic_main.c:845: error: (near initialization for ?rss_key.key?)
enic_main.c:846: error: initialized field
From: Marvin Liu
Build fm10k driver in Suse11 SP3 will be failed for unrecognized flag.
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
This flag is supported from gcc 4.4, so add gcc version check in fm10k.
In the same time, make option check more clear in ixgbe driv
From: sjiajiax
add some codes to test the vf actions
diff --git a/tools/DTF/framework/dut.py b/tools/DTF/framework/dut.py
index 02c7639..2b85f23 100644
--- a/tools/DTF/framework/dut.py
+++ b/tools/DTF/framework/dut.py
@@ -10,7 +10,7 @@ from ssh_connection import SSHConnection
from crb import Cr
From: Marvin Liu
Build dpdk2.0 in Suse11 SP3, there'll be errors for not found sse3 functions.
rte_memcpy.h: In function ?rte_memcpy?:
rte_memcpy.h:625: error: implicit declaration of function ?_mm_alignr_epi8?
rte_memcpy.h:625: error: nested extern declaration of ?_mm_alignr_epi8?
rte_memcpy.h:6
testpmd parameter "nb-port" mean the number of forwarding port.
It's incorrect to use function port_id_is_invalid to check number of ports.
Signed-off-by: Marvin Liu
diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c
index 11d9af0..f1daa6e 100644
--- a/app/test-pmd/parameters.c
+
From: Marvin Liu
SUSE11 SP3 default gcc version is 4.3.4. Some options not supported in this
version. This patch set add gcc version check for those options and fix other
build warning in Suse11 SP3.
Marvin Liu (6):
fix sse3 functions not found with gcc 4.3.4
fix fm10k driver build error whe
Hi Olivier,
> -Original Message-
> From: Olivier MATZ [mailto:olivier.matz at 6wind.com]
> Sent: Thursday, March 19, 2015 8:13 AM
> To: Ananyev, Konstantin; vadim.suraev at gmail.com
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions
> adde
Hi Shankari,
First, in order to use network interfaces in dpdk, you need to stop
them. That's why you see 'Routing table indicates that interface
:00:08.0 is active. Not modifying' message when you bind them to
igb. You can stop them with 'ifconfig ... down' command.
Second, after you success
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier MATZ
> Sent: Thursday, March 19, 2015 8:41 AM
> To: Neil Horman; vadim.suraev at gmail.com
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions
> added +
It definitely needs Rx function even in the case of secondary process, so put
the assignment a bit earlier to make sure of it.
Signed-off-by: Changchun Ouyang
---
lib/librte_pmd_virtio/virtio_ethdev.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/librte_pmd_virtio/
Hi Neil,
On 03/18/2015 09:58 PM, Neil Horman wrote:
>> +/**
>> + * Free a bulk of mbufs into its original mempool.
>> + * This function assumes:
>> + * - refcnt equals 1
>> + * - mbufs are direct
>> + * - all mbufs must belong to the same mempool
>> + *
>> + * @param mbufs
>> + *Array of point
This patch was already applied:
http://dpdk.org/browse/dpdk/commit/?id=0a530f0d58b030
2015-03-19 11:16, Yong Liu:
> testpmd parameter "nb-port" mean the number of forwarding port.
> It's incorrect to use function port_id_is_invalid to check number of ports.
>
> Signed-off-by: Marvin Liu
On Thu, Mar 19, 2015 at 09:41:25AM +0100, Olivier MATZ wrote:
> Hi Neil,
>
> On 03/18/2015 09:58 PM, Neil Horman wrote:
> >>+/**
> >>+ * Free a bulk of mbufs into its original mempool.
> >>+ * This function assumes:
> >>+ * - refcnt equals 1
> >>+ * - mbufs are direct
> >>+ * - all mbufs must belo
Hi Konstantin,
On 03/18/2015 04:13 PM, Ananyev, Konstantin wrote:
>
>> From: Vadim Suraev [mailto:vadim.suraev at gmail.com]
>> Sent: Wednesday, March 18, 2015 10:41 AM
>> To: Ananyev, Konstantin
>> Cc: dev at dpdk.org
>> Subject: Re: [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added +
>>
2015-03-19 02:00, Qiu, Michael:
> On 3/8/2015 2:39 AM, Thomas Monjalon wrote:
> > 2015-03-06 01:39, Qiu, Michael:
> >> On 3/6/2015 1:11 AM, Thomas Monjalon wrote:
> >>> 2015-03-06 00:55, Michael Qiu:
> CC rte_hash.o
> Error: unsupported instruction `crc32'
>
> The root cause is
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Nicol?s Pernas
> Maradei
> Sent: Wednesday, March 18, 2015 9:25 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] maintainers: claim pcap pmd library
>
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -247,6 +2
On Thu, 19 Mar 2015 12:24:38 +
Pablo de Lara wrote:
> If RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is disabled in the config file,
> RTE_PMD_IXGBE_RX_MAX_BURST macro and ixgbe_recv_pkts_bulk_alloc function are
> not declared,
> and some parts of the ixgbe code were still trying to use them.
>
>
On 3/19/2015 11:17 AM, Yong Liu wrote:
Mistook sending, please ignore this patch.
> From: sjiajiax
>
> add some codes to test the vf actions
>
> diff --git a/tools/DTF/framework/dut.py b/tools/DTF/framework/dut.py
> index 02c7639..2b85f23 100644
> --- a/tools/DTF/framework/dut.py
> +++ b/tools/DTF
On 3/8/2015 2:39 AM, Thomas Monjalon wrote:
> 2015-03-06 01:39, Qiu, Michael:
>> On 3/6/2015 1:11 AM, Thomas Monjalon wrote:
>>> 2015-03-06 00:55, Michael Qiu:
CC rte_hash.o
Error: unsupported instruction `crc32'
The root cause is that i686 platform does not support 'crc32q'
>>>
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Wednesday, March 18, 2015 6:07 PM
> To: Zhang, Helin
> Cc: dev at dpdk.org; Wu, Jingjing
> Subject: [PATCH] i40e: revert internal switch of PF
>
> VEB switching is blocking VF.
> If the source mac
Hi Yan
Please tell me what version of firmware are you using? If it is too old, please
update to at least 4.2.6.
If it is still there, check that if your firmware updating is really
successful. You can try to run linux kernel driver to have a double check.
Regards,
Helin
From: Yan Freedland [m
67 matches
Mail list logo