This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared
buffer between qemu and backend.
Signed-off-by: Lin Li
Signed-off-by: Xun Ni
Signed-off-by: Yu Zhang
Signed-off-by: Jin Yu
---
lib/librte_vhost/vhost.h | 7
Hi Anoob,
> > > > > Sorry for the late response. But how do you plan to handle "inline
> > protocol"
> > > > processed packets?
> > > >
> > > > Right now that feature is supported for "inline crypto" only.
> > >
> > > [Anoob] The description says "inline processed" packets. Hence the
> > > conf
s patch set adds PCIe AER disable and IRQ support for ipn3ke.
Disable PCIe AER is very useful when FPGA reload. IRQ is used very
widely in interrupt process.
For ipn3ke is connect to CPU with PCIe switch, driver needs to scan
all PCIe devices of ipn3ke, it also can get all i40e of card, so
ipn3ke
Every defined bit in FME_ERROR0 is RW1C. Other reserved bits are always
0 when readout and it will plan to be RW1C if needed in future.
So it is safe just write the read back value to clear all the errors.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_def
In ipn3ke, each FPGA network side port bonding to an i40e pf,
each i40e pf link status should get data from FPGA network,
side port. This patch provide bonding relationship.
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/net/i40e/base/i40e_type.h | 3 +++
drivers/net/i40e/i40e_eth
This patch exposes SEU error information to application then application
could compare this information (128bit) with its own SMH file to know
if this SEU is a fatal error or not.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_defines.h | 5 +++-
driv
Add irq support for ifpga FME globle error, port error and uint unit.
We implmented this feature by vfio interrupt mechanism.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_feature_dev.c | 60 ++
drivers/raw/ifpga/base/ifpga_fme
The length of send buffer of SPI bus should be 4bytes align.
Signed-off-by: Tianfei Zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/opae_spi_transaction.c | 40 ---
1 file changed, 36 insertions(+), 4 deletions(-)
diff --git a/drivers/raw/ifpga/base/opae_spi_tr
In PAC N3000 card, this is a BMC chip which using MAX10 FPGA
to manage the board configuration, like sensors, flash controller,
QSFP, powers. And this is a SPI bus connected between A10 FPGA and
MAX10, we can access the MAX10 registers over this SPI bus.
In BMC, there are about 19 sensors in MAX10
The sensor devices are connected in MAX10 FPGA. we used the
device tree to describe those sensor devices. Parse the device
tree to get the sensor devices and add them into a list.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/opae_intel_max10.c | 279 ++
Update the SEU registser definition.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_defines.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/raw/ifpga/base/ifpga_defines.h
b/drivers/raw/ifpga/base/ifpga_defines.h
index b450
Introducing sensor APIs to PMD driver for PAC N3000 card.
Those sensor APIs:
1. opae_mgr_for_each_sensor()
2. opae_mgr_get_sensor_by_name()
3. opae_mgr_get_sensor_by_id()
4. opae_mgr_get_sensor_value_by_name()
5. opae_mgr_get_sensor_value_by_id()
6. opae_mgr_get_sensor_value()
Signed-off-by: Tian
Add SEU interrupt support for FPGA.
Signed-off-by: Tianfei zhang
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/ifpga_rawdev.c | 245 +++
1 file changed, 245 insertions(+)
diff --git a/drivers/raw/ifpga/ifpga_rawdev.c b/drivers/raw/if
From: Tianfei zhang
Add secure max10 device support.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_defines.h| 2 +
drivers/raw/ifpga/base/ifpga_fme.c| 26 --
drivers/raw/ifpga/base/opae_intel_max10.c | 136 +---
The ipn3ke board FPGA and i40e BDF scan has added in ifpga_rawdev,
so it doesn't need to provide configuration for i40e port bonding.
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/net/ipn3ke/Makefile | 2 +
drivers/net/ipn3ke/ipn3ke_ethdev.c | 289 --
Add PCIe BDF devices tree scan for ipn3ke.
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/ifpga_rawdev.c | 546 ++-
drivers/raw/ifpga/ifpga_rawdev.h | 16 ++
2 files changed, 557 insertions(+), 5 deletions(-)
diff --git a/drivers/raw/
From: Tianfei Zhang
We can change the PKVL FEC mode when the A10 NIOS FW
initialization. The end-user can use this feature the
change the FEC mode, the default mode is RS FEC mode.
Signed-off-by: Tianfei Zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_fme.c | 42 +++
From: Tianfei zhang
Add new API to get the board info.
opae_mgr_get_board_info()
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_api.c | 11 +++
drivers/raw/ifpga/base/ifpga_defines.h | 55 ++
drivers/raw/ifpga/base
From: Tianfei Zhang
Clean fme errors register when some fme errors occured.
Signed-off-by: Tianfei Zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_fme_error.c | 24 ++--
drivers/raw/ifpga/ifpga_rawdev.c | 22 ++
2 files changed, 2
if fpga image support lightweight feature, set afu uuid to all 0, ipn3ke
representor will not be probed.
Change-Id: Ib3a76fadd0eda8864243da2e73bf5c40d679a3e3
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/ifpga_rawdev.c | 44 +---
1 file changed, 32 insertions(
This patch enables AVX data path for iavf PMD.
Signed-off-by: Leyi Rong
---
v3:
- Adds release note.
v2:
- fix build error on aarch64.
---
doc/guides/rel_notes/release_19_11.rst | 3 +
drivers/net/iavf/Makefile | 21 +
drivers/net/iavf/iavf_rxtx.c| 99 +--
driver
Add vhost enqueue function for single packet and meanwhile left space
for flush used ring function.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 5b85b832d..2b5c47145 100644
--- a/lib/librte_vhost/virtio_net.c
+++ b/lib/librte_vhost/vi
Packed ring has more compact ring format and thus can significantly
reduce the number of cache miss. It can lead to better performance.
This has been approved in virtio user driver, on normal E5 Xeon cpu
single core performance can raise 12%.
http://mails.dpdk.org/archives/dev/2018-April/095470.ht
Add macro for unifying Clang/ICC/GCC unroll pragma format. Burst
functions were contained of several small loops which optimized by
compiler’s loop unrolling pragma.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/Makefile b/lib/librte_vhost/Makefile
index 8623e91c0..30839a001 100644
---
Add vhost single packet dequeue function for packed ring and meanwhile
left space for shadow used ring update function.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index c664b27c5..047fa7dc8 100644
--- a/lib/librte_vhost/virtio_net.c
+++ b
Simplify flush shadow used ring function names as all shadow rings are
reflect to used rings. No need to emphasize ring type.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 23c0f4685..ebd6c175d 100644
--- a/lib/librte_vhost/virtio_net.c
Burst enqueue function will first check whether descriptors are cache
aligned. It will also check prerequisites in the beginning. Burst
enqueue function not support chained mbufs, single packet enqueue
function will handle it.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/vhost.h b/lib
Add burst dequeue function like enqueue function for packed ring, burst
dequeue function will not support chained descritpors, single packet
dequeue function will handle it.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h
index 67889c80a..9fa3c8adf 1006
Buffer used ring updates as many as possible in vhost dequeue function
for coordinating with virtio driver. For supporting buffer, shadow used
ring element should contain descriptor index and its wrap counter. First
shadowed ring index is recorded for calculating buffered number.
Signed-off-by: Ma
Buffer vhost enqueue shadow ring update, flush shadow ring until
buffered descriptors number exceed one burst. Thus virtio can receive
packets at a faster frequency.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h
index 9fa3c8adf..000648dd4 100644
--- a
Flush used flags when burst enqueue function is finished. Descriptor's
flags are pre-calculated as them will be reset by vhost.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h
index 000648dd4..9c42c7db0 100644
--- a/lib/librte_vhost/vhost.h
+++ b/lib/li
Vhost enqueue descriptors are updated by burst number, while vhost
dequeue descriptors are buffered. Meanwhile in dequeue function only
first descriptor is buffered. Due to these differences, split vhost
enqueue and dequeue flush functions.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost
Optimize vhost device Rx datapath by separate functions. No-chained
and direct descriptors will be handled by burst and other will be
handled one by one as before.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index a8df74f87..066514e43 1006
Optimize vhost device Tx datapath by separate functions. Packets can be
filled into one descriptor will be handled by burst and others will be
handled one by one as before. Pre-fetch descriptors in next two cache
lines as hardware will load two cache line data automatically.
Signed-off-by: Marvin
When VIRTIO_F_IN_ORDER feature is negotiated, vhost can optimize dequeue
function by only update first used descriptor.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 357517cdd..a7bb4ec79 100644
--- a/lib/librte_vhost/virtio_net.c
+++ b
Cache address translation result and use it in next translation. Due
to limited regions are supported, buffers are most likely in same
region when doing data transmission.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/rte_vhost.h b/lib/librte_vhost/rte_vhost.h
index 7fb172912..d90235cd
Optimize vhost zero copy dequeue path like normal dequeue path.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 2418b4e45..a8df74f87 100644
--- a/lib/librte_vhost/virtio_net.c
+++ b/lib/librte_vhost/virtio_net.c
@@ -1909,6 +1909,144 @@ v
Disable software pre-fetch actions on Skylake and Cascadelake platforms.
Hardware can fetch needed data for vhost, additional software pre-fetch
will have impact on performance.
Signed-off-by: Marvin Liu
diff --git a/lib/librte_vhost/Makefile b/lib/librte_vhost/Makefile
index 30839a001..5f3b42e5
> -Original Message-
> From: vattun...@marvell.com [mailto:vattun...@marvell.com]
> Sent: Thursday, September 19, 2019 4:50 AM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo ; Wu, Jingjing
> ; Iremonger, Bernard
> ; tho...@monjalon.net; Vamsi Attunuru
>
> Subject: [dpdk-dev] [PATCH v3 1/1] app/testp
In ipn3ke, each FPGA network side port bonding to an i40e pf,
each i40e pf link status should get data from FPGA network,
side port. This patch provide bonding relationship.
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/net/i40e/base/i40e_type.h | 3 +++
drivers/net/i40e/i40e_eth
This patch set adds PCIe AER disable and IRQ support for ipn3ke.
Disable PCIe AER is very useful when FPGA reload. IRQ is used very
widely in interrupt process.
For ipn3ke is connect to CPU with PCIe switch, driver needs to scan
all PCIe devices of ipn3ke, it also can get all i40e of card, so
ipn3
From: Tianfei zhang
Add irq support for ifpga FME globle error, port error and uint unit.
We implmented this feature by vfio interrupt mechanism.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_feature_dev.c | 60 ++
drivers/ra
From: Tianfei zhang
Every defined bit in FME_ERROR0 is RW1C. Other reserved bits are always
0 when readout and it will plan to be RW1C if needed in future.
So it is safe just write the read back value to clear all the errors.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/ra
From: Tianfei zhang
The length of send buffer of SPI bus should be 4bytes align.
Signed-off-by: Tianfei Zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/opae_spi_transaction.c | 40 ---
1 file changed, 36 insertions(+), 4 deletions(-)
diff --git a/drivers/raw/
From: Tianfei zhang
In PAC N3000 card, this is a BMC chip which using MAX10 FPGA
to manage the board configuration, like sensors, flash controller,
QSFP, powers. And this is a SPI bus connected between A10 FPGA and
MAX10, we can access the MAX10 registers over this SPI bus.
In BMC, there are abo
From: Tianfei zhang
This patch exposes SEU error information to application then application
could compare this information (128bit) with its own SMH file to know
if this SEU is a fatal error or not.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_defines
From: Tianfei zhang
The sensor devices are connected in MAX10 FPGA. we used the
device tree to describe those sensor devices. Parse the device
tree to get the sensor devices and add them into a list.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/opae_intel_ma
From: Tianfei zhang
Introducing sensor APIs to PMD driver for PAC N3000 card.
Those sensor APIs:
1. opae_mgr_for_each_sensor()
2. opae_mgr_get_sensor_by_name()
3. opae_mgr_get_sensor_by_id()
4. opae_mgr_get_sensor_value_by_name()
5. opae_mgr_get_sensor_value_by_id()
6. opae_mgr_get_sensor_value(
From: Rosen Xu
Add SEU interrupt support for FPGA.
Signed-off-by: Tianfei zhang
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/ifpga_rawdev.c | 245 +++
1 file changed, 245 insertions(+)
diff --git a/drivers/raw/ifpga/ifpga_rawdev.c
From: Tianfei zhang
Update the SEU registser definition.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_defines.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/raw/ifpga/base/ifpga_defines.h
b/drivers/raw/ifpga/base/ifpg
From: Tianfei zhang
Add secure max10 device support.
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_defines.h| 2 +
drivers/raw/ifpga/base/ifpga_fme.c| 26 --
drivers/raw/ifpga/base/opae_intel_max10.c | 136 +---
From: Rosen Xu
Add PCIe BDF devices tree scan for ipn3ke.
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/ifpga_rawdev.c | 546 ++-
drivers/raw/ifpga/ifpga_rawdev.h | 16 ++
2 files changed, 557 insertions(+), 5 deletions(-)
diff --g
From: Rosen Xu
The ipn3ke board FPGA and i40e BDF scan has added in ifpga_rawdev,
so it doesn't need to provide configuration for i40e port bonding.
Signed-off-by: Rosen Xu
Signed-off-by: Andy Pei
---
drivers/net/ipn3ke/Makefile | 2 +
drivers/net/ipn3ke/ipn3ke_ethdev.c | 2
From: Tianfei Zhang
We can change the PKVL FEC mode when the A10 NIOS FW
initialization. The end-user can use this feature the
change the FEC mode, the default mode is RS FEC mode.
Signed-off-by: Tianfei Zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_fme.c | 42 +++
From: Tianfei Zhang
Clean fme errors register when some fme errors occurred.
Signed-off-by: Tianfei Zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_fme_error.c | 24 ++--
drivers/raw/ifpga/ifpga_rawdev.c | 22 ++
2 files changed,
if fpga image support lightweight feature, set afu uuid to all 0, ipn3ke
representor will not be probed.
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/ifpga_rawdev.c | 44 +---
1 file changed, 32 insertions(+), 12 deletions(-)
diff --git a/drivers/raw/ifpga/i
"Baran, MarcinX" writes:
> -Original Message-
> From: Aaron Conole
> Sent: Friday, September 13, 2019 8:45 PM
> To: Baran, MarcinX
> Cc: dev@dpdk.org; Richardson, Bruce
> Subject: Re: [dpdk-dev] [PATCH v2 0/6] examples/ioat: sample app on ioat
> driver usage
>
> Marcin Baran writes:
From: Tianfei zhang
Add new API to get the board info.
opae_mgr_get_board_info()
Signed-off-by: Tianfei zhang
Signed-off-by: Andy Pei
---
drivers/raw/ifpga/base/ifpga_api.c | 11 +++
drivers/raw/ifpga/base/ifpga_defines.h | 55 ++
drivers/raw/ifpga/base
From: Pavan Nikhilesh
This patchset adds a new application to demonstrate the usage of event
mode. The poll mode is also available to help with the transition.
The following new command line parameters are added:
--mode: Dictates the mode of operation either poll or event.
--eventq_sync: Dicta
From: Sunil Kumar Kori
Add ethernet port Rx/Tx queue setup for event device which are later
used for setting up event eth Rx/Tx adapters.
Signed-off-by: Sunil Kumar Kori
---
examples/l2fwd-event/l2fwd_eventdev.c | 114 ++
examples/l2fwd-event/l2fwd_eventdev.h | 1 +
e
From: Pavan Nikhilesh
Add infra to split eventdev framework based on event Tx adapter
capability.
If event Tx adapter has internal port capability then we use
`rte_event_eth_tx_adapter_enqueue` to transmitting packets else
we use a SINGLE_LINK event queue to enqueue packets to a service
core whic
From: Sunil Kumar Kori
Add the default l2fwd poll mode routines similar to examples/l2fwd.
Signed-off-by: Sunil Kumar Kori
---
examples/Makefile | 1 +
examples/l2fwd-event/Makefile | 57 +++
examples/l2fwd-event/l2fwd_common.h | 26 +
examples/l2fwd-event/main.c
From: Sunil Kumar Kori
Add infra to select event device as a mode to process packets through
command line arguments. Also, allow the user to select the schedule type
to be either RTE_SCHED_TYPE_ORDERED or RTE_SCHED_TYPE_ATOMIC.
Usage:
`--mode="eventdev"` or `--mode="poll"`
`--eventq-sync="order
From: Pavan Nikhilesh
Add event dev main loop based on enabled l2fwd options and eventdev
capabilities.
Signed-off-by: Pavan Nikhilesh
---
examples/l2fwd-event/l2fwd_eventdev.c | 273 ++
examples/l2fwd-event/main.c | 10 +-
2 files changed, 280 insertions(+),
From: Pavan Nikhilesh
Add event eth Rx/Tx adapter setup for both generic and internal port
event device pipelines.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Pavan Nikhilesh
---
examples/l2fwd-event/l2fwd_eventdev.c | 3 +
examples/l2fwd-event/l2fwd_eventdev.h | 17 +++
From: Pavan Nikhilesh
Add graceful teardown that addresses both event mode and poll mode.
Signed-off-by: Pavan Nikhilesh
---
examples/l2fwd-event/main.c | 44 +
1 file changed, 35 insertions(+), 9 deletions(-)
diff --git a/examples/l2fwd-event/main.c b/exam
From: Sunil Kumar Kori
Add service core setup when eventdev and Rx/Tx adapter don't have
internal port capability.
Signed-off-by: Sunil Kumar Kori
---
examples/l2fwd-event/l2fwd_eventdev_generic.c | 31 +++
.../l2fwd_eventdev_internal_port.c| 6
examples/l2fwd
From: Pavan Nikhilesh
Add event device queue and port setup based on event eth Tx adapter
capabilities.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Pavan Nikhilesh
---
examples/l2fwd-event/l2fwd_eventdev.c | 10 +
examples/l2fwd-event/l2fwd_eventdev.h | 18 ++
examples/l2
From: Sunil Kumar Kori
Add documentation for l2fwd-event example.
Update MAINTAINERS file claiming responsibility of l2fwd-event.
Signed-off-by: Sunil Kumar Kori
---
MAINTAINERS | 5 +
doc/guides/sample_app_ug/index.rst| 1 +
doc/guides/sample_
A new sample app demonstrating use of driver for CBDMA.
The app receives packets, performs software or hardware
copy, changes packets' MAC addresses (if enabled) and
forwards them. The patch includes sample application as
well as it's guide.
v4:
- fix meson build support check
v3:
- add check f
From: Pawel Modrak
A new sample app demonstrating use of driver for CBDMA.
The app receives packets, performs software or hardware
copy, changes packets' MAC addresses (if enabled) and
forwards them. The change covers ports initialization,
closing connection and argument parsing.
Signed-off-by:
Added support for copying packets
using software copy mode and MAC address
changing. The copies are processed using
one lcore.
Signed-off-by: Marcin Baran
Signed-off-by: Pawel Modrak
---
examples/ioat/ioatfwd.c | 211 +++-
1 file changed, 188 insertions(+), 2
Added support for copying packets using
rawdev device. Each port's Rx queue is
assigned DMA channel for copy.
Signed-off-by: Marcin Baran
Signed-off-by: Pawel Modrak
---
examples/ioat/ioatfwd.c | 236
1 file changed, 189 insertions(+), 47 deletions(-)
d
From: Pawel Modrak
Added possibility to use two lcores: first for
packet receiving and copying, second for packets
sending.
Signed-off-by: Pawel Modrak
Signed-off-by: Marcin Baran
---
examples/ioat/ioatfwd.c | 92 ++---
1 file changed, 67 insertions(+), 25
Added printing stats of ports each second.
The stats printing is done using master core.
The information provided informs about packets
received, dropped and send as well as statistics
of rawdev devices.
Signed-off-by: Marcin Baran
Signed-off-by: Pawel Modrak
---
examples/ioat/ioatfwd.c | 245 +
Added guide for IOAT sample app usage and
code description.
Signed-off-by: Marcin Baran
---
doc/guides/sample_app_ug/index.rst | 1 +
doc/guides/sample_app_ug/intro.rst | 4 +
doc/guides/sample_app_ug/ioat.rst | 764 +
3 files changed, 769 insertions(+)
create m
Regards
Sunil Kumar Kori
>-Original Message-
>From: pbhagavat...@marvell.com
>Sent: Thursday, September 19, 2019 2:56 PM
>To: Jerin Jacob Kollanukkaran ;
>bruce.richard...@intel.com; akhil.go...@nxp.com; Marko Kovacevic
>; Ori Kam ; Radu
>Nicolau ; Tomasz Kantecki
>; Sunil Kumar Kori ;
From: Pavan Nikhilesh
Add infra to split eventdev framework based on event Tx adapter
capability.
If event Tx adapter has internal port capability then we use
`rte_event_eth_tx_adapter_enqueue` to transmitting packets else
we use a SINGLE_LINK event queue to enqueue packets to a service
core whic
From: Sunil Kumar Kori
Add infra to select event device as a mode to process packets through
command line arguments. Also, allow the user to select the schedule type
to be either RTE_SCHED_TYPE_ORDERED or RTE_SCHED_TYPE_ATOMIC.
Usage:
`--mode="eventdev"` or `--mode="poll"`
`--eventq-sync="order
From: Pavan Nikhilesh
This patchset adds a new application to demonstrate the usage of event
mode. The poll mode is also available to help with the transition.
The following new command line parameters are added:
--mode: Dictates the mode of operation either poll or event.
--eventq_sync: Dicta
From: Sunil Kumar Kori
Add the default l2fwd poll mode routines similar to examples/l2fwd.
Signed-off-by: Sunil Kumar Kori
---
examples/Makefile | 1 +
examples/l2fwd-event/Makefile | 57 +++
examples/l2fwd-event/l2fwd_common.h | 26 +
examples/l2fwd-event/main.c
From: Pavan Nikhilesh
Add event eth Rx/Tx adapter setup for both generic and internal port
event device pipelines.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Pavan Nikhilesh
---
examples/l2fwd-event/l2fwd_eventdev.c | 3 +
examples/l2fwd-event/l2fwd_eventdev.h | 17 +++
From: Sunil Kumar Kori
Add documentation for l2fwd-event example.
Update MAINTAINERS file claiming responsibility of l2fwd-event.
Signed-off-by: Sunil Kumar Kori
---
MAINTAINERS | 5 +
doc/guides/sample_app_ug/index.rst| 1 +
doc/guides/sample_
From: Sunil Kumar Kori
Add ethernet port Rx/Tx queue setup for event device which are later
used for setting up event eth Rx/Tx adapters.
Signed-off-by: Sunil Kumar Kori
---
examples/l2fwd-event/l2fwd_eventdev.c | 114 ++
examples/l2fwd-event/l2fwd_eventdev.h | 1 +
e
From: Pavan Nikhilesh
Add event device queue and port setup based on event eth Tx adapter
capabilities.
Signed-off-by: Sunil Kumar Kori
Signed-off-by: Pavan Nikhilesh
---
examples/l2fwd-event/l2fwd_eventdev.c | 10 +
examples/l2fwd-event/l2fwd_eventdev.h | 18 ++
examples/l2
From: Pavan Nikhilesh
Add graceful teardown that addresses both event mode and poll mode.
Signed-off-by: Pavan Nikhilesh
---
examples/l2fwd-event/main.c | 44 +
1 file changed, 35 insertions(+), 9 deletions(-)
diff --git a/examples/l2fwd-event/main.c b/exam
From: Sunil Kumar Kori
Add service core setup when eventdev and Rx/Tx adapter don't have
internal port capability.
Signed-off-by: Sunil Kumar Kori
---
examples/l2fwd-event/l2fwd_eventdev_generic.c | 31 +++
.../l2fwd_eventdev_internal_port.c| 6
examples/l2fwd
From: Pavan Nikhilesh
Add event dev main loop based on enabled l2fwd options and eventdev
capabilities.
Signed-off-by: Pavan Nikhilesh
---
examples/l2fwd-event/l2fwd_eventdev.c | 273 ++
examples/l2fwd-event/main.c | 10 +-
2 files changed, 280 insertions(+),
Hi all,
Update Intel test result here.
# Basic Intel(R) NIC testing
* PF(i40e): Pass
* PF(ixgbe): Pass
* VF: Pass
* Build or compile: 3 bugs are found.
1. [dpdk-stable 18.11.3] compile error on freebsd12
2. [dpdk-stable 18.11.3] meson build error on ub1604-i86
3. [dpdk-stable 18.11.3] confi
>+static void
>+event_port_setup_generic(void)
>+{
>+ struct eventdev_resources *eventdev_rsrc = get_eventdev_rsrc();
>+ uint8_t event_d_id = eventdev_rsrc->event_d_id;
>+ struct rte_event_port_conf event_p_conf = {
>+ .dequeue_depth = 32,
>+ .enqueue_depth
Hi Konstantin,
Please see inline.
Thanks,
Anoob
> -Original Message-
> From: Ananyev, Konstantin
> Sent: Thursday, September 19, 2019 1:04 PM
> To: Anoob Joseph ; Smoczynski, MarcinX
> ; akhil.go...@nxp.com
> Cc: dev@dpdk.org; Narayana Prasad Raju Athreya ;
> Jerin Jacob Kollanukkaran ;
One issue caught by Coverity 340835
*unlock: axgbe_phy_set_mode unlocks pdata->phy_mutex
*double_unlock: axgbe_phy_sfp_detect unlocks pdata->phy_mutex
while it is unlocked.
In axgbe_phy_sfp_detect()/axgbe_phy_set_redrv_mode(),
axgbe_phy_get_comm_ownership() and axgbe_phy_put_comm_ownership()
are i
Starting with kernel version 4.10, there are new min/max MTU values in
net_device structure, which are set to ETH_MIN_MTU and ETH_DATA_LEN by
default. We should be able to change these values to allow MTU more than
1500 to be set on KNI.
Signed-off-by: Igor Ryzhov
---
examples/kni/main.c
From: Michael Shamis
Fix: SHA initialization will not be called in case of HAMC-SHA
Signed-off-by: Michael Shamis
---
examples/fips_validation/fips_validation.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/examples/fips_validation/fips_validation.c
b/exampl
From: Michael Shamis
Signed-off-by: Michael Shamis
---
examples/fips_validation/fips_validation_gcm.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/examples/fips_validation/fips_validation_gcm.c
b/examples/fips_validation/fips_validation_gcm.c
index 0509b
From: Michael Shamis
Include fixes related to SHA, TDES and GCM.
Michael Shamis (8):
examples/fips_validation: separation between HMAC-SHA and SHA
examples/fips_validation: fix structs used for AES-GCM
examples/fips_validation: initialize IV for AES-GCM
examples/fips_validation: move dig
From: Michael Shamis
Configurated AES-GCM IV may include only salt value which length
is 12B. In this case driver should set second part of IV to
initial value = 0x1.
Signed-off-by: Michael Shamis
---
examples/fips_validation/main.c | 11 +--
1 file changed, 9 insertions(+), 2 deletion
From: Michael Shamis
AES-GCM CAVS vectors for decryption set PTlen (plain text length)
but provide crypto text and application expected CTlen to be not
null. Now we assign PTlen to CTlen in decryption scenario and
it allows to application to handle AES-GCM decryption vectors.
Signed-off-by: Mich
From: Michael Shamis
Fix of GCM FIPS bug: ICV was not copied after the crypto text
in decryption operation so driver failed to check authentication
in GCM mode.
Signed-off-by: Michael Shamis
---
examples/fips_validation/main.c | 4
1 file changed, 4 insertions(+)
diff --git a/examples/fi
From: Michael Shamis
fix erroneous overwrite of PLAINTEXT-line after [DECRYPT] tag
Signed-off-by: Michael Shamis
---
examples/fips_validation/fips_validation.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/examples/fips_validation/fips_validation.c
b/examples
1 - 100 of 178 matches
Mail list logo