Hi Akhil, Radu,
On 01/29/2018 01:02 PM, Akhil Goyal wrote:
On 1/26/2018 8:38 PM, Nicolau, Radu wrote:
-Original Message-
From: Anoob Joseph [mailto:anoob.jos...@caviumnetworks.com]
Sent: Friday, January 26, 2018 2:38 PM
To: Nicolau, Radu ; Akhil Goyal
Cc: anoob.jos...@caviumnetwork
W.r.t the multiple discussions in the past about the ability to
dynamically detect the HW mempool support. [1],[2] & [3]
This patchset helps in removing the current static mempool selection
model and provides a flexible model to select the pktmbuf mempool
in more dynamic way.
1) This patchset upd
This patch prefix the mbuf pool ops name with "user" to indicate
that it is user defined.
Signed-off-by: Hemant Agrawal
Acked-by: Olivier Matz
Acked-by: Santosh Shukla
---
lib/librte_eal/bsdapp/eal/eal.c| 4 ++--
lib/librte_eal/common/eal_common_options.c | 2 +-
lib/librte_eal/com
At present the userdefined mempool ops name overwrites
the default mempool ops name variable in internal_config.
This patch change the logic to maintain the value of
user defined only in the internal config.
The pktmbuf_create_pool is updated to reflect the same ie.
use user defined. If not prese
Signed-off-by: Hemant Agrawal
---
config/defconfig_arm64-dpaa-linuxapp-gcc | 1 -
drivers/bus/dpaa/dpaa_bus.c | 2 ++
drivers/bus/dpaa/rte_dpaa_bus.h | 2 ++
drivers/mempool/dpaa/dpaa_mempool.c | 2 +-
4 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/confi
This patch add support for various mempool ops config helper APIs.
1.User defined mempool ops
2.Platform detected HW mempool ops (active).
3.Best selection of mempool ops by looking into user defined,
platform registered and compile time configured.
Signed-off-by: Hemant Agrawal
Acked-by: Oliv
From: Pavan Nikhilesh
This patch adds the debug message to print the best selected
pktmbuf mempool ops name.
Signed-off-by: Pavan Nikhilesh
Signed-off-by: Hemant Agrawal
Reviewed-by: Olivier Matz
Acked-by: Santosh Shukla
---
app/test-pmd/testpmd.c | 3 +++
1 file changed, 3 insertions(+)
d
Introduce a new helper for pktmbuf pool, which will allow
the application to optionally specify the mempool ops name
as well.
Signed-off-by: Hemant Agrawal
Acked-by: Olivier Matz
Acked-by: Santosh Shukla
---
lib/librte_mbuf/rte_mbuf.c | 23 ++--
lib/librte_mbuf/rte_mb
Detect if the DPAA2 mempool objects are present and register
it as platform default hw mempool
Signed-off-by: Hemant Agrawal
---
config/defconfig_arm64-dpaa2-linuxapp-gcc | 1 -
drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 7 +++
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 ++
drivers/mempo
On 1/29/2018 1:24 PM, Pavan Nikhilesh wrote:
Hi Hemant,
On Mon, Jan 29, 2018 at 12:12:55PM +0530, Hemant Agrawal wrote:
Hi Pavan,
I am bit late in checking it. (series is already applied)
Just few legal queries.
--- a/lib/librte_eal/common/rte_reciprocal.c > +++
b/lib/librte_eal/common
There is no specific handling when there is error happened
of hardware reset process in VF device start process.
Fixes: 0a45657a6794a ("pci: rework interrupt handling")
Signed-off-by: Wei Zhao
---
drivers/net/ixgbe/ixgbe_ethdev.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff -
Hi Erez,
On Sun, Jan 28, 2018 at 03:39:47PM +0200, Erez Ferber wrote:
> This is a backport based on commit
> a0edafe4099b1ef139242abb7baa2c2a48b83fd2
There is some issues in this commit, first the title line exceed the
75 characters.
Second it is submitted on the dev mailing list whereas it seem
Hi,
On Fri, Jan 26, 2018 at 04:54:43PM +, Ferruh Yigit wrote:
> On 1/26/2018 2:19 AM, Lu, Wenzhuo wrote:
> > Hi Olivier,
> >
> >
> >> -Original Message-
> >> From: Olivier Matz [mailto:olivier.m...@6wind.com]
> >> Sent: Thursday, January 25, 2018 6:40 PM
> >> To: Lu, Wenzhuo
> >> Cc
In failsafe device start can be called for ports/devices that
had been plugged out.
The mlx4 PMD detects device removal by listening to the device RMV
events, when the mlx4 port is being stopped, the PMD no longer
listens to these events causing the PMD to stop detecting device
removals.
This patch
On 01/29/2018 11:10 AM, Hemant Agrawal wrote:
This patch add support for various mempool ops config helper APIs.
1.User defined mempool ops
2.Platform detected HW mempool ops (active).
3.Best selection of mempool ops by looking into user defined,
platform registered and compile time configure
Hi Yliu,
On Sat, Jan 27, 2018 at 12:00:29AM +0800, Yuanhan Liu wrote:
> On Wed, Jan 24, 2018 at 11:32:20PM +0800, Yuanhan Liu wrote:
> > Hi,
> >
> > FYI, your patch has been queued to LTS release 17.11.1
> >
> > Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
> > It will be p
On 1/29/2018 1:33 PM, Anoob Joseph wrote:
Hi Akhil, Radu,
On 01/29/2018 01:02 PM, Akhil Goyal wrote:
On 1/26/2018 8:38 PM, Nicolau, Radu wrote:
-Original Message-
From: Anoob Joseph [mailto:anoob.jos...@caviumnetworks.com]
Sent: Friday, January 26, 2018 2:38 PM
To: Nicolau, Radu ;
> -Original Message-
> From: Richardson, Bruce
> Sent: Friday, January 26, 2018 2:50 PM
> To: De Lara Guarch, Pablo ; Zhang, Roy
> Fan
> Cc: dev@dpdk.org; De Lara Guarch, Pablo
> ; sta...@dpdk.org
> Subject: RE: [dpdk-dev] [PATCH] crypto/scheduler: fix strncpy length
>
>
>
> > -Or
On 1/26/2018 4:57 PM, Pablo de Lara wrote:
Functions rte_cryptodev_queue_pair_start/stop
are not really used in any of the crypto drivers
(they all just return 0 or -ENOTSUP).
Therefore, this API can be deprecated from 18.02
and removed in 18.05.
Signed-off-by: Pablo de Lara
---
doc/guides/re
The coverity issue was not completely fixed, since strncpy
should not be called with max length.
Instead, snprintf is used as a safer option.
Coverity issue: 143431
Fixes: d040aca67170 ("crypto/scheduler: fix strings not null terminated")
Cc: sta...@dpdk.org
Signed-off-by: Pablo de Lara
---
v2:
Hi Pablo/Fiona,
On 1/26/2018 4:38 PM, De Lara Guarch, Pablo wrote:
-Original Message-
From: Trahe, Fiona
Sent: Friday, January 26, 2018 10:45 AM
To: De Lara Guarch, Pablo ;
akhil.go...@nxp.com; hemant.agra...@nxp.com; Doherty, Declan
; jerin.ja...@intel.com; Griffin, John
; Jain, Deep
Hi Michael,
>
> On Mon, Jan 15, 2018 at 04:15:00PM +0100, Maxime Coquelin wrote:
> > Hi Michael,
> >
> > FYI:
> >
> > Forwarded Message
> > Subject: [dpdk-dev] [PATCH v3 2/2] eal/x86: Use lock-prefixed instructions
> > to reduce cost of rte_smp_mb()
> > Date: Mon, 15 Jan 2018 15
Link: http://dpdk.org/ml/archives/dev/2017-July/069813.html
Link: http://dpdk.org/dev/patchwork/patch/32041/
Signed-off-by: Olivier Matz
---
doc/guides/rel_notes/deprecation.rst | 13 +
1 file changed, 13 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/
Fix inconsistency between mbuf structure documentation and flags
documentation.
Fixes: 380a7aab1ae2 ("mbuf: rename deprecated VLAN flags")
Cc: sta...@dpdk.org
Reported-by: Morten Brørup
Signed-off-by: Olivier Matz
---
lib/librte_mbuf/rte_mbuf.h | 4 ++--
1 file changed, 2 insertions(+), 2 dele
For consistency with the Rx flags, the flags PKT_TX_VLAN_PKT and
PKT_TX_QINQ_PKT are respectively renamed as PKT_TX_VLAN and
PKT_TX_QINQ. The old defines are deprecated but will stay for some time
for compatibility.
Reported-by: Morten Brørup
Signed-off-by: Olivier Matz
---
doc/guides/rel_notes
On 29-Jan-18 6:37 AM, Tan, Jianfeng wrote:
Hi Anatoly,
-Original Message-
From: Burakov, Anatoly
Sent: Friday, January 26, 2018 6:26 PM
To: Tan, Jianfeng; dev@dpdk.org
Cc: Richardson, Bruce; Ananyev, Konstantin; tho...@monjalon.net
Subject: Re: [PATCH v6 1/2] eal: add channel for multi-
Do not panic when calling rte_pktmbuf_free(NULL) with mbuf debug
enabled, it is a valid operation.
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Reported-by: Keith Wiles
Signed-off-by: Olivier Matz
---
lib/librte_mbuf/rte_mbuf.h | 5 +++--
1 file changed, 3 insertions(+), 2
On 1/28/2018 10:45 AM, Moti Haimovsky wrote:
> This patch adds support for registering and waiting for Rx interrupts.
> This allows applications to wait for Rx events from the PMD using the
> DPDK rte_epoll subsystem.
>
> Signed-off-by: Moti Haimovsky
Acked-by: Pascal Mazon
Applied to dpdk-nex
On 27-Jan-18 2:53 PM, Radoslaw Biernacki wrote:
Looks OK.
Following note is aside from the patch.
Might be beneficial (in some rare cases) to add bailout recovery with
goto's in test_memzone_basic()
Just in case one of the rte_memzone_reserve() we should not make return -1,
but instead a goto to
On 29-Jan-18 6:23 AM, Phil Yang wrote:
While running DTS with ixgbe NIC, dpdk EAL will reserve some
memzones for the PCI device. So it is incorrect to judging the result by
only checking whether it has memzone remained.
Fixed by insert an unique name prefix into each memzone used in this case.
A
On Fri, Jan 26, 2018 at 01:54:23PM -0800, Stephen Hemminger wrote:
> On Fri, 26 Jan 2018 17:24:40 +
> Bruce Richardson wrote:
>
> > On Fri, Jan 26, 2018 at 06:14:01PM +0100, Thomas Monjalon wrote:
> > > 26/01/2018 03:01, Stephen Hemminger:
> > > > To handle atomic update of link status (64
DPDK i40e PMD will modify some global registers during initialization
and post initialization, there'll be impact during use of 700 series
Ethernet Adapter with both Linux kernel and DPDK PMD.
This patchset adds log for global configuration and adds device args
to disable global configuration.
Bei
DPDK i40e PMD will modify some global registers during initialization
and post initialization, there'll be impact during use of 700 series
Ethernet Adapter with both Linux kernel and DPDK PMD.
This patch is to add device parameters to disable global configuration.
Signed-off-by: Beilei Xing
---
This patch adds warning log during global configuration,
and add limitation doc for impact during use of 700 series
NIC with both kernel driver and DPDK PMD.
Signed-off-by: Beilei Xing
---
doc/guides/nics/i40e.rst | 12
drivers/net/i40e/i40e_ethdev.c | 25 +
Add debug log during global configuration.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 153 ++---
drivers/net/i40e/i40e_ethdev.h | 11 +++
2 files changed, 123 insertions(+), 41 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/d
> -Original Message-
> From: Anoob Joseph [mailto:anoob.jos...@caviumnetworks.com]
> Sent: Monday, January 29, 2018 8:04 AM
> To: Akhil Goyal ; Nicolau, Radu
>
> Cc: anoob.jos...@caviumnetworks.com; Doherty, Declan
> ; Gonzalez Monroy, Sergio
> ; Jerin Jacob
> ; Narayana Prasad
> ; Nelio
-Original Message-
> Date: Mon, 29 Jan 2018 10:30:27 +0100
> From: Olivier Matz
> To: dev@dpdk.org, Neil Horman , John McNamara
> , Marko Kovacevic
> CC: Kevin Wilson , Konstantin Ananyev
>
> Subject: [dpdk-dev] [PATCH] doc: announce control mbuf removal
> X-Mailer: git-send-email 2.11
On 1/27/2018 9:15 PM, Rasesh Mody wrote:
> This patch set includes some bug fixes and minor enhancements for QEDE PMD.
> It also includes NIC guide updates for BNX2X and QEDE PMDs.
>
> Please apply.
>
> Thanks!
> -Rasesh
>
> Harish Patil (4):
> net/qede/base: fix VF LRO tunnel params configura
The code to convert IPv4 and IPv6 address strings into a binary format
(inet_ntop) was included in the cmdline library because the DPDK was
historically compiled in environments where the standard inet_ntop()
function is not available. Today, this is not the case and the standard
inet_ntop() can be
This commit adds a new function rte_eal_finalize().
The function serves as a hook to allow DPDK to release
internal resources (e.g.: hugepage allocations).
This function allows DPDK to become more like an ordinary
library, where the library context itself can be initialized
and finalized by the ap
This patch adds a call to the newly introduced finalize()
function just before quitting the pdump app.
Adding this function call before quitting from a secondary processes
is important, as otherwise it will leak hugepage memory. For a secondary
process that is run multiple times, this could cause
This patch adds a call to the newly introduced finalize()
function just before quitting the app.
Adding this function call before quitting from a secondary processes
is important, as otherwise it will leak hugepage memory. For a secondary
process that is run multiple times, this could cause hugepa
This commit moves the rte_service_finalize() function
to be in the component header, and marks it as @internal.
The function is only called internally by rte_eal_finalize().
Signed-off-by: Harry van Haaren
---
Cc: tho...@monjalon.net
Cc: vipin.vargh...@intel.com
---
lib/librte_eal/common/inclu
Mordechay Haimovsky, Monday, January 29, 2018 10:35 AM:
> In failsafe device start can be called for ports/devices that had been plugged
> out.
> The mlx4 PMD detects device removal by listening to the device RMV events,
> when the mlx4 port is being stopped, the PMD no longer listens to these
> ev
29/01/2018 11:45, Harry van Haaren:
> --- a/doc/guides/prog_guide/env_abstraction_layer.rst
> +++ b/doc/guides/prog_guide/env_abstraction_layer.rst
> +Finalizing and Cleanup
> +~~
> +
> +During the initialization of EAL resources such as hugepage backed memory
> can be
> +alloc
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Monday, January 29, 2018 10:56 AM
> To: Van Haaren, Harry
> Cc: dev@dpdk.org; Varghese, Vipin
> Subject: Re: [PATCH v2 2/4] eal: add function to release internal resources
>
> 29/01/2018 11:45, Harry van Haaren:
> > --- a/doc/guides/pr
When a user creates an RSS rule, the tap PMD dynamically allocates
a 'flow' data structure, and uploads BPF programs (represented by file
descriptors) to the kernel.
The kernel might reject the rule (due to filters overlap, for example)
in which case, flow memory should be freed and BPF file descri
Hi all
Since there is not agreement for testpmd to be ownership aware by using the new
ownership mechanism,
I think we can drop testpmd patch for now(app/testpmd: adjust ethdev port
ownership).
Maybe we can add example application to use this API in future.
Thanks!
From: Matan Azrad
> Add ow
Removed the hardcoded preconfigured Rx offload configuration from
testpmd and changed the Rx offload command line parameters from
disable to enable.
Testers who wish to use these offloads will now have to explicitly
write them in the command-line when running testpmd.
Motivation:
Some PMDs such at
Hi Akhil,
On 01/29/2018 02:38 PM, Akhil Goyal wrote:
On 1/29/2018 1:33 PM, Anoob Joseph wrote:
Hi Akhil, Radu,
On 01/29/2018 01:02 PM, Akhil Goyal wrote:
On 1/26/2018 8:38 PM, Nicolau, Radu wrote:
-Original Message-
From: Anoob Joseph [mailto:anoob.jos...@caviumnetworks.com]
Sen
> -Original Message-
> From: Trahe, Fiona
> Sent: Thursday, January 25, 2018 5:19 PM
> To: dev@dpdk.org
> Cc: Nicolau, Radu ; De Lara Guarch, Pablo
> ; Trahe, Fiona
> Subject: [PATCH 2/2] test: improve test validation in NULL AUTH case
>
> Add comparison to make sure memory pointed to b
29/01/2018 12:33, Moti Haimovsky:
> Removed the hardcoded preconfigured Rx offload configuration from
> testpmd and changed the Rx offload command line parameters from
> disable to enable.
> Testers who wish to use these offloads will now have to explicitly
> write them in the command-line when run
29/01/2018 12:10, Van Haaren, Harry:
> > From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > Sent: Monday, January 29, 2018 10:56 AM
> > To: Van Haaren, Harry
> > Cc: dev@dpdk.org; Varghese, Vipin
> > Subject: Re: [PATCH v2 2/4] eal: add function to release internal resources
> >
> > 29/01/20
On Mon, Jan 29, 2018 at 12:55:35PM +0100, Thomas Monjalon wrote:
> 29/01/2018 12:10, Van Haaren, Harry:
> > > From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > > Sent: Monday, January 29, 2018 10:56 AM
> > > To: Van Haaren, Harry
> > > Cc: dev@dpdk.org; Varghese, Vipin
> > > Subject: Re: [PA
This commit moves the rte_service_finalize() function
to be in the component header, and marks it as @internal.
The function is only called internally by rte_eal_finalize().
Signed-off-by: Harry van Haaren
---
Cc: tho...@monjalon.net
Cc: vipin.vargh...@intel.com
---
lib/librte_eal/common/inclu
This patch adds a call to the newly introduced cleanup()
function just before quitting the pdump app.
Adding this function call before quitting from a secondary processes
is important, as otherwise it will leak hugepage memory. For a secondary
process that is run multiple times, this could cause h
This commit adds a new function rte_eal_cleanup().
The function serves as a hook to allow DPDK to release
internal resources (e.g.: hugepage allocations).
This function allows DPDK to become more like an ordinary
library, where the library context itself can be initialized
and cleaned up by the ap
This patch adds a call to the newly introduced cleanup()
function just before quitting the app.
Adding this function call before quitting from a secondary processes
is important, as otherwise it will leak hugepage memory. For a secondary
process that is run multiple times, this could cause hugepag
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Monday, January 29, 2018 11:56 AM
> To: Van Haaren, Harry
> Cc: dev@dpdk.org; Varghese, Vipin
> Subject: Re: [PATCH v2 2/4] eal: add function to release internal resources
>
> 29/01/2018 12:10, Van Haaren, Harry:
> > > From: Thomas Mon
Hi
> -Original Message-
> From: Trahe, Fiona [mailto:fiona.tr...@intel.com]
> Sent: 26 January 2018 00:13
> To: Verma, Shally ; Ahmed Mansour
> ; dev@dpdk.org; Akhil Goyal
>
> Cc: Challa, Mahipal ; Athreya, Narayana
> Prasad ; De Lara Guarch, Pablo
> ; Gupta, Ashish
> ; Sahu, Sunila ;
> J
Hi Ahmed
> -Original Message-
> From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com]
> Sent: 25 January 2018 23:49
> To: Verma, Shally ; Trahe, Fiona
> ; dev@dpdk.org
> Cc: Athreya, Narayana Prasad ;
> Gupta, Ashish ; Sahu, Sunila
> ; De Lara Guarch, Pablo
> ; Challa, Mahipal
> ; Jain, Deepa
Signed-off-by: Olivier Matz
---
lib/librte_mempool/rte_mempool.c | 35 +++
lib/librte_mempool/rte_mempool.h | 35 +++
lib/librte_mempool/rte_mempool_ops.c | 35 +++
3 files changed, 9 insertion
Signed-off-by: Olivier Matz
---
lib/librte_cmdline/cmdline.c | 58 +---
lib/librte_cmdline/cmdline.h | 58 +---
lib/librte_cmdline/cmdline_cirbuf.c | 58 +---
lib/librte_cmdline/cmdlin
This patchset updates the license on files that contain a 6WIND copyright
to use a SPDX tag.
It applies on master + https://dpdk.org/dev/patchwork/patch/34604/
For components I am maintaining (mempool, mbuf, cmdline, kvargs, net), I
update all the *.[ch] files. For the other components, I only upd
Signed-off-by: Olivier Matz
---
lib/librte_mbuf/rte_mbuf.c | 35 +++
lib/librte_mbuf/rte_mbuf.h | 35 +++
lib/librte_mbuf/rte_mbuf_ptype.c | 33 ++---
lib/librte_mbuf/rte_mbuf_ptype.h | 35 +++-
Signed-off-by: Olivier Matz
---
lib/librte_kvargs/rte_kvargs.c | 36
lib/librte_kvargs/rte_kvargs.h | 35 +++
2 files changed, 7 insertions(+), 64 deletions(-)
diff --git a/lib/librte_kvargs/rte_kvargs.c b/lib/librte_kvargs/rte
Cc: Bruce Richardson
Cc: Konstantin Ananyev
Signed-off-by: Olivier Matz
---
lib/librte_eal/bsdapp/eal/eal.c| 35 ++
lib/librte_eal/common/eal_common_dev.c | 35 ++
lib/librte_eal/common/eal_common_devargs.c | 32 ++
Signed-off-by: Olivier Matz
---
lib/librte_net/rte_arp.h | 31 ++-
lib/librte_net/rte_esp.h | 32 ++--
lib/librte_net/rte_gre.h | 32 ++--
lib/librte_net/rte_net.c | 33 ++---
lib/librt
Cc: Adrien Mazarguil
Cc: Thomas Monjalon
Signed-off-by: Olivier Matz
---
lib/librte_ether/rte_flow.c| 34 +++---
lib/librte_ether/rte_flow.h| 34 +++---
lib/librte_ether/rte_flow_driver.h | 34 +++--
Cc: Gaetan Rivet
Signed-off-by: Olivier Matz
---
lib/librte_pci/rte_pci.c | 35 +++
lib/librte_pci/rte_pci.h | 35 +++
2 files changed, 6 insertions(+), 64 deletions(-)
diff --git a/lib/librte_pci/rte_pci.c b/lib/librte_pci/rte_pc
Cc: Wenzhuo Lu
Cc: Jingjing Wu
Signed-off-by: Olivier Matz
---
app/test-pmd/cmdline.c | 35 +++
app/test-pmd/cmdline_flow.c | 34 +++---
app/test-pmd/config.c | 35 +++
app/test-pmd/csumonly.
Cc: Adrien Mazarguil
Signed-off-by: Olivier Matz
---
drivers/net/mlx4/mlx4.c| 34 +++---
drivers/net/mlx4/mlx4.h| 34 +++---
drivers/net/mlx4/mlx4_ethdev.c | 34 +++---
drivers/net/mlx4/mlx4_flow
Signed-off-by: Olivier Matz
---
test/test/commands.c | 35 +++
test/test/test_devargs.c | 32 ++--
test/test/test_eal_flags.c | 36
test/test/test_kvargs.c| 31 +---
Signed-off-by: Olivier Matz
---
drivers/bus/pci/pci_common.c | 35 +++
drivers/bus/pci/private.h | 33 ++---
drivers/bus/pci/rte_bus_pci.h | 35 +++
3 files changed, 8 insertions(+), 95 deletions(-)
Cc: Adrien Mazarguil
Cc: Nelio Laranjeiro
Cc: Yongseok Koh
Signed-off-by: Olivier Matz
---
drivers/net/mlx5/mlx5.c | 34 +++--
drivers/net/mlx5/mlx5.h | 34 +++--
drivers/net/mlx5/mlx5_defs.h | 34 +++
Cc: Wenzhuo Lu
Cc: Konstantin Ananyev
Signed-off-by: Olivier Matz
---
drivers/net/ixgbe/ixgbe_rxtx.c | 35 +++
1 file changed, 3 insertions(+), 32 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c
index eeff91b0d..6c582b4
Cc: "John W. Linville"
Signed-off-by: Olivier Matz
---
drivers/net/af_packet/rte_eth_af_packet.c | 42 +--
1 file changed, 6 insertions(+), 36 deletions(-)
diff --git a/drivers/net/af_packet/rte_eth_af_packet.c
b/drivers/net/af_packet/rte_eth_af_packet.c
index ac58
Cc: Gaetan Rivet
Signed-off-by: Olivier Matz
---
drivers/net/failsafe/failsafe.c | 34 +++--
drivers/net/failsafe/failsafe_args.c| 34 +++--
drivers/net/failsafe/failsafe_eal.c | 34 +++--
driver
Cc: Pascal Mazon
Signed-off-by: Olivier Matz
---
drivers/net/tap/rte_eth_tap.h | 34 +++---
drivers/net/tap/tap_flow.c| 34 +++---
drivers/net/tap/tap_flow.h| 34 +++---
drivers/net/tap/tap_netlink.c | 3
This updates the Intel and Oliver Matz licenses on a file in examples
to be the standard BSD-3-Clause license used for the rest of DPDK,
bringing the files in compliance with the DPDK licensing policy.
Signed-off-by: Lee Daly
---
V2: Combined Intel and Olivier Matz license blocks
---
---
exam
This is a basic implementation of packed virtqueues as specified in the
Virtio 1.1 draft. A compiled version of the current draft is available
at https://github.com/oasis-tcs/virtio-docs.git (or as .pdf at
https://github.com/oasis-tcs/virtio-docs/blob/master/virtio-v1.1-packed-wd07.pdf
It does not
Add and initialize descriptor data structures.
Signed-off-by: Jens Freimann
---
drivers/net/virtio/virtio_ethdev.c | 22 --
drivers/net/virtio/virtio_pci.h| 8
drivers/net/virtio/virtio_ring.h | 25 +++--
drivers/net/virtio/virtqueue.h
When VIRTIO_F_PACKED_RING is set, don't call virtio_disable_intr().
This function accesses data structures which are not
available when packed virtqueues are enabled.
Signed-off-by: Jens Freimann
---
drivers/net/virtio/virtio_ethdev.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletio
Add helper functions to set/clear and check descriptor flags.
Signed-off-by: Jens Freimann
---
drivers/net/virtio/virtio_ring.h | 32
drivers/net/virtio/virtqueue.c | 3 +++
2 files changed, 35 insertions(+)
diff --git a/drivers/net/virtio/virtio_ring.h b/dri
Signed-off-by: Jens Freimann
---
drivers/net/virtio/virtio_ring.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/virtio/virtio_ring.h b/drivers/net/virtio/virtio_ring.h
index 1cafef41b..839359444 100644
--- a/drivers/net/virtio/virtio_ring.h
+++ b/drivers/net/virtio/virtio_
VIRTQUEUE_DUMP access split virtqueue data which is not
correct when packed virtqueues are used.
Signed-off-by: Jens Freimann
---
drivers/net/virtio/virtqueue.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h
From: Yuanhan Liu
Add option to enable packed queue support for virtio-user
devices.
Signed-off-by: Yuanhan Liu
---
drivers/net/virtio/virtio_user/virtio_user_dev.c | 12 ++--
drivers/net/virtio/virtio_user/virtio_user_dev.h | 3 ++-
drivers/net/virtio/virtio_user_ethdev.c |
This implements the transmit path for devices with
support for Virtio 1.1.
Add the feature bit for Virtio 1.1 and enable code to
add buffers to vring and mark descriptors as available.
This is based on a patch by Yuanhan Liu.
Signed-off-by: Jens Freiman
---
drivers/net/virtio/Makefile
From: Yuanhan Liu
Implement the receive part here. No support for mergeable buffers yet.
Signed-off-by: Jens Freimann
Signed-off-by: Yuanhan Liu
---
drivers/net/virtio/virtio_ethdev.c | 5 +-
drivers/net/virtio/virtio_ethdev.h | 2 +
drivers/net/virtio/virtio_rxtx.c | 134 ++
This should actually be in the kernel header file, but it isn't
yet. For now let's use our own headers.
Signed-off-by: Jens Freimann
---
lib/librte_vhost/vhost.h | 4 +++-
lib/librte_vhost/virtio-1.1.h | 20
2 files changed, 23 insertions(+), 1 deletion(-)
create mode
From: Yuanhan Liu
Add code to set up packed queues when enabled.
Signed-off-by: Yuanhan Liu
Signed-off-by: Jens Freimann
---
lib/librte_vhost/vhost.c | 4
lib/librte_vhost/vhost.h | 1 +
lib/librte_vhost/vhost_user.c | 17 -
3 files changed, 21 insertions(+),
Implement code to dequeue and process descriptors from
the vring if VIRTIO_F_PACKED is enabled.
Check if descriptor was made available by driver by looking at
VIRTIO_F_DESC_AVAIL flag in descriptor. If so dequeue and set
the used flag VIRTIO_F_DESC_USED to the current value of the
used wrap counte
Implement enqueue of packets to the receive virtqueue.
Set descriptor flag VIRTQ_DESC_F_USED and toggle used wrap counter if
last descriptor in ring is used. Perform a write memory barrier before
flags are written to descriptor.
Chained descriptors are not supported with this patch.
Signed-off-b
Add some helper functions to set/check descriptor flags
and toggle the used wrap counter.
Signed-off-by: Jens Freimann
---
lib/librte_vhost/virtio-1.1.h | 43 +++
1 file changed, 43 insertions(+)
diff --git a/lib/librte_vhost/virtio-1.1.h b/lib/librte_vho
From: Yuanhan Liu
This patch enables the code do enqueue and dequeue packed to/from a
packed virtqueue. Add feature bit for packed virtqueues as defined in
Virtio 1.1 draft.
Signed-off-by: Jens Freimann
Signed-off-by: Yuanhan Liu
---
lib/librte_vhost/vhost.h | 1 +
lib/librte_vhost/virt
Needed if used with net/bonding
Signed-off-by: Radu Nicolau
---
drivers/net/null/rte_eth_null.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c
index 7cd5c71..511e2b7 100644
--- a/drivers/net/null/rte_eth_null.c
+++ b/d
Needed if used with net/bonding
Signed-off-by: Radu Nicolau
---
test/test/virtual_pmd.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/test/test/virtual_pmd.c b/test/test/virtual_pmd.c
index 7a7adbb..2b5383a 100644
--- a/test/test/virtual_pmd.c
+++ b/test/test/virtual_
On Mon, Jan 29, 2018 at 10:24:49PM +0800, Yuanhan Liu wrote:
On Mon, Jan 29, 2018 at 03:11:38PM +0100, Jens Freimann wrote:
This should actually be in the kernel header file, but it isn't
yet. For now let's use our own headers.
Signed-off-by: Jens Freimann
---
lib/librte_vhost/vhost.h |
Signed-off-by: Radu Nicolau
---
test/test/test_link_bonding_rssconf.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/test/test/test_link_bonding_rssconf.c
b/test/test/test_link_bonding_rssconf.c
index cf9c4b0..518c4c1 100644
--- a/test/test/test_link_bonding_rssconf.c
+++ b/test/test/t
Fixes: 09150784a776 ("net/bonding: burst mode hash calculation")
Cc: sta...@dpdk.org
Wrong function was used for l23 and l34 hashing
slave index was incremented twice.
Signed-off-by: Radu Nicolau
---
drivers/net/bonding/rte_eth_bond_api.c | 3 +++
drivers/net/bonding/rte_eth_bond_pmd.c | 8
1 - 100 of 199 matches
Mail list logo