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.
See issue #1, http://dpdk.org/ml/archives/dev/2015-March/015174.html
Signed-
From: "vadim.suraev at gmail.com"
This patch adds mbuf bulk allocation/freeing functions and unittest
Signed-off-by: Vadim Suraev
---
New in v2:
- function rte_pktmbuf_alloc_bulk added
- function rte_pktmbuf_bulk_free added
- function rte_pktmbuf_free_chain added
- applied revie
Hi,
I'm trying to test the l2fwd sample application by passing packets from
traffic generator.
I'm doing this testing in a VM with a configuration hav?ing virtual NIC
port.
When I bind the virtual NIC port with the igb driver, the interface doesnt
get listed in the "ifconfig" output.
Also the virt
Signed-off-by: Nicol?s Pernas Maradei
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index bef7f59..4c780db 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -247,6 +247,7 @@ F: lib/librte_pmd_vmxnet3/
F: doc/guides/prog_guide/poll_mode_drv_paravirtual_
There was a typo in a format-patch command - pls., ignore the whole
series. I'm respinning it with the proper subject.
On 03/18/15 19:48, Vlad Zolotarov wrote:
> This series adds the missing flow for enabling the LRO in the ethdev and
> adds a support for this feature in the ixgbe PMD. There is
- Only x540 and 82599 devices support LRO.
- Add the appropriate HW configuration.
- Add RSC aware rx_pkt_burst() handlers:
- Implemented bulk allocation and non-bulk allocation versions.
- Add LRO-specific fields to rte_eth_rxmode, to rte_eth_dev_data
and to ixgb
- ixgbe_rx_alloc_bufs():
- Reset the rte_mbuf fields only when requested.
- Take the RDT update out of the function.
- Add the stub when RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is not defined.
- ixgbe_recv_scattered_pkts():
- Take the code that updates the fields of the c
- Removed the not needed casting.
- ixgbe_dev_rx_init(): shorten the lines by defining a local alias variable
to access
&dev->data->dev_conf.rxmode.
Signed-off-by: Vlad Zolotarov
---
New in v6:
- Fixed a compilation error caused by a patches recomposition durin
This series adds the missing flow for enabling the LRO in the ethdev and
adds a support for this feature in the ixgbe PMD. There is a big hope that this
initiative is going to be picked up by some Intel developer that would add the
LRO support
to other Intel PMDs.
The series starts with some clea
- Only x540 and 82599 devices support LRO.
- Add the appropriate HW configuration.
- Add RSC aware rx_pkt_burst() handlers:
- Implemented bulk allocation and non-bulk allocation versions.
- Add LRO-specific fields to rte_eth_rxmode, to rte_eth_dev_data
and to ixgb
- ixgbe_rx_alloc_bufs():
- Reset the rte_mbuf fields only when requested.
- Take the RDT update out of the function.
- Add the stub when RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC is not defined.
- ixgbe_recv_scattered_pkts():
- Take the code that updates the fields of the c
- Removed the not needed casting.
- ixgbe_dev_rx_init(): shorten the lines by defining a local alias variable
to access
&dev->data->dev_conf.rxmode.
Signed-off-by: Vlad Zolotarov
---
New in v6:
- Fixed a compilation error caused by a patches recomposition durin
This series adds the missing flow for enabling the LRO in the ethdev and
adds a support for this feature in the ixgbe PMD. There is a big hope that this
initiative is going to be picked up by some Intel developer that would add the
LRO support
to other Intel PMDs.
The series starts with some clea
When I tried to install dpdk on Amazon AWS ubuntu based linux, I see uio module
error. Can anyone help me to how to load uio module on ubuntu linux so that IGB
UIO module.
ubuntu at ip-172-31-29-51:~$ uname --allLinux ip-172-31-29-51 3.13.0-44-generic
#73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014
Hi,
On Wed, Mar 18, 2015 at 2:59 PM, Thomas Monjalon
wrote:
> Hi Sergio,
>
> Thank you for explaining the situation.
>
> 2015-03-18 12:11, Gonzalez Monroy, Sergio:
>> Given that the patch to remove combined libraries is not welcome, I'll
>> try to explain the current situation so we can agree on
Hi,
I'm currently working with the QoS api. I would like to know if it is possible
to have interaction at runtime with the parameter applied to pipes, subport and
queue.
Looking at the Scheduler sample, I understand that all of these parameters are
predetermined using profiles in the config fi
Signed-off-by: Konstantin Ananyev
---
examples/l3fwd/main.c | 2 +-
lib/librte_acl/rte_acl_osdep.h | 2 +-
lib/librte_eal/common/Makefile | 1 -
.../common/include/arch/x86/rte_memcpy.h | 2 +-
lib/librte_eal/c
2015-03-18 15:24, Ananyev, Konstantin:
>
> Hi Thomas,
>
> > -Original Message-
> > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> > Sent: Wednesday, March 18, 2015 1:14 PM
> > To: Ananyev, Konstantin
> > Cc: dev at dpdk.org
> > Subject: Re: [dpdk-dev] [PATCH] EAL: move rte_
On Wed, Mar 18, 2015 at 10:21:18PM +0200, vadim.suraev at gmail.com wrote:
> From: "vadim.suraev at gmail.com"
>
> This patch adds mbuf bulk allocation/freeing functions and unittest
>
> Signed-off-by: Vadim Suraev
>
> ---
> New in v2:
> - function rte_pktmbuf_alloc_bulk added
> - funct
On Tue, Mar 17, 2015 at 10:30 AM, Tetsuya Mukawa wrote:
> When pci_map_resource() is failed but path is allocated correctly,
> path won't be freed. Also, when open() is failed, uio_res won't be freed.
> This patch fixes these memory leaks.
> When pci_map_resource() is failed, mapaddr will be MAP_
Hi,
I am trying to start DPDK with 40G Intel NIC and get a failure at
initialization stage in i40e_aq_get_firmware_version(). For some reason this
function reaches TIMEOUT for more than maximum allowed times (10 times). In the
note below I understand that several failures may be considerable bu
On Tue, Mar 17, 2015 at 10:30 AM, Tetsuya Mukawa wrote:
> When pci_uio_unmap_resource() is called, a file descriptor that is used
> for uio configuration should be closed.
>
> Signed-off-by: Tetsuya Mukawa
> ---
> lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 8 +++-
> 1 file changed, 7 inser
Hello Tetsuya,
On Tue, Mar 17, 2015 at 10:30 AM, Tetsuya Mukawa wrote:
> This patch fixes cording style of below files in linuxapp and bsdapp.
> - eal_pci.c
> - eal_pci_uio.c
>
> Signed-off-by: Tetsuya Mukawa
>
I suppose typo for "coding style" in both title and commit log.
The rest looks fi
This patch fixes several minor issues in setup.sh:
- show_nics() would not display the current Ethernet settings if
the user only loads the vfio-pci module, b/c it only checks for
presence of igb_uio. Fix this by adding a check for vfio-pci.
- unbind_nics(): Fix option nam
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Wednesday, March 18, 2015 3:07 AM
> 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
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez Monroy
> Sent: Wednesday, March 18, 2015 12:02 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] igb: handle VF LPE mailbox message
>
> This patch adds the handle function for the LPE mail
On 18/03/2015 15:30, Stefan Puiu wrote:
> Hi,
>
> On Wed, Mar 18, 2015 at 2:59 PM, Thomas Monjalon
> wrote:
>> Hi Sergio,
>>
>> Thank you for explaining the situation.
>>
>> 2015-03-18 12:11, Gonzalez Monroy, Sergio:
>>> Given that the patch to remove combined libraries is not welcome, I'll
>>> tr
Hi Thomas,
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Wednesday, March 18, 2015 1:14 PM
> To: Ananyev, Konstantin
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] EAL: move rte_common_vect.h into arch/x86
>
> Hi Konstantin,
>
> 2015
Hi Thomas,
I'll separated this patch set into several patches and send them out later.
I think this patch can also fix some issue on gcc 44.
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Wednesday, March 18, 2015 6:51 PM
> To: Liu, Yong
> Cc:
The `eventfd_link' module provides an API to "steal" fd from another
process had been written with a bug that leaks `struct file' because
of the extra reference counter increment and missing `fput' call.
The other bug is using another process' `task_struct' without incrementing
a reference counter
> 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 +
> unittest
>
> Hi, Konstantin,
>
> Got it. To make the same, nulling the
Suse11 SP3 default gcc version is 4.3.4, some options not support on this
version.
error: implicit declaration of function ?_mm_alignr_epi8?
solution: include tmmintrin.h when enable SSE3
error: unrecognized command line option "-Wno-unused-but-set-variable"
solution: add version check in fm10k
Hi, Yong
If the platform is i686, dpdk will use software crc function.
Thanks,
Michael
-Original Message-
From: Liu, Yong
Sent: Wednesday, March 18, 2015 9:21 PM
To: Qiu, Michael; thomas.monjalon at 6wind.com; dev at dpdk.org
Cc: yerden.zhumabekov at sts.kz
Subject: RE: [dpdk-dev] [PATC
On Wed, Mar 18, 2015 at 06:41:05PM +, Naveen Gamini wrote:
> When I tried to install dpdk on Amazon AWS ubuntu based linux, I see uio
> module error. Can anyone help me to how to load uio module on ubuntu linux
> so that IGB UIO module.
Amazon Cloud Images usually include minimized kernel pa
On Tue, Mar 17, 2015 at 06:30:40PM +0900, Tetsuya Mukawa wrote:
> This patch fixes cording style of below files in linuxapp and bsdapp.
> - eal_pci.c
> - eal_pci_uio.c
>
> Signed-off-by: Tetsuya Mukawa
Acked-by: Bruce Richardson
> ---
> lib/librte_eal/bsdapp/eal/eal_pci.c | 24 +++
Hi Konstantin,
2015-03-18 10:58, Konstantin Ananyev:
> lib/librte_eal/common/Makefile | 1 -
> .../common/include/arch/x86/rte_common_vect.h | 128
> +
> lib/librte_eal/common/include/rte_common_vect.h| 128
> -
I think rte_
Hi Sergio,
Thank you for explaining the situation.
2015-03-18 12:11, Gonzalez Monroy, Sergio:
> Given that the patch to remove combined libraries is not welcome, I'll
> try to explain the current situation so we can agree on the way forward.
>
> Currently we have build config option for shared
Michael & Thomas,
Should we use software crc function replace of hardware crc function in
'crc32c_sse42_u64' when arch is i686?
Thus application still can use CRC32_SSE42_x64 algorithm for crc calculation
when build with i686 configuration.
This may helpful for simplify application code.
>
On Wed, Mar 18, 2015 at 05:30:12PM +0200, Stefan Puiu wrote:
> Hi,
>
> On Wed, Mar 18, 2015 at 2:59 PM, Thomas Monjalon
> wrote:
> > Hi Sergio,
> >
> > Thank you for explaining the situation.
> >
> > 2015-03-18 12:11, Gonzalez Monroy, Sergio:
> >> Given that the patch to remove combined libraries
On Wed, Mar 18, 2015 at 12:11:50PM +, Gonzalez Monroy, Sergio wrote:
> On 12/03/2015 16:27, Sergio Gonzalez Monroy wrote:
> >Remove CONFIG_RTE_BUILD_COMBINE_LIBS and CONFIG_RTE_LIBNAME.
> >
> >Signed-off-by: Sergio Gonzalez Monroy
> >---
> > config/common_bsdapp| 6 -
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 NULL), and the next segment has refcnt == 1 (so it is
freed), do you think this scenario is real/sho
On 03/18/15 02:31, Ananyev, Konstantin wrote:
>
>> -Original Message-
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov
>> Sent: Monday, March 16, 2015 6:27 PM
>> To: dev at dpdk.org
>> Subject: Re: [dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support
>>
>>
>>
>> On 03
On 12/03/2015 16:27, Sergio Gonzalez Monroy wrote:
> Remove CONFIG_RTE_BUILD_COMBINE_LIBS and CONFIG_RTE_LIBNAME.
>
> Signed-off-by: Sergio Gonzalez Monroy
> ---
> config/common_bsdapp| 6 --
> config/common_linuxapp | 6 --
> config/defconfig_p
On 18/03/2015 12:01, Sergio Gonzalez Monroy wrote:
> This patch adds the handle function for the LPE mailbox message (VF to
> PF) to set maximum packet size, which can be used to enable jumbo
> frame support.
>
> Signed-off-by: Sergio Gonzalez Monroy
> ---
> lib/librte_pmd_e1000/igb_pf.c | 28 ++
This patch adds the handle function for the LPE mailbox message (VF to
PF) to set maximum packet size, which can be used to enable jumbo
frame support.
Signed-off-by: Sergio Gonzalez Monroy
---
lib/librte_pmd_e1000/igb_pf.c | 28
1 file changed, 28 insertions(+)
dif
Hi Yong,
Thanks for working on these important fixes.
2015-03-18 15:10, Yong Liu:
> Suse11 SP3 default gcc version is 4.3.4, some options not support on this
> version.
I guess some of these errors are not only specific to Suse-11?
Maybe that 1 patch per issue would be easier to read and could
Signed-off-by: Pawel Wodkowski
---
Changes v2
1. Fix trailing spaces and typos.
2. Add maintaners claim
MAINTAINERS | 1 +
doc/guides/sample_app_ug/index.rst| 1 +
doc/guides/sample_app_ug/l2_forward_job_stats.rst | 637
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-by: Jingjing Wu
Signed-off-by: Thomas
Signed-off-by: Konstantin Ananyev
---
lib/librte_eal/common/Makefile | 1 -
.../common/include/arch/x86/rte_common_vect.h | 128 +
lib/librte_eal/common/include/rte_common_vect.h| 128 -
3 files changed, 128 insertions(+), 129
Hi Vadim,
> From: Vadim Suraev [mailto:vadim.suraev at gmail.com]
> Sent: Wednesday, March 18, 2015 5:19 AM
> To: Ananyev, Konstantin
> Cc: dev at dpdk.org; olivier.matz at 6wind.com; stephen at networkplumber.org
> Subject: Re: [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added +
> unit
>> I have done what you said but it does not work. I did it in the
>> server I usually use and in a VM, in both of them appears the error.
>> To be clear, I have followed the next instructions:
>>
>> apt-get install fuse
>> apt-get install libfuse-dev
>> download dpdk-1.8.0
>> modify common_lin
Hi, Konstantin,
>Shouldn't the line above be inside if (head != NULL) {...} block?
This is removed as Olivier commented before:
>> +{
> + if (likely(head != NULL)) {
>I think we should remove this test. The other mbuf functions do not
>check this.
Regards,
Vadim.
On Wed, Mar 18, 2015 at
On 3/13/2015 5:45 PM, Ananyev, Konstantin wrote:
> Hi Michael,
>
>> -Original Message-
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michael Qiu
>> Sent: Friday, March 13, 2015 7:03 AM
>> To: dev at dpdk.org
>> Subject: [dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h miss
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov
> Sent: Monday, March 16, 2015 6:27 PM
> To: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support
>
>
>
> On 03/09/15 21:07, Vlad Zolotarov wrote:
> > - Only x5
54 matches
Mail list logo