When creating vdev dynamically, vhost pmd driver starts directly without
checking TX/RX queues are ready or not, and thus causes segmentation fault
when vhost library accesses queues. This patch adds a flag to check whether
queues are setup or not, and adds queues setup into dev_start function to
a
Hello Ferruh,
On Thu, Mar 29, 2018 at 7:52 PM, Ferruh Yigit wrote:
> Public struct rte_eth_dev_info has a "struct rte_pci_device" field in it
> although it is common for all ethdev in all buses.
>
> Replacing pci specific struct with generic device struct and updating
> places that are using pci
> -Original Message-
> From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com]
> Sent: Friday, March 30, 2018 6:36 AM
> To: Zhoujian (jay) ; dev@dpdk.org
> Cc: Zhang, Roy Fan ; tho...@monjalon.net; Gonglei
> (Arei) ; Zeng, Xin ;
> Huangweidong (C) ; wangxin (U)
> ; longpeng
>
Hi Yongseok,
Thanks for the comments, I have submitted v2 patch following your comments.
https://dpdk.org/dev/patchwork/patch/36763/
On Fri, Mar 30, 2018 at 4:46 AM, Yongseok Koh wrote:
> On Thu, Mar 29, 2018 at 07:25:25PM +0800, Bin Huang wrote:
>> From: Bin Huang
>>
>> According to CQE format
Ethdev Rx offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Rx queue offloads API")
This commit support the new Rx offloads API.
Signed-off-by: Yanglong Wu
---
v2:
Adding offload requests checking and
reworking patch according to review comments
---
v3:
fix error
---
---
dr
Ethdev Tx offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")
This commit support the new Tx offloads API.
Signed-off-by: Yanglong Wu
---
v2:
Adding offload requests checking and
reworking patch according to review comments
---
v3:
fix error
---
---
dr
This patch support new offloads API in i40e PF and VF.
Yanglong Wu (2):
net/i40e: convert to new Rx offloads API
net/i40e: convert to new Tx offloads API
drivers/net/i40e/i40e_ethdev.c| 28 +--
drivers/net/i40e/i40e_ethdev_vf.c | 22 +--
drivers/net/i40e/i40e_
From: Bin Huang
According to CQE format:
- l4_hdr_type:
0 - None
1 - TCP header was present in the packet
2 - UDP header was present in the packet
3 - TCP header was present in the packet with Empty
TCP ACK indication. (TCP packet flag is set,
and packet car
We shall split this patch to multiple patches.
- This helper function is not necessarily exposed to users. Whenever
there is a device remove event, before invoking the callbacks, we do the
remap.
- PCI related code shall be put into librte_pci.
- Personally, I don't think we shall add an ops
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhang, Helin
> Sent: Wednesday, March 28, 2018 12:30 AM
> To: Tushar Mulkar; dev@dpdk.org
> Cc: Xing, Beilei; Zhang, Qi Z
> Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix link_state update for
> i40e_ethdev_vf d
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing
> Sent: Thursday, March 29, 2018 2:34 PM
> To: Zhang, Qi Z
> Cc: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v2] net/i40e: remove unnecessary FDIR mask
> configuration
>
> Remove unnecessary FDIR mask c
> -Original Message-
> From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com]
> Sent: Friday, March 30, 2018 6:28 AM
> To: Zhoujian (jay) ; dev@dpdk.org
> Cc: Zhang, Roy Fan ; tho...@monjalon.net; Gonglei
> (Arei) ; Zeng, Xin ;
> Huangweidong (C) ; wangxin (U)
> ; longpeng
>
> -Original Message-
> From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com]
> Sent: Friday, March 30, 2018 6:12 AM
> To: Zhoujian (jay) ; dev@dpdk.org
> Cc: Zhang, Roy Fan ; tho...@monjalon.net; Gonglei
> (Arei) ; Zeng, Xin ;
> Huangweidong (C) ; wangxin (U)
> ; longpeng
>
Hi Pablo,
> -Original Message-
> From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com]
> Sent: Friday, March 30, 2018 12:07 AM
> To: Zhoujian (jay) ; dev@dpdk.org
> Cc: Zhang, Roy Fan ; tho...@monjalon.net; Gonglei
> (Arei) ; Zeng, Xin ;
> Huangweidong (C) ; wangxin (U)
> ; l
Hi Jianfeng,
> -Original Message-
> From: Tan, Jianfeng
> Sent: Wednesday, March 28, 2018 11:15 PM
> To: Yang, Zhiyong ; dev@dpdk.org
> Cc: Wang, Zhihong ;
> maxime.coque...@redhat.com; tho...@monjalon.net; Wang, Dong1
> ; Bie, Tiwei
> Subject: Re: [PATCH v3 3/4] net/virtio-user: add supp
Hi Maxime,
> -Original Message-
> From: Maxime Coquelin [mailto:maxime.coque...@redhat.com]
> Sent: Thursday, March 29, 2018 9:20 PM
> To: Yang, Zhiyong ; dev@dpdk.org
> Cc: Tan, Jianfeng ; Wang, Zhihong
> ; tho...@monjalon.net; Wang, Dong1
> ; Bie, Tiwei
> Subject: Re: [PATCH v3 4/4] net
> -Original Message-
> From: Jay Zhou [mailto:jianjay.z...@huawei.com]
> Sent: Sunday, March 25, 2018 9:34 AM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo ; Zhang, Roy
> Fan ; tho...@monjalon.net;
> arei.gong...@huawei.com; Zeng, Xin ;
> weidong.hu...@huawei.com; wangxinxin.w...@huawei.
> -Original Message-
> From: Jay Zhou [mailto:jianjay.z...@huawei.com]
> Sent: Sunday, March 25, 2018 9:34 AM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo ; Zhang, Roy
> Fan ; tho...@monjalon.net;
> arei.gong...@huawei.com; Zeng, Xin ;
> weidong.hu...@huawei.com; wangxinxin.w...@huawei.
> -Original Message-
> From: Jay Zhou [mailto:jianjay.z...@huawei.com]
> Sent: Sunday, March 25, 2018 9:34 AM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo ; Zhang, Roy
> Fan ; tho...@monjalon.net;
> arei.gong...@huawei.com; Zeng, Xin ;
> weidong.hu...@huawei.com; wangxinxin.w...@huawei.
> -Original Message-
> From: Jay Zhou [mailto:jianjay.z...@huawei.com]
> Sent: Sunday, March 25, 2018 9:34 AM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo ; Zhang, Roy
> Fan ; tho...@monjalon.net;
> arei.gong...@huawei.com; Zeng, Xin ;
> weidong.hu...@huawei.com; wangxinxin.w...@huawei.
Signed-off-by: Erik Gabriel Carrillo
---
MAINTAINERS| 7 +++
doc/api/doxy-api-index.md | 32 +++-
doc/guides/rel_notes/release_18_05.rst | 6 ++
3 files changed, 16 insertions(+), 29 deletions(-)
diff --git a/MAINTAIN
Signed-off-by: Erik Gabriel Carrillo
Signed-off-by: Jerin Jacob
Signed-off-by: Pavan Nikhilesh
---
doc/guides/prog_guide/event_timer_adapter.rst | 297 ++
doc/guides/prog_guide/index.rst | 1 +
2 files changed, 298 insertions(+)
create mode 100644 doc/gu
Signed-off-by: Erik Gabriel Carrillo
---
test/test/Makefile |1 +
test/test/test_event_timer_adapter.c | 1837 ++
2 files changed, 1838 insertions(+)
create mode 100644 test/test/test_event_timer_adapter.c
diff --git a/test/test/Makefile b/t
Signed-off-by: Erik Gabriel Carrillo
---
config/rte_config.h | 1 +
lib/librte_eventdev/meson.build | 9 ++---
lib/meson.build | 3 ++-
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/config/rte_config.h b/config/rte_config.h
index 72c0aa2..117c19f 1
If an eventdev PMD does not wish to provide event timer adapter ops
definitions, the library will fall back to a default software
implementation whose entry points are added by this commit.
Signed-off-by: Erik Gabriel Carrillo
---
lib/Makefile | 2 +-
lib/librt
The introduction of the event timer adapter library adds a dependency
on the rte_timer library from the rte_eventdev library. Update the
order so that the timer library comes after the eventdev library in the
linker command when statically linking applications.
Signed-off-by: Erik Gabriel Carrill
This commit adds the logic that is shared by all event timer adapter
drivers; the common code handles instance allocation and some
initialization.
Signed-off-by: Erik Gabriel Carrillo
---
config/common_base| 1 +
drivers/event/sw/sw_evdev.c
Signed-off-by: Erik Gabriel Carrillo
---
lib/librte_eventdev/rte_eventdev.h | 37 +
1 file changed, 5 insertions(+), 32 deletions(-)
diff --git a/lib/librte_eventdev/rte_eventdev.h
b/lib/librte_eventdev/rte_eventdev.h
index e79583a..f9ad71e 100644
--- a/lib/l
Event devices can be coupled with various components to provide
new event sources by using event adapters. The event timer adapter
is one such adapter; it bridges event devices and timer mechanisms.
This library extends the event-driven programming model by
introducing a new type of event that rep
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_ether/rte_class_eth.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lib/librte_ether/rte_class_eth
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 patch series contains the next iteration of the Event Timer Adapter
library, which abstracts timer mechanisms that are tightly coupled with event
devices, and extends the event based programming model so that timer
expirations are represented as an event.
v8
- Addressed comments on previous s
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/Makefile | 1 +
drivers/bus/vdev/vdev.c | 14 --
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git
Signed-off-by: Gaetan Rivet
---
lib/Makefile | 2 +-
lib/librte_ether/Makefile| 3 +-
lib/librte_ether/rte_class_eth.c | 73
3 files changed, 76 insertions(+), 2 deletions(-)
create mode 100644 lib/librte_ether/rte_class_eth.
If start is set and a device before it matches the data,
this device is returned.
This induces potentially infinite loops.
Fixes: c7fe1eea8a74 ("bus: simplify finding starting point")
Cc: sta...@dpdk.org
Signed-off-by: Gaetan Rivet
---
drivers/bus/vdev/rte_bus_vdev.h | 3 +++
drivers/bus/vdev
Signed-off-by: Gaetan Rivet
---
drivers/bus/vdev/Makefile | 2 +-
drivers/bus/vdev/vdev.c | 42 ++
2 files changed, 43 insertions(+), 1 deletion(-)
diff --git a/drivers/bus/vdev/Makefile b/drivers/bus/vdev/Makefile
index 24d424a38..52728833c 100644
---
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_common.c | 28 ++--
1 file changed, 26 insertions(+), 2 deletions(-)
diff --git a/drivers
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
If start is set, and a device before it matches the data
passed for comparison, then this first device is returned.
This induces potentially infinite loops.
Fixes: c7fe1eea8a74 ("bus: simplify finding starting point")
Cc: sta...@dpdk.org
Signed-off-by: Gaetan Rivet
---
drivers/bus/pci/pci_comm
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 | 187
lib/librte_eal/common/include/rte_dev.h | 25 +
lib/librte_eal/r
Signed-off-by: Gaetan Rivet
---
drivers/bus/pci/Makefile | 2 +-
drivers/bus/pci/pci_common.c | 42 ++
2 files changed, 43 insertions(+), 1 deletion(-)
diff --git a/drivers/bus/pci/Makefile b/drivers/bus/pci/Makefile
index f3df1c4ce..73498dc77 100644
This function can be used as a callback to
rte_kvargs_process.
This should reduce code duplication.
Signed-off-by: Gaetan Rivet
---
lib/Makefile | 1 +
lib/librte_kvargs/rte_kvargs.c | 10 ++
lib/librte_kvargs/rte_kvargs.h | 28 ++
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/
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
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 99a799d6d..bdccc2553 100644
--- a/lib/librte_eal/c
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
++
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
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
This patchset introduces a new EAL API for querying devices,
filtered by arbitrary properties.
The following elements are introduced to this end:
* A new object, "rte_class", is used to describe
the device class abstraction layer (eth, crypto, ...).
* Both rte_bus and rte_class now offer a
Signed-off-by: Gaetan Rivet
---
lib/Makefile | 3 +--
lib/librte_eal/common/Makefile| 2 +-
lib/librte_kvargs/Makefile| 3 ++-
lib/librte_kvargs/rte_kvargs.c
Build a central list to quickly see each used priorities for
constructors, allowing to verify that they are both above 100 and in the
proper order.
Signed-off-by: Gaetan Rivet
Acked-by: Neil Horman
Acked-by: Shreyansh Jain
---
lib/librte_eal/common/eal_common_log.c | 2 +-
lib/librte_eal/c
> On Mar 29, 2018, at 6:36 AM, Bruce Richardson
> wrote:
>
> When linking the mlx glue code libraries using CC, the linker arguments in
> LDFLAGS are not prefixed with -Wl. [The EXTRA_LDFLAGS are though.] This
> leads to warning messages on build:
>
> clang-5.0: warning: argument unused during
On Thu, Mar 29, 2018 at 07:25:25PM +0800, Bin Huang wrote:
> From: Bin Huang
>
> According to CQE format:
> - l4_hdr_type:
> 0 - None
> 1 - TCP header was present in the packet
> 2 - UDP header was present in the packet
> 3 - TCP header was present in the packet with Empty
>
On Thu, Mar 29, 2018 at 11:11:20PM +0300, Vladimir Medvedkin wrote:
> 2018-03-29 13:27 GMT+03:00 Bruce Richardson :
>
> > On Wed, Feb 21, 2018 at 09:44:54PM +, Medvedkin Vladimir wrote:
> > > RIB is an alternative to current LPM library.
> > > +#define LOOKUP_FUNC(suffix, type, bulk_prefetch)
From: Eduard Serra
Scatter RX (scattered_rx) flag is currently not being resetted
when new configuration is suplied to reconfigure a port,
rendering the rx callback logic to always fall through the
scatter branch.
Signed-off-by: Eduard Serra
---
drivers/net/i40e/i40e_ethdev_vf.c | 2 ++
driver
2018-03-29 13:27 GMT+03:00 Bruce Richardson :
> On Wed, Feb 21, 2018 at 09:44:54PM +, Medvedkin Vladimir wrote:
> > RIB is an alternative to current LPM library.
> > It solves the following problems
> > - Increases the speed of control plane operations against lpm such as
> >adding/deleti
2018-03-26 12:50 GMT+03:00 Bruce Richardson :
> On Sun, Mar 25, 2018 at 09:17:20PM +0300, Vladimir Medvedkin wrote:
> > Hi,
> >
> > 2018-03-14 14:09 GMT+03:00 Bruce Richardson >:
> >
> > > On Wed, Feb 21, 2018 at 09:44:54PM +, Medvedkin Vladimir wrote:
> > > > RIB is an alternative to current
On 3/29/2018 7:21 PM, Ferruh Yigit wrote:
> On 3/29/2018 6:01 PM, Thomas Monjalon wrote:
>> 29/03/2018 18:50, Ferruh Yigit:
>>> On 3/29/2018 5:43 PM, Thomas Monjalon wrote:
29/03/2018 18:38, Ferruh Yigit:
> On 3/29/2018 5:32 PM, Thomas Monjalon wrote:
>> 29/03/2018 17:48, Ferruh Yigit:
Add example to built pipeline with LPM table to demonstrate layer 3
routing.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Reshma Pattan
---
examples/ip_pipeline/examples/route.cli | 60 +
1 file changed, 60 insertions(+)
crea
-Original Message-
> Date: Thu, 29 Mar 2018 11:02:55 +
> From: "Van Haaren, Harry"
> To: "jerin.ja...@caviumnetworks.com" ,
> "hemant.agra...@nxp.com" , "Ma, Liang J"
>
> CC: "Eads, Gage" , "Richardson, Bruce"
> , "santosh.shu...@caviumnetworks.com"
> , "nipun.gu...@nxp.com"
> ,
Add example to build pipeline with hash table to classify the
ingress traffic.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Fan Zhang
---
examples/ip_pipeline/examples/flow.cli | 60 ++
1 file changed, 60 insertions(+)
create
Add example to built pipeline with ACL table to demonstrate
the firewall operation.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/examples/firewall.cli | 59 ++
1 file changed, 59 insertions(+)
create mode 100644 examples
Add command to update the dscp table for traffic meter and traffic
manager.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/cli.c | 154
examples/ip_pipeline/pipeline.h | 6 ++
examples/ip_pipeline/thread
Add command for load balance action.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/action.c | 11 ++
examples/ip_pipeline/action.h | 1 +
examples/ip_pipeline/cli.c | 84 -
examples/ip_pipeline/pi
Add command to read the ttl stats.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/cli.c | 22 +++
examples/ip_pipeline/pipeline.h | 7
examples/ip_pipeline/thread.c | 85 +
3 files changed,
Add example to illustrate the pipeline functioning with KNI
interface.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Kevin Laatz
---
examples/ip_pipeline/examples/kni.cli | 69 +++
1 file changed, 69 insertions(+)
create mode
Add example to illustrate the pipeline functioning with TAP
interface.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Kevin Laatz
---
examples/ip_pipeline/examples/tap.cli | 66 +++
1 file changed, 66 insertions(+)
create mode
This patch add the configuration file for l2fwd example. It
includes commands to build the packet processing stage (pipeline),
defining action, add rules to its table, etc.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Kevin Laatz
---
examples/ip_pipeline/exa
Add cli for adding bulk entries to pipeline table.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Kevin Laatz
---
examples/ip_pipeline/cli.c | 267 +--
examples/ip_pipeline/pipeline.h | 8 ++
examples/ip_pipeline/thre
Add command to read traffic meter stats.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/cli.c | 22 ++
examples/ip_pipeline/pipeline.h | 8
examples/ip_pipeline/thread.c | 89 +
3 files chan
Add commands to configure the traffic meter profile.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/cli.c | 232
examples/ip_pipeline/pipeline.h | 11 ++
examples/ip_pipeline/thread.c | 146
Add command to read the pipeline table entry stats.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Fan Zhang
---
examples/ip_pipeline/cli.c | 22 +++
examples/ip_pipeline/pipeline.h | 7
examples/ip_pipeline/thread.c | 85 +
Add command to delete the pipeline table entry.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/cli.c | 145
examples/ip_pipeline/pipeline.h | 9 +++
examples/ip_pipeline/thread.c | 142
Add commands to read the pipeline port in, port out
and table stats.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Fan Zhang
---
examples/ip_pipeline/cli.c | 256
examples/ip_pipeline/pipeline.h | 18 +++
exampl
Add commands to add pipeline table entries which contains match and
action part.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Kevin Laatz
---
examples/ip_pipeline/cli.c | 1295 +++
examples/ip_pipeline/pipeline.h |
Add commands to enable and disable the pipeline on the thread.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Fan Zhang
---
examples/ip_pipeline/cli.c| 102 +
examples/ip_pipeline/thread.c | 256 ++
e
Add runtime thread functions for the pipeline.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/main.c | 6 ++
examples/ip_pipeline/thread.c | 193 ++
examples/ip_pipeline/thread.h | 3 +
3 files changed, 20
Add pipeline object implementation to the application.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/Makefile| 1 +
examples/ip_pipeline/cli.c | 819
examples/ip_pipeline/cli.h | 2 -
examples/ip_p
Add threads data structure and initialisation functions to run
the pipeline.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/Makefile| 2 +-
examples/ip_pipeline/main.c | 8 ++
examples/ip_pipeline/meson.build | 1 +
examples/ip_pipeline
Add commands to enable and disable the pipeline ports.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Fan Zhang
---
examples/ip_pipeline/cli.c | 112 +++
examples/ip_pipeline/pipeline.h | 8 ++
examples/ip_pipeline/thread.c | 1
Add action profile object implementation to the application.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Fan Zhang
---
examples/ip_pipeline/Makefile| 4 +-
examples/ip_pipeline/action.c| 278 +++
examples/ip_pipeline/action.h
Add kni object implementation to the application.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Kevin Laatz
---
examples/ip_pipeline/Makefile| 1 +
examples/ip_pipeline/cli.c | 65 +++
examples/ip_pipeline/kni.c | 167 ++
Add tap object implementation to the application
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Kevin Laatz
---
examples/ip_pipeline/Makefile| 1 +
examples/ip_pipeline/cli.c | 32 +
examples/ip_pipeline/main.c | 8
examples/i
Add traffic manager object implementation to the application.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/Makefile| 1 +
examples/ip_pipeline/cli.c | 360 +++
examples/ip_pipeline/main.c | 8 +
Add swq object implementation to the application.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Kevin Laatz
---
examples/ip_pipeline/Makefile| 1 +
examples/ip_pipeline/cli.c | 55 +
examples/ip_pipeline/main.c | 8
Add link object implementation to the application.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Fan Zhang
---
examples/ip_pipeline/Makefile| 1 +
examples/ip_pipeline/cli.c | 122 ++
examples/ip_pipeline/link.c | 268
Add mempool object implementation to the application.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
Signed-off-by: Fan Zhang
---
examples/ip_pipeline/Makefile| 1 +
examples/ip_pipeline/cli.c | 109 ++-
examples/ip_pipeline/co
CLI interface allowing connectivity with external agent(e.g. telnet,
netcat, Python script, etc) is added to the application.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/Makefile| 4 +-
examples/ip_pipeline/cli.c | 86 +++
exam
Remove application configuration and script files.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/config/action.cfg | 68 --
examples/ip_pipeline/config/action.sh | 119 ---
examples/ip_pipeline/config/action.txt
remove master pipeline.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/Makefile |6 -
examples/ip_pipeline/app.h | 12 -
examples/ip_pipeline/{pipeline => }/hash_func.h|3 +-
.../ip_pipeline/{
Remove firewall pipeline.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/Makefile |2 -
examples/ip_pipeline/init.c|2 -
examples/ip_pipeline/meson.build |2 -
examples/ip_pipe
Remove flow actions pipeline.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/Makefile |2 -
examples/ip_pipeline/init.c|2 -
examples/ip_pipeline/meson.build |2 -
.../ip_pipel
Remove flow classification pipeline.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/Makefile |2 -
examples/ip_pipeline/init.c|2 -
examples/ip_pipeline/meson.build |2 -
.../p
Remove routing pipeline.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/Makefile |2 -
examples/ip_pipeline/init.c|2 -
examples/ip_pipeline/meson.build |2 -
examples/ip_pipel
remove passthrough pipeline.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
examples/ip_pipeline/Makefile | 2 -
examples/ip_pipeline/init.c| 2 -
examples/ip_pipeline/meson.build | 2 -
.../ip_pipeline/
Remove wrong check for table entry pointer.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
lib/librte_table/rte_table_acl.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c
index 73d3910..14d5401
This API provides a common set of actions for pipeline input ports to speed
up application development.
Each pipeline input port can be assigned an action handler to be executed
on every input packet during the pipeline execution.
The pipeline library allows the user to define his own input port
Add implementation of the load balance action.
Signed-off-by: Cristian Dumitrescu
---
lib/librte_pipeline/rte_table_action.c | 102 +
lib/librte_pipeline/rte_table_action.h | 52 +
2 files changed, 154 insertions(+)
diff --git a/lib/librte_pipeli
Add implementation of timestamp action.
Signed-off-by: Cristian Dumitrescu
---
lib/librte_pipeline/rte_pipeline_version.map | 1 +
lib/librte_pipeline/rte_table_action.c | 79 +++-
lib/librte_pipeline/rte_table_action.h | 31 +++
3 files changed, 110
Add implementation of Network Address Translation(NAT) action.
Signed-off-by: Cristian Dumitrescu
---
lib/librte_pipeline/rte_table_action.c | 351 +
lib/librte_pipeline/rte_table_action.h | 39
2 files changed, 390 insertions(+)
diff --git a/lib/librte_pip
1 - 100 of 240 matches
Mail list logo