We announced ABI changes to remove iomem and ioport mapping in
igb_uio. But it has potential backward compatibility issue: cannot
run old version DPDK on modified igb_uio.
The purpose of this changes was to fix a bug: when DPDK app crashes,
those devices by igb_uio are not stopped either DPDK PMD
Patch 1: howto doc of virtio_user for container networking.
Patch 2: howto doc of virtio_user as exceptional path.
Patch 3: remove ABI changes in igb_uio
Signed-off-by: Jianfeng Tan
Jianfeng Tan (3):
doc: add guide to use virtio_user for container networking
doc: add guide to use virtio_user
Signed-off-by: Jianfeng Tan
---
.../howto/img/virtio_user_as_exceptional_path.svg | 1260
doc/guides/howto/index.rst |1 +
.../howto/virtio_user_as_exceptional_path.rst | 142 +++
3 files changed, 1403 insertions(+)
create mode 100644 doc/g
On 1/21/2017 1:01 AM, Neil Horman wrote:
On Fri, Jan 20, 2017 at 06:47:49PM +0530, Akhil Goyal wrote:
On 1/20/2017 6:02 PM, Neil Horman wrote:
On Fri, Jan 20, 2017 at 07:35:02PM +0530, akhil.go...@nxp.com wrote:
From: Akhil Goyal
Signed-off-by: Hemant Agrawal
Signed-off-by: Akhil Goyal
---
Hello Ferruh,
On Monday 23 January 2017 11:00 PM, Ferruh Yigit wrote:
On 1/23/2017 11:59 AM, Hemant Agrawal wrote:
QBMAN, is a hardware block which interfaces with the other
accelerating hardware blocks (For e.g., WRIOP) on NXP's DPAA2
SoC for queue, buffer and packet scheduling.
This patch in
Check if promisc mode was set when setting allmulti mode and visa-versa.
Introduced BNX2X_RX_MODE_ALLMULTI_PROMISC for the same. If check is
absent the filter configuration gets over written.
Fixes: 540a211084a7 ("bnx2x: driver core")
Fixes: 5dbc53d7e5a2 ("net/bnx2x: restrict Rx mask flags sent to
> On Jan 23, 2017, at 6:43 PM, Ananyev, Konstantin
> wrote:
>
>
>
>> -Original Message-
>> From: Wiles, Keith
>> Sent: Monday, January 23, 2017 9:53 PM
>> To: Stephen Hemminger
>> Cc: Hu, Jiayu ; dev@dpdk.org; Kinsella, Ray
>> ; Ananyev, Konstantin
>> ; Gilmore, Walter E
>> ; Venka
On Tue, Jan 24, 2017 at 09:43:06AM +0800, Ananyev, Konstantin wrote:
>
>
> > -Original Message-
> > From: Wiles, Keith
> > Sent: Monday, January 23, 2017 9:53 PM
> > To: Stephen Hemminger
> > Cc: Hu, Jiayu ; dev@dpdk.org; Kinsella, Ray
> > ; Ananyev, Konstantin
> > ; Gilmore, Walter E
Hi,
> -Original Message-
> From: Xing, Beilei
> Sent: Tuesday, January 24, 2017 10:44 AM
> To: Wu, Jingjing
> Cc: Lu, Wenzhuo; dev@dpdk.org
> Subject: [PATCH] net/i40e: fix parsing tunnel filter issue
>
> VNI of VXLAN is parsed wrongly. The root cause is that array vni in item VXLAN
> als
VNI of VXLAN is parsed wrongly. The root cause is that
array vni in item VXLAN also uses network byte ordering.
Fixes: d416530e6358 ("net/i40e: parse tunnel filter")
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_flow.c | 22 ++
1 file changed, 18 insertions(+), 4 dele
This patch fixes a bug in replaying MAC address to the hardware
in rte_eth_dev_config_restore() routine. Added default MAC replay as well.
Fixes: 4bdefaade6d1 ("ethdev: VMDQ enhancements")
---
v2: Added default MAC replay & Code optimization
v3: Covered a case (ex, SR-IOV) where multiple pools
> -Original Message-
> From: Wiles, Keith
> Sent: Monday, January 23, 2017 9:53 PM
> To: Stephen Hemminger
> Cc: Hu, Jiayu ; dev@dpdk.org; Kinsella, Ray
> ; Ananyev, Konstantin
> ; Gilmore, Walter E
> ; Venkatesan, Venky ;
> yuanhan@linux.intel.com
> Subject: Re: [dpdk-dev] [RFC] A
Hi Billy,
Thanks for your explanation. It makes a picture to me ☺
Best regards
Wenzhuo Lu
From: Billy McFall [mailto:bmcf...@redhat.com]
Sent: Monday, January 23, 2017 9:49 PM
To: Lu, Wenzhuo
Cc: thomas.monja...@6wind.com; dev@dpdk.org
Subject: Re: [PATCH v3 2/3] net/e1000: e1000 igb support to
This patch fixes a bug in replaying MAC address to the hardware
in rte_eth_dev_config_restore() routine. Added default MAC replay as well.
Fixes: 4bdefaade6d1 ("ethdev: VMDQ enhancements")
---
v2: Added default MAC replay & Code optimization
V3: Covered a case (ex, SR-IOV)
Dear Igor,
Yes, you’re right. We need to handle a case (ex, SR-IOV) where multiple pools
exist in the mac_pool_sel array.
A new diff file will be uploaded with PATCH v3.
Thanks & Regards,
Steve
From: Igor Ryzhov
Date: Monday, January 23, 2017 at 12:50 AM
To: Steve Shin
Cc: "dev@dpdk.org" , Fe
> On Jan 23, 2017, at 10:15 AM, Stephen Hemminger
> wrote:
>
> On Mon, 23 Jan 2017 21:03:12 +0800
> Jiayu Hu wrote:
>
>> With the support of hardware segmentation techniques in DPDK, the
>> networking stack overheads of send-side of applications, which directly
>> leverage DPDK, have been gre
Add support to the vHostdriver for the new API to force free consumed
buffers on Tx ring. vHost does not cache the mbufs so there is no work
to do.
Signed-off-by: Billy McFall
---
doc/guides/nics/features/vhost.ini | 1 +
drivers/net/vhost/rte_eth_vhost.c | 11 +++
2 files changed, 12
Add a new API to force free consumed buffers on Tx ring. API will return
the number of packets freed (0-n) or error code if feature not supported
(-ENOTSUP) or input invalid (-ENODEV).
Signed-off-by: Billy McFall
---
doc/guides/nics/features/default.ini | 1 +
lib/librte_ether/rte_ethdev.c
Add support to the e1000 igb driver for the new API to force free
consumed buffers on Tx ring. e1000 igb driver does not implement a
tx_rs_thresh to free mbufs, it frees a slot in the ring as needed, so
a new function needed to be written.
Signed-off-by: Billy McFall
---
doc/guides/nics/features
See request from 11/21/2016:
http://dpdk.org/ml/archives/dev/2016-November/050585.html
Add a new API to free consumed buffers on TX ring. This addresses two
scenarios:
1) Flooding a packet and want to reuse existing mbuf to avoid a packet
copy. Increment the reference count of the packet and pol
On Mon, 23 Jan 2017 19:20:02 +
"Su, David W" wrote:
> If rte_eth_conf.intr_conf.rxq != 0 and rte_eth_conf.intr_conf.lsc = 0 when
> rte_eth_dev_configure() is called, rx queue interrupts can be
> enabled/disabled with rte_eth_dev_rx_intr_{enable|disable} and DPDK
> applications can wait for
If rte_eth_conf.intr_conf.rxq != 0 and rte_eth_conf.intr_conf.lsc = 0 when
rte_eth_dev_configure() is called, rx queue interrupts can be enabled/disabled
with rte_eth_dev_rx_intr_{enable|disable} and DPDK applications can wait for rx
queue interrupts with rte_epoll_wait(). This is the case for
2017-01-22 2:50 GMT+01:00 Ferruh Yigit :
> make config dependency resolving was always running serial,
> parallelize it for better performance.
>
> $ time make T=x86_64-native-linuxapp-gcc config
> real0m12.633s
>
> $ time make -j8 T=x86_64-native-linuxapp-gcc config
> real0m1.826s
[...]
>
On 1/23/2017 11:59 AM, Hemant Agrawal wrote:
<...>
>
> Hemant Agrawal (33):
> mk/dpaa2: add the crc support to the machine type
> drivers/common/dpaa2: adding qbman driver
> bus/fslmc: introducing fsl-mc bus driver
> bus/fslmc: introduce mc object functions
> bus/fslmc: add mc dpni obje
On 1/23/2017 11:59 AM, Hemant Agrawal wrote:
<...>
>
> Hemant Agrawal (33):
> mk/dpaa2: add the crc support to the machine type
> drivers/common/dpaa2: adding qbman driver
> bus/fslmc: introducing fsl-mc bus driver
> bus/fslmc: introduce mc object functions
> bus/fslmc: add mc dpni obje
> On Jan 23, 2017, at 10:18 AM, Olivier Matz wrote:
>
> Hi Ferruh,
>
> On Sun, 22 Jan 2017 01:50:34 +, Ferruh Yigit
> wrote:
>> make config dependency resolving was always running serial,
>> parallelize it for better performance.
>>
>> $ time make T=x86_64-native-linuxapp-gcc config
>> re
On 1/23/2017 11:59 AM, Hemant Agrawal wrote:
> Signed-off-by: Hemant Agrawal
> ---
<...>
> --- a/drivers/net/dpaa2/Makefile
> +++ b/drivers/net/dpaa2/Makefile
> @@ -66,6 +66,6 @@ DEPDIRS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += lib/librte_eal
> lib/librte_ether
> DEPDIRS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD)
On 1/23/2017 11:59 AM, Hemant Agrawal wrote:
> Signed-off-by: Hemant Agrawal
> ---
<...>
> static int
> dpaa2_dev_init(struct rte_eth_dev *eth_dev)
> {
<...>
> + eth_dev->data->nb_rx_queues = priv->nb_rx_queues;
> + eth_dev->data->nb_tx_queues = priv->nb_tx_queues;
No need to assign t
On 1/23/2017 11:59 AM, Hemant Agrawal wrote:
> Adding NXP DPAA2 architecture specific mempool support
> Each mempool instance is represented by a DPBP object
> from the FSL-MC bus.
>
> This patch also registers a dpaa2 type MEMPOOL OPS
>
> Signed-off-by: Hemant Agrawal
> ---
<...>
> diff --git
On 1/23/2017 11:59 AM, Hemant Agrawal wrote:
> add support for fsl-mc bus based dpaa2 pmd driver.
>
> Signed-off-by: Hemant Agrawal
> ---
<...>
> diff --git a/drivers/net/dpaa2/Makefile b/drivers/net/dpaa2/Makefile
> new file mode 100644
> index 000..f85aa9f
> --- /dev/null
> +++ b/drivers/n
On 1/23/2017 11:59 AM, Hemant Agrawal wrote:
> QBMAN, is a hardware block which interfaces with the other
> accelerating hardware blocks (For e.g., WRIOP) on NXP's DPAA2
> SoC for queue, buffer and packet scheduling.
>
> This patch introduces a userspace driver for interfacing with
> the QBMAN hw
Before this patch, the management of dependencies between directories
had several issues:
- the generation of .depdirs, done at configuration is slow: it can take
more than one minute on some slow targets (usually ~10s on a standard
PC).
- for instance, it is possible to expressed a dependenc
Hi Ferruh,
On Sun, 22 Jan 2017 01:50:34 +, Ferruh Yigit
wrote:
> make config dependency resolving was always running serial,
> parallelize it for better performance.
>
> $ time make T=x86_64-native-linuxapp-gcc config
> real0m12.633s
>
> $ time make -j8 T=x86_64-native-linuxapp-gcc conf
On Mon, 23 Jan 2017 21:03:12 +0800
Jiayu Hu wrote:
> With the support of hardware segmentation techniques in DPDK, the
> networking stack overheads of send-side of applications, which directly
> leverage DPDK, have been greatly reduced. But for receive-side, numbers of
> segmented packets serious
The return value of the stack handler is wrong: it should be 0 on
success, not the number of objects dequeued.
This could lead to memory leaks depending on how the caller checks the
return value (ret < 0 or ret != 0). This was also breaking autotests
with debug enabled, because the debug cookies a
On Mon, Jan 23, 2017 at 09:24:34AM +, David Hunt wrote:
> This patch aims to improve the throughput of the distributor library.
>
> It uses a similar handshake mechanism to the previous version of
> the library, in that bits are used to indicate when packets are ready
> to be sent to a worker
On Fri, Jan 20, 2017 at 11:48:22AM +, Bruce Richardson wrote:
> On Fri, Jan 20, 2017 at 11:24:40AM +, Ananyev, Konstantin wrote:
> > >
> > > From: Andrew Rybchenko [mailto:arybche...@solarflare.com]
> > > Sent: Friday, January 20, 2017 10:26 AM
> > > To: Yang, Zhiyong ; dev@dpdk.org
> > >
This patch aims to improve the throughput of the distributor library.
It uses a similar handshake mechanism to the previous version of
the library, in that bits are used to indicate when packets are ready
to be sent to a worker and ready to be returned from a worker. One main
difference is that in
Signed-off-by: David Hunt
---
doc/guides/prog_guide/packet_distrib_lib.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/prog_guide/packet_distrib_lib.rst
b/doc/guides/prog_guide/packet_distrib_lib.rst
index b5bdabb..dffd4ad 100644
--- a/doc/guides/prog_guide/packet_distrib_
Signed-off-by: David Hunt
---
examples/distributor/main.c | 511 ++--
1 file changed, 393 insertions(+), 118 deletions(-)
diff --git a/examples/distributor/main.c b/examples/distributor/main.c
index e7641d2..b0d8b31 100644
--- a/examples/distributor/main.c
Signed-off-by: David Hunt
---
app/test/test_distributor.c | 501 ++--
1 file changed, 392 insertions(+), 109 deletions(-)
diff --git a/app/test/test_distributor.c b/app/test/test_distributor.c
index 85cb8f3..3871f86 100644
--- a/app/test/test_distributor.c
Signed-off-by: David Hunt
---
app/test/test_distributor_perf.c | 150 +++
1 file changed, 138 insertions(+), 12 deletions(-)
diff --git a/app/test/test_distributor_perf.c b/app/test/test_distributor_perf.c
index 7947fe9..9132010 100644
--- a/app/test/test_dist
Now sends bursts of up to 8 mbufs to each worker, and tracks
the in-flight flow-ids (atomic scheduling)
New file with a new api, similar to the old API except with _burst
at the end of the function names. This is to preserve the original
API (and code) for backward compatibility.
It uses a simila
Signed-off-by: David Hunt
---
lib/librte_distributor/Makefile| 7 ++
lib/librte_distributor/rte_distributor_burst.c | 12 ++-
.../rte_distributor_match_generic.c| 43
lib/librte_distributor/rte_distributor_match_sse.c | 113
Hello DPDK community,
I haven’t found any relevant errata/fix notes so I’m asking here. I’m running
into a transmit lockup on an i210 NIC: the transmit descriptor ring fills up
and never drains. I’ve instrumented my code to dump out all extended stats and
registers and found that when the trans
Hi,
Thanks for bringing a new convenient API.
2017-01-20 11:01, Billy McFall:
> Based on a request from Damjan Marion and seconded by Keith Wiles, see
> dpdk-dev mailing list from 11/21/2016,
Generally we use links to ML archives to show prior discussions.
> add a new API to free consumed
> buf
Promote Nelio as additional maintainer for mlx4 and mlx5 PMDs.
Signed-off-by: Adrien Mazarguil
Acked-by: Nelio Laranjeiro
Acked-by: Olga Shern
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index f071138..541c888 100644
--- a/MAINTAINERS
+++ b/M
On 1/23/2017 9:42 AM, Jingjing Wu wrote:
> When VF sends request to remove MAC address, PF host will check
> if it is a non-zero or unicast address. When VF remove a multicast
> address, it will report error.
> This patch fixes this issue.
>
> Fixes: ec852c94af39 ("net/i40e: enhance sanity check o
There are two scenarios the APP calls this API (there may be others, but
the API was designed with these two in mind):
1) APP receives a packet that needs to be flooded. Instead of making a copy
of the packet (whether it is the whole packet, just the header or a clone
buffer is used, as done today
On 1/23/2017 5:02 AM, Rasesh Mody wrote:
> This patch addresses compilation errors on FreeBSD 11.0 clang 3.8.0.
>
> Fixes: ec94dbc57362 ("qede: add base driver")
>
> Signed-off-by: Rasesh Mody
Applied to dpdk-next-net/master, thanks.
(FreeBSD version information removed from commit)
On 1/23/2017 10:21 AM, Thomas Monjalon wrote:
> 2017-01-22 21:02, Rasesh Mody:
>> This patch addresses compilation errors on FreeBSD 11.0 clang 3.8.0.
>
> Is it really specific to FreeBSD 11? I guess it is more about clang.
>
Right, this seem clang 3.8.0 issue, independent from FreeBSD version.
Hi,
[resent and updated, previous mail was sent from the wrong address]
On Mon, 23 Jan 2017 13:59:47 +0100, Olivier Matz
wrote:
> > + * @param mbufs
> > + * The packets mbufs array to be freed.
> > + * @param n
> > + * Number of packets.
> > + */
> > +static inline void rte_pktmbuf_free_bul
On 1/23/2017 1:06 PM, Ananyev, Konstantin wrote:
>
>
>> -Original Message-
>> From: Yuanhan Liu [mailto:yuanhan@linux.intel.com]
>> Sent: Monday, January 23, 2017 12:53 PM
>> To: Ananyev, Konstantin
>> Cc: Yigit, Ferruh ; dev@dpdk.org; Thomas Monjalon
>> ; Horton, Remy
>>
>> Subjec
> -Original Message-
> From: Yuanhan Liu [mailto:yuanhan@linux.intel.com]
> Sent: Monday, January 23, 2017 12:53 PM
> To: Ananyev, Konstantin
> Cc: Yigit, Ferruh ; dev@dpdk.org; Thomas Monjalon
> ; Horton, Remy
>
> Subject: Re: [dpdk-dev] [PATCH] ethdev: fix wrong memset
>
> On Mo
With the support of hardware segmentation techniques in DPDK, the
networking stack overheads of send-side of applications, which directly
leverage DPDK, have been greatly reduced. But for receive-side, numbers of
segmented packets seriously burden the networking stack of applications.
Generic Recei
I made a vhost ABI/API refactoring at v16.04, meant to avoid such issue
forever. Well, apparently, I lied.
People are looking for more vhost-user options now days, other than
vhost-user net only. For example, SPDK (Storage Performance Development
Kit) are looking for chance of vhost-user SCSI and
Hi,
On Thu, 19 Jan 2017 11:46:58 +0700, Sergey Vyazmitinov
wrote:
> Suggested-by: Stephen Hemminger
> Signed-off-by: Sergey Vyazmitinov
> ---
> v3:
> * Fixed issue with possible different mempools in buffer list.
> * Fixed issue with wrong rte_pktmbuf_alloc_bulk function return value
> processi
On Mon, Jan 23, 2017 at 12:44:11PM +, Ananyev, Konstantin wrote:
> > On Mon, Jan 23, 2017 at 07:40:50PM +0800, Yuanhan Liu wrote:
> > > On Mon, Jan 23, 2017 at 11:32:23AM +, Ferruh Yigit wrote:
> > > > On 1/23/2017 11:24 AM, Yuanhan Liu wrote:
> > > > > On Mon, Jan 23, 2017 at 11:05:25AM +0
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Yuanhan Liu
> Sent: Monday, January 23, 2017 11:56 AM
> To: Yigit, Ferruh
> Cc: dev@dpdk.org; Thomas Monjalon ; Horton, Remy
>
> Subject: Re: [dpdk-dev] [PATCH] ethdev: fix wrong memset
>
> On Mon, Jan 23, 201
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit
> Sent: Monday, January 23, 2017 2:30 PM
> To: Elad Persiko ; dev@dpdk.org; Adrien Mazarguil
>
> Subject: Re: [dpdk-dev] [PATCH v2] doc: add tso capabilities feature for mlx5
>
> On 1/10/2017 9:18 AM,
On Fri, Jan 20, 2017 at 09:18:52AM +, David Hunt wrote:
> Signed-off-by: David Hunt
> ---
> examples/distributor/main.c | 509
> ++--
> 1 file changed, 391 insertions(+), 118 deletions(-)
>
Another minor nit from checkpatch.
/Bruce
### examples/dis
On 1/10/2017 9:18 AM, Elad Persiko wrote:
>
> Thanks,
> The feature is not supported on MLX4. I will fix it on V2
The new version of this patch will be squashed to "net/mlx5: last WQE no
room inline" patchset, right?
>
> -Original Message-
> From: Ferruh Yigit [mailto:ferruh.yi...@intel
On 1/8/2017 3:41 PM, Elad Persiko wrote:
> Prior to this patch, when sending a packet and the following
> conditions were reached:
> 1. last working queue element is used.
> 2. inline was requested by the user
> 3. no room for inline packet.
> then the inline request was ignored a
On Fri, Jan 20, 2017 at 09:18:48AM +, David Hunt wrote:
> Now sends bursts of up to 8 mbufs to each worker, and tracks
> the in-flight flow-ids (atomic scheduling)
>
> New file with a new api, similar to the old API except with _burst
> at the end of the function names. This is to preserve the
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Declan Doherty
> Sent: Monday, January 23, 2017 12:19 PM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo ;
> sta...@dpdk.org; Doherty, Declan
> Subject: [dpdk-dev] [PATCH] cryptodev: crypto PMD functions incorrectly
On 1/23/2017 3:32 AM, Wei Zhao wrote:
> Add more check on the mask of src_addr, dst_addr and next_proto_id
> in n-tuple filter rule pattern parser.If do not add such check,
> it maybe cause error in pattern parser.
>
> Signed-off-by: zhao wei
> ---
> drivers/net/ixgbe/ixgbe_flow.c | 5 -
> 1
rte_cryptodev_pmd_get_dev, rte_cryptodev_pmd_get_named_dev,
rte_cryptodev_pmd_is_valid_dev were incorrectly marked as inline and
therefore not useable from crypto PMDs when built as shared
libraries as they accessed the global rte_cryptodev_globals device
structure.
Fixes: d11b0f30 ("cryptodev: i
When creating the symlinks for header files to the include folder, the
relpath script dereferenced all symlinks. This made it impossible to
have file A.h renamed to B.h and then symlinked back to its original
name. This is useful to be able to do when refactoring or reworking
a library. Change this
This patch adds generic functions for allowing dq storage
for the frame queues.
As the frame queues are common resource for different drivers
this is helpful.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 32 +
drivers/bus/fslmc/porta
On 1/22/2017 8:24 AM, Shahaf Shuler wrote:
> in case of an error argument list is not freed.
>
> Fixes: e72dd09b614e ("net/mlx5: add support for configuration through kvargs")
> CC: sta...@dpdk.org
>
> Signed-off-by: Shahaf Shuler
Applied to dpdk-next-net/master, thanks.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/fslmc_vfio.c | 96 +
drivers/bus/fslmc/fslmc_vfio.h | 1 +
drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c| 2 +
4 files changed, 100 insert
DPAA2 - ARM support both physical and virtual addressing.
This patch enables the compile time usages of physical
address instead of virtual address.
The current usages are also set to default as Physical
Address.
Signed-off-by: Hemant Agrawal
---
config/common_base| 1 +
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 86 ++
2 files changed, 87 insertions(+)
diff --git a/doc/guides/nics/features/dpaa2.ini
b/doc/guides/nics/features/dpaa2.ini
index 0660cab..d43f
As the hardware determines which core will process which packet,
performance is boosted by direct cache warming/stashing as well
as by providing biasing for core-to-flow affinity, which ensures
that flow-specific data structures can remain in the core’s cache.
This patch enables the one cache line
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_rxtx.c | 75 --
1 file changed, 73 insertions(+), 2 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c
index c1ea33a..a94761c 100644
--- a/drivers/net/dpaa2/dp
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 107 +
2 files changed, 108 insertions(+)
diff --git a/doc/guides/nics/features/dpaa2.ini
b/doc/guides/nics/features/dpaa2.ini
index 0746d4b..06
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 4
drivers/net/dpaa2/dpaa2_ethdev.c| 34 +
3 files changed, 39 insertions(+)
diff --git a/doc/guides/nics/features/dpaa2.ini
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 53 +++
drivers/net/dpaa2/Makefile | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c| 4 +
drivers/net/dpaa2/dpaa2_ethdev.h| 3 +
drivers/net/dpaa2/dpaa2_rxtx.c | 260 +++
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 257 +++
drivers/net/dpaa2/dpaa2_ethdev.c | 23 +++
drivers/net/dpaa2/dpaa2_rxtx.c | 91 +-
4 files ch
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 41 ++
2 files changed, 42 insertions(+)
diff --git a/doc/guides/nics/features/dpaa2.ini
b/doc/guides/nics/features/dpaa2.ini
index d50c62e..b7c2
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 2 +
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 6 +++
drivers/net/dpaa2/Makefile | 2 +-
drivers/net/dpaa2/dpaa2_ethdev.c| 72 +++--
4 files changed, 77 insertions(+), 5
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 28
drivers/net/dpaa2/dpaa2_ethdev.h | 3 +++
2 files changed, 31 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 87f7640..979dba4 100644
--- a/
This patch configures a MC-DPNI based DPAA2 PMD network
port with a DPBP based buffer pool.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 10 ++
drivers/net/dpaa2/Makefile | 3 ++
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 57 +++
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/Makefile | 1 +
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 287 +
drivers/net/dpaa2/dpaa2_ethdev.c | 31 +++-
drivers/net/dpaa2/dpaa2_ethdev.h
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 20 ++
drivers/net/dpaa2/Makefile | 3 +
drivers/net/dpaa2/dpaa2_ethdev.c| 412 +++-
drivers/net/dpaa2/dpaa2_ethdev.h
Adding NXP DPAA2 architecture specific mempool support
Each mempool instance is represented by a DPBP object
from the FSL-MC bus.
This patch also registers a dpaa2 type MEMPOOL OPS
Signed-off-by: Hemant Agrawal
---
MAINTAINERS | 1 +
config/common_base
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 45 +
drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 3 ++
drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 +
3 files changed, 49 insertions(+)
diff --git a/drivers/bus/fslmc/portal/dpaa2
Signed-off-by: Hemant Agrawal
---
config/common_base| 7 +++
config/defconfig_arm64-dpaa2-linuxapp-gcc | 5 ++
drivers/bus/fslmc/Makefile| 5 ++
drivers/bus/fslmc/fslmc_logs.h| 76 +++
drivers/common/dpaa2/qbman/Ma
The portal driver is bound to DPIO objects discovered on the fsl-mc bus and
provides services that:
- allow other drivers, such as the Ethernet driver, to enqueue and dequeue
frames for their respective objects
A system will typically allocate 1 DPIO object per CPU to allow queuing
operations to
add support for fsl-mc bus based dpaa2 pmd driver.
Signed-off-by: Hemant Agrawal
---
MAINTAINERS | 1 +
config/common_base | 4 +
config/defconfig_arm64-dpaa2-linuxapp-gcc | 5 +
drivers/bus/Makefile| 2 +
This patch adds the NXP dpaa2 architecture and pmd details
in the Network interfaces section.
Signed-off-by: Hemant Agrawal
Acked-by: John McNamara
---
MAINTAINERS| 1 +
doc/guides/nics/dpaa2.rst | 593 +
doc/guides/nics
This patch will add support in fslmc vfio process to
scan and parse the dpni and dpseci object for net and crypto
devices. It will add the scanned devices to the fslmc bus.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/fslmc_vfio.c | 63 +-
1 file ch
Add support for using VFIO for dpaa2 based fsl-mc bus.
There are some differences in the way vfio used for fsl-mc bus
from the eal vfio.
- The scanning of bus for individual objects on the basis of
the DPRC container.
- The use and mapping of MC portal for object access
With the evolution of
adding extra vfio utility functions to map file.
They will be used by other vfio supported buses like fslmc bus
for NXP DPAA2 devices
Signed-off-by: Hemant Agrawal
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 3 +++
lib/librte_eal/linuxapp/eal/rte_eal_version.map | 3 +++
2 files change
dpseci represent a instance of SEC HW in DPAA2.
Signed-off-by: Cristian Sovaiala
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/Makefile | 1 +
drivers/bus/fslmc/mc/dpseci.c | 534 ++
drivers/bus/fslmc/mc/fsl_dpseci.h | 668 +++
DPBP object represent a hw based buffer pool instance
in the DPAA2 hardware.
Signed-off-by: Alex Marginean
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/Makefile | 1 +
drivers/bus/fslmc/mc/dpbp.c | 237
drivers/bus/fslmc/mc/
This patch adds the DPIO object support in MC driver.
DPIO - Data Path Input Output represent the processing
context to access the QBMAN HW for packet I/O.
Signed-off-by: Alex Marginean
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/Makefile | 1 +
drivers/bus/fslmc/mc/
This patch add support for dpni object support in MC
driver.
DPNI represent a network interface object in DPAA2.
Signed-off-by: Alex Marginean
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/Makefile |1 +
drivers/bus/fslmc/mc/dpni.c | 739
This patch intoduces the DPAA2 MC(Management complex Driver).
This is a minimal set of low level functions to send and
receive commands to the fsl-mc. It includes support for basic
management commands and commands to manipulate MC objects.
This is common to be used by various DPAA2 PMDs. e.g.net,
The fslmc bus driver is a rte_bus driver which scans the fsl-mc bus
for NXP DPAA2 SoCs.
Signed-off-by: Hemant Agrawal
---
MAINTAINERS | 1 +
config/common_base | 5 +
config/defconfig_arm64-dpaa2-linuxapp-gcc | 5 +
drivers/Makefil
1 - 100 of 126 matches
Mail list logo