Signed-off-by: Gaetan Rivet
---
lib/Makefile | 3 +--
lib/librte_kvargs/Makefile | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/Makefile b/lib/Makefile
index d82462ba2..e8e903c8f 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -4,6 +4,7 @@
include $(RTE_
This function permits defining additional terminating characters,
ending the parsing to arbitrary delimiters.
Signed-off-by: Gaetan Rivet
---
lib/Makefile | 1 +
lib/librte_kvargs/rte_kvargs.c | 25 +
lib/librte_kvargs/rte_kvargs.h
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/include/rte_common.h | 23 +++
1 file changed, 23 insertions(+)
diff --git a/lib/librte_eal/common/include/rte_common.h
b/lib/librte_eal/common/include/rte_common.h
index 434adfd45..0dd832728 100644
--- a/lib/librte_eal/c
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/bsdapp/eal/Makefile | 1 +
lib/librte_eal/common/Makefile | 2 +-
lib/librte_eal/common/eal_common_class.c | 62 +++
lib/librte_eal/common/include/rte_class.h | 121 +
lib/librte_eal
This function is private to the EAL.
It is used to parse each layers in a device description string,
and store the result in an rte_devargs structure.
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_devargs.c | 144
lib/librte_eal/common/eal_private
A device iterator allows iterating over a set of devices.
This set is defined by the two descriptions offered,
* rte_bus
* rte_class
Only one description can be provided, or both. It is not allowed to
provide no description at all.
Each layer of abstraction then performs a filter based on th
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/include/rte_class.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/lib/librte_eal/common/include/rte_class.h
b/lib/librte_eal/common/include/rte_class.h
index b5e550a34..e8176f5e1 100644
--- a/lib/librte_eal/common/include/rte_class
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/include/rte_class.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_eal/common/include/rte_class.h
b/lib/librte_eal/common/include/rte_class.h
index e8176f5e1..9d5b06807 100644
--- a/lib/librte_eal/common/include/rte_class.h
++
Parse a device description.
Split this description in their relevant part for each layers.
No dynamic allocation is performed.
Signed-off-by: Gaetan Rivet
---
lib/Makefile| 1 +
lib/librte_eal/bsdapp/eal/Makefile | 1 +
lib/librte_eal/common/eal_common_dev.c |
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/include/rte_bus.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_eal/common/include/rte_bus.h
b/lib/librte_eal/common/include/rte_bus.h
index eb9eded4e..747baf140 100644
--- a/lib/librte_eal/common/include/rte_bus.h
+++ b/lib/
Use the iteration hooks in the abstraction layers to perform the
requested filtering on the internal device lists.
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_dev.c | 168
lib/librte_eal/common/include/rte_dev.h | 26 +
lib/librte_eal/r
Signed-off-by: Gaetan Rivet
---
drivers/bus/pci/Makefile | 3 ++-
drivers/bus/pci/pci_common.c | 3 +--
drivers/bus/pci/pci_params.c | 53
drivers/bus/pci/private.h| 25 +
4 files changed, 81 insertions(+), 3 deletions(-)
This function can be used as a callback to
rte_kvargs_process.
This should reduce code duplication.
Signed-off-by: Gaetan Rivet
---
lib/librte_kvargs/rte_kvargs.c | 10 ++
lib/librte_kvargs/rte_kvargs.h | 28
lib/librte_kvargs/rte_kvargs_
The PCI bus can now parse a matching field "id" as follows:
"bus=pci,id=:00:00.0"
or
"bus=pci,id=00:00.0"
Signed-off-by: Gaetan Rivet
---
drivers/bus/pci/pci_params.c | 29 +++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/driver
Signed-off-by: Gaetan Rivet
---
drivers/bus/vdev/Makefile | 3 ++-
drivers/bus/vdev/vdev.c | 10
drivers/bus/vdev/vdev_params.c | 51 +
drivers/bus/vdev/vdev_private.h | 26 +
4 files changed, 85 insertions(+), 5
The vdev bus parses a field "driver", matching
a vdev driver name with one passed as follows:
"bus=vdev,driver="
Signed-off-by: Gaetan Rivet
---
drivers/bus/vdev/vdev_params.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/vdev/vdev_param
Signed-off-by: Gaetan Rivet
---
lib/librte_ethdev/Makefile| 3 +-
lib/librte_ethdev/rte_class_eth.c | 79 +++
2 files changed, 81 insertions(+), 1 deletion(-)
create mode 100644 lib/librte_ethdev/rte_class_eth.c
diff --git a/lib/librte_ethdev/Makefil
The eth device class can now parse a field name,
matching the eth_dev name with one passed as
"class=eth,name=xx"
Signed-off-by: Gaetan Rivet
---
lib/librte_ethdev/rte_class_eth.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/lib/librte_ethdev/rte_class_eth.c
b/lib/librte_e
A new interactive command is offered:
show device
This commands lists all rte_device element matching the device
description. e.g.:
show device bus=pci
show device bus=vdev
show device bus=vdev/class=eth
show device bus=vdev,driver=net_ring/class=eth
show device bus=vdev/class
This iterator can be customized with a comparison function that will
trigger a stopping condition.
It can be leveraged to write several different iterators that have
similar but non-identical purposes.
It is private to librte_ethdev.
Signed-off-by: Gaetan Rivet
---
lib/librte_ethdev/Makefile
Hi Jeff
Continue session from last version + more comments\question.
From: Jeff Guo
> Sent: Tuesday, June 26, 2018 6:36 PM
> To: step...@networkplumber.org; bruce.richard...@intel.com;
> ferruh.yi...@intel.com; konstantin.anan...@intel.com;
> gaetan.ri...@6wind.com; jingjing...@intel.com; Thomas
On 6/24/2018 1:17 PM, Jerin Jacob wrote:
> -Original Message-
>> Date: Thu, 21 Jun 2018 19:14:50 +0100
>> From: Ferruh Yigit
>> To: Jerin Jacob , Maciej Czekaj
>>
>> CC: dev@dpdk.org, Ferruh Yigit , sta...@dpdk.org
>> Subject: [PATCH] net/thunderx: fix build with gcc optimization on
>> X
Devices can have addressing limitations and an internal dma mask
will track the more restrictive dma mask set by a device.
Signed-off-by: Alejandro Lucero
---
lib/librte_eal/common/eal_common_options.c | 1 +
lib/librte_eal/common/eal_internal_cfg.h | 1 +
2 files changed, 2 insertions(+)
dif
Hugepages get an iova address which could be out of range
for devices with addressing limitations. This patch checks
hugepages are withint the range if dma mask is set by a device.
Signed-off-by: Alejandro Lucero
---
lib/librte_eal/common/eal_private.h | 3 +++
lib/librte_eal/linuxapp/eal/eal.c
This RFC tries to handle devices with addressing limitations. NFP devices
4000/6000 can just handle addresses with 40 bits implying problems for handling
physical address when machines have more than 1TB of memory. But because how
iovas are configured, which can be equivalent to physical addresses
Devices can have addressing limitations and a driver can set a dma
mask. This patch adds a function for checking hugepages iovas are within
the range supported by the dma mask.
Signed-off-by: Alejandro Lucero
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 36
1 f
A device with addressing limitations will invoke this function
for setting a dma mask. It has no effect if there is another
dma mask already set and more restrictive than this one.
Signed-off-by: Alejandro Lucero
---
lib/librte_eal/common/eal_common_memory.c | 15 +++
lib/librte_eal
This function calls a generic one for ethernet devices.
Signed-off-by: Alejandro Lucero
---
lib/librte_ether/rte_ethdev.h | 12
1 file changed, 12 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index eba11ca..e3979e4 100644
--- a/lib/librte
NFP 4000/6000 devices can not use iova addresses requiring more
than 40 bits. This patch sets a dma mask for avoiding hugepages
with iova requiring more than those 40 bits.
Signed-off-by: Alejandro Lucero
---
drivers/net/nfp/nfp_net.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers
Hi,
Please find some comments below.
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jiayu Hu
> Sent: Friday, June 22, 2018 8:54 AM
> To: dev@dpdk.org
> Cc: xiao.w.w...@intel.com; konstantin.anan...@intel.com;
> yuwei1.zh...@intel.com; bernard.iremon...@intel.co
Hi,
As per DPDK roadmap, 18.08 is supposed to have a compression PMD
for QAT chipsets. Please share information if C3xxx (denverton)
chipset would be supported in 18.08 QAT compression PMD.
Reference: http://core.dpdk.org/roadmap/
Thanks,
Srini
> -Original Message-
> From: Burakov, Anatoly
> Sent: Tuesday, June 26, 2018 11:12 PM
> To: Zhang, Qi Z ; tho...@monjalon.net
> Cc: Ananyev, Konstantin ; dev@dpdk.org;
> Richardson, Bruce ; Yigit, Ferruh
> ; Shelton, Benjamin H
> ; Vangati, Narender
>
> Subject: Re: [PATCH v4 06/24] ethd
Extend rte_ipv6_frag_get_ipv6_fragment_header() to skip over any
other IPv6 extension headers when finding the fragment header.
According to RFC 8200, there is no guarantee that the IPv6
Fragment extension header will come before any other extension
header, even though it is recommended.
Signed-o
Tested-by: Yuwei Zhang
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jiayu Hu
Sent: Tuesday, May 29, 2018 3:41 PM
To: dev@dpdk.org
Cc: Ananyev, Konstantin ; Hu, Jiayu
Subject: [dpdk-dev] [PATCH 3/3] gso: add UDP/IPv4 GSO to the programmer guide
Signed-off-by: J
Hi, Olivier Matz
> -Original Message-
> From: Olivier Matz [mailto:olivier.m...@6wind.com]
> Sent: Tuesday, June 26, 2018 4:46 PM
> To: Zhao1, Wei
> Cc: Zhang, Qi Z ; dev@dpdk.org; Lu, Wenzhuo
>
> Subject: Re: [RFC] net/ixgbe: fix Tx descriptor status api
>
> Hi Wei,
>
> On Tue, Jun 26
Hi Ophir,
Replies are inline.
> -Original Message-
> From: Ophir Munk [mailto:ophi...@mellanox.com]
> Sent: Wednesday, June 27, 2018 7:59 AM
> To: Hu, Jiayu ; dev@dpdk.org
> Cc: Wang, Xiao W ; Ananyev, Konstantin
> ; Zhang, Yuwei1
> ; Iremonger, Bernard
> ; Thomas Monjalon
>
> Subject: R
> -Original Message-
> From: Matan Azrad [mailto:ma...@mellanox.com]
> Sent: Wednesday, June 27, 2018 12:55 AM
> To: Zhang, Qi Z ; Thomas Monjalon
> ; Burakov, Anatoly
> Cc: Ananyev, Konstantin ; dev@dpdk.org;
> Richardson, Bruce ; Yigit, Ferruh
> ; Shelton, Benjamin H
> ; Vangati, Nare
> -Original Message-
> From: Zhang, Qi Z
> Sent: Thursday, June 7, 2018 9:32 AM
> To: Xing, Beilei
> Cc: Wu, Jingjing ; Yu, De ;
> dev@dpdk.org; Zhang, Qi Z
> Subject: [PATCH] net/i40e: remove VF interrupt handler
>
> For i40evf, internal rx interrupt and adminq interrupt share the sa
hi, mantan
On 6/27/2018 1:07 AM, Matan Azrad wrote:
Hi Jeff
Continue session from last version + more comments\question.
From: Jeff Guo
Sent: Tuesday, June 26, 2018 6:36 PM
To: step...@networkplumber.org; bruce.richard...@intel.com;
ferruh.yi...@intel.com; konstantin.anan...@intel.com;
gaeta
> -Original Message-
> From: Xing, Beilei
> Sent: Wednesday, June 27, 2018 11:48 AM
> To: Zhang, Qi Z
> Cc: Wu, Jingjing ; Yu, De ;
> dev@dpdk.org
> Subject: RE: [PATCH] net/i40e: remove VF interrupt handler
>
>
>
> > -Original Message-
> > From: Zhang, Qi Z
> > Sent: Thursda
> -Original Message-
> From: Hu, Jiayu
> Sent: Wednesday, June 27, 2018 10:29 AM
> To: Ophir Munk ; dev@dpdk.org
> Cc: Wang, Xiao W ; Ananyev, Konstantin
> ; Zhang, Yuwei1
> ; Iremonger, Bernard
> ; Thomas Monjalon
>
> Subject: RE: [dpdk-dev] [PATCH v3 1/3] gso: support UDP/IPv4
> fragm
Hi Guo
From: Guo, Jia
> Sent: Wednesday, June 27, 2018 6:56 AM
> To: Matan Azrad ; step...@networkplumber.org;
> bruce.richard...@intel.com; ferruh.yi...@intel.com;
> konstantin.anan...@intel.com; gaetan.ri...@6wind.com;
> jingjing...@intel.com; Thomas Monjalon ;
> Mordechay Haimovsky ; harry.van.
Regards
Sunil Kumar
> -Original Message-
> From: Anoob Joseph [mailto:anoob.jos...@caviumnetworks.com]
> Sent: Friday, June 8, 2018 10:54 PM
> To: Bruce Richardson ; Jerin Jacob
> ; Pablo de Lara
>
> Cc: Anoob Joseph ; Hemant Agrawal
> ; Narayana Prasad
> ; Nikhil Rao
> ; Pavan Nikhile
On 06/26/2018 11:02 AM, Liu, Yong wrote:
-Original Message-
From: Maxime Coquelin [mailto:maxime.coque...@redhat.com]
Sent: Tuesday, June 26, 2018 4:08 PM
To: Liu, Yong ; Bie, Tiwei
Cc: Wang, Zhihong ; dev@dpdk.org
Subject: Re: [PATCH] net/virtio-user: add unsupported features mask
On 06/25/2018 05:17 PM, Marvin Liu wrote:
Add parameters for configuring VIRTIO_NET_F_MRG_RXBUF and
VIRTIO_F_IN_ORDER feature bits. If feature is disabled, also update
corresponding unsupported feature bit.
Signed-off-by: Marvin Liu
diff --git a/drivers/net/virtio/virtio_user/virtio_user_de
On 06/25/2018 05:17 PM, Marvin Liu wrote:
Add new function for freeing IN_ORDER descriptors. As descriptors will
be allocated and freed sequentially when IN_ORDER feature was
negotiated. There will be no need to utilize chain for freed descriptors
management, only index update is enough.
Sign
201 - 246 of 246 matches
Mail list logo