[dpdk-dev] [PATCH] hash: fix breaking strict-aliasing rules

2015-03-18 Thread Yerden Zhumabekov
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

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-18 Thread vadim.sur...@gmail.com
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

[dpdk-dev] Virtual NIC interface fails to receive packets

2015-03-18 Thread Shankari Vaidyalingam
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

[dpdk-dev] [PATCH] maintainers: claim pcap pmd library

2015-03-18 Thread Nicolás Pernas Maradei
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:

[dpdk-dev] [dpdk=dev] [PATCH v8 0/3]: Add LRO support to ixgbe PMD

2015-03-18 Thread Vlad Zolotarov
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

[dpdk-dev] [PATCH v8 3/3] ixgbe: Add LRO support

2015-03-18 Thread Vlad Zolotarov
- 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

[dpdk-dev] [PATCH v8 2/3] ixgbe: Code refactoring

2015-03-18 Thread Vlad Zolotarov
- 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

[dpdk-dev] [PATCH v8 1/3] ixgbe: Cleanups

2015-03-18 Thread Vlad Zolotarov
- Removed the not needed casting. - ixgbe_dev_rx_init(): shorten the lines by defining a local alias variable to access >data->dev_conf.rxmode. Signed-off-by: Vlad Zolotarov --- New in v6: - Fixed a compilation error caused by a patches recomposition during

[dpdk-dev] [PATCH v8 0/3]: Add LRO support to ixgbe PMD

2015-03-18 Thread Vlad Zolotarov
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

[dpdk-dev] [dpdk=dev] [PATCH v8 3/3] ixgbe: Add LRO support

2015-03-18 Thread Vlad Zolotarov
- 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

[dpdk-dev] [dpdk=dev] [PATCH v8 2/3] ixgbe: Code refactoring

2015-03-18 Thread Vlad Zolotarov
- 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

[dpdk-dev] [dpdk=dev] [PATCH v8 1/3] ixgbe: Cleanups

2015-03-18 Thread Vlad Zolotarov
- Removed the not needed casting. - ixgbe_dev_rx_init(): shorten the lines by defining a local alias variable to access >data->dev_conf.rxmode. Signed-off-by: Vlad Zolotarov --- New in v6: - Fixed a compilation error caused by a patches recomposition during

[dpdk-dev] [dpdk=dev] [PATCH v8 0/3]: Add LRO support to ixgbe PMD

2015-03-18 Thread Vlad Zolotarov
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

[dpdk-dev] "FATAL: Module uio not found" for dpdk usage on Amazon AWS

2015-03-18 Thread Naveen Gamini
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

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-18 Thread Stefan Puiu
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

[dpdk-dev] Interactive/dynamic QoS scheduler

2015-03-18 Thread Alexandre Frigon
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

[dpdk-dev] [PATCHv2] EAL: rename rte_common_vect.h into arch/x86/rte_vect.h

2015-03-18 Thread Konstantin Ananyev
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 +-

[dpdk-dev] [PATCH] EAL: move rte_common_vect.h into arch/x86

2015-03-18 Thread Thomas Monjalon
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

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-18 Thread Neil Horman
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 > -

[dpdk-dev] [PATCH 3/6] eal: Fix memory leaks and needless incrementation of pci uio implementation

2015-03-18 Thread David Marchand
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

[dpdk-dev] i40e_aq_get_firmware_version failure

2015-03-18 Thread Yan Freedland
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

[dpdk-dev] [PATCH 2/6] eal: Close file descriptor of uio configuration

2015-03-18 Thread David Marchand
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

[dpdk-dev] [PATCH 1/6] eal: Fix cording style of eal_pci.c and eal_pci_uio.c

2015-03-18 Thread David Marchand
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

[dpdk-dev] [PATCH] tools: Fix some strings and functions regarding VFIO support

2015-03-18 Thread Andre Richter
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

[dpdk-dev] [PATCH] i40e: revert internal switch of PF

2015-03-18 Thread Wu, Jingjing
> -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

[dpdk-dev] [PATCH] igb: handle VF LPE mailbox message

2015-03-18 Thread Ananyev, Konstantin
> -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

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-18 Thread Gonzalez Monroy, Sergio
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 >>>

[dpdk-dev] [PATCH] EAL: move rte_common_vect.h into arch/x86

2015-03-18 Thread 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_common_vect.h into arch/x86 > > Hi Konstantin, > >

[dpdk-dev] [PATCH] fix build warning and failure in Suse11

2015-03-18 Thread Liu, Yong
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:

[dpdk-dev] [PATCH v2] Fix `eventfd_link' module leakages and races

2015-03-18 Thread Pavel Boldin
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

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-18 Thread Ananyev, Konstantin
> 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

[dpdk-dev] [PATCH] fix build warning and failure in Suse11

2015-03-18 Thread Yong Liu
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

[dpdk-dev] [PATCH 1/3 v3] librte_hash: Fix unsupported instruction `crc32' in i686 platform

2015-03-18 Thread Qiu, Michael
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]

[dpdk-dev] "FATAL: Module uio not found" for dpdk usage on Amazon AWS

2015-03-18 Thread Matthew Hall
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

[dpdk-dev] [PATCH 1/6] eal: Fix cording style of eal_pci.c and eal_pci_uio.c

2015-03-18 Thread Bruce Richardson
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

[dpdk-dev] [PATCH] EAL: move rte_common_vect.h into arch/x86

2015-03-18 Thread Thomas Monjalon
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

[dpdk-dev] [PATCH 1/3 v3] librte_hash: Fix unsupported instruction `crc32' in i686 platform

2015-03-18 Thread Liu, Yong
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. >

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-18 Thread Neil Horman
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

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-18 Thread Neil Horman
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

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-18 Thread Vadim Suraev
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

[dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support

2015-03-18 Thread Vlad Zolotarov
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

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-18 Thread Gonzalez Monroy, Sergio
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 -- >

[dpdk-dev] [PATCH] igb: handle VF LPE mailbox message

2015-03-18 Thread Gonzalez Monroy, Sergio
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

[dpdk-dev] [PATCH] igb: handle VF LPE mailbox message

2015-03-18 Thread Sergio Gonzalez Monroy
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(+)

[dpdk-dev] [PATCH] fix build warning and failure in Suse11

2015-03-18 Thread Thomas Monjalon
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

[dpdk-dev] [PATCH v2] doc: add l2fwd-jobstats user guide

2015-03-18 Thread Pawel Wodkowski
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

[dpdk-dev] [PATCH] EAL: move rte_common_vect.h into arch/x86

2015-03-18 Thread Konstantin Ananyev
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(+),

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-18 Thread Ananyev, Konstantin
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 + >

[dpdk-dev] Undefined reference to FUSE

2015-03-18 Thread Verbeiren, David
>> 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

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-18 Thread Vadim Suraev
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

[dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed

2015-03-18 Thread Qiu, Michael
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

[dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support

2015-03-18 Thread Ananyev, Konstantin
> -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

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-18 Thread Ananyev, Konstantin
Hi Vadim, > -Original Message- > From: vadim.suraev at gmail.com [mailto:vadim.suraev at gmail.com] > Sent: Tuesday, March 17, 2015 9:36 PM > To: dev at dpdk.org > Cc: olivier.matz at 6wind.com; stephen at networkplumber.org; Ananyev, > Konstantin; vadim.suraev at gmail.com > Subject:

[dpdk-dev] [dpdk-announce] release candidate 2.0.0-rc2

2015-03-18 Thread Thomas Monjalon
A new DPDK release candidate is ready for testing: http://dpdk.org/browse/dpdk/tag/?id=v2.0.0-rc2 We are approaching the planned release date (end of the month). It means that we must prioritize work on doc, important fixes and review of pending fixes. Some build issues remain in some

[dpdk-dev] [PATCH] rte_mbuf: bulk allocation and freeing functions + unittest

2015-03-18 Thread Vadim Suraev
>>I don't understand the "assumes refcnt has been already decremented". >I changed to 'assumes refcnt equals 0' 1. I changed to 'assumes refcnt equals 1' 2. I have a doubt about manipulating refcnt in this function. Should it be the only check/assert or should it be responsibility of the caller?

[dpdk-dev] [PATCH v2] rte_mbuf: mbuf bulk alloc/free functions added + unittest

2015-03-18 Thread vadim.sur...@gmail.com
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

[dpdk-dev] [PATCH] null: Fix dereference before null check in eth_null_copy_tx()

2015-03-18 Thread Thomas Monjalon
> This patch fixes potential null pointer access of eth_null_copy_tx(). > > Reported-by: Mcnamara, John > Signed-off-by: Tetsuya Mukawa Applied, thanks