In function cmd_show_bonding_config_parsed() used number represent
the bond type,in order more detailed,add bond type description
otherwise we may confused about the number type.
And also,the primary port just use in mode active backup and tlb,
so,when the mode is active backup or tlb show the prim
In function cmd_show_bonding_config_parsed() used number represent
the bond type,in order more detailed,add bond type description
otherwise we may confused about the number type.
And also,the primary port just use in mode active backup and tlb,
so,when the mode is active backup or tlb show the prim
Signed-off-by: Cristian Dumitrescu
---
lib/librte_ether/rte_flow.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h
index bba6169..5569a87 100644
--- a/lib/librte_ether/rte_flow.h
+++ b/lib/librte_ether/rte_flow.
Signed-off-by: Cristian Dumitrescu
---
Changes in v1 (from RFC [1]):
- Added EXPERIMENTAL tag in rte_mtr.h and MANTAINERS for this new API
(input from Thomas)
- Added more Doxygen comments to re-inforce relationship between MTR and
flow (input from Adrien)
- Added Doxygen hook in doxy-api-inde
This patch set introduces an ethdev-based generic API for Traffic
Metering and Policing (MTR), which is yet another standard RX offload for
Ethernet devices.
Similar to rte_flow and rte_tm APIs, the configuration of MTR objects is
done in their own namespace (rte_mtr) within the librte_ether libra
Following similar approach to rte_flow and rte_tm for modularity reasons.
Signed-off-by: Cristian Dumitrescu
---
Changes in v1 (from RFC [1]):
- Removed ethdev API function to get the MTR ops, as it is not needed
(input from Thomas)
[1] RFC: http://www.dpdk.org/ml/archives/dev/2017-May/066888.
This change updates the timer library documentation to
reflect a change to the organization of the skiplists
in the implementation.
Signed-off-by: Gabriel Carrillo
---
doc/guides/prog_guide/timer_lib.rst | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/doc
This commit adds support for timers being created from
non-EAL threads; it maps timers from all such threads to
lcore id RTE_MAX_LCORE, and puts them all in a corresponding
skiplist.
Signed-off-by: Gabriel Carrillo
---
v2:
* Address checkpatch warnings
lib/librte_timer/rte_timer.c | 48 +++
Instead of each priv_timer struct containing a single skiplist, this
commit adds a skiplist for each enabled lcore to priv_timer. In the case
that multiple lcores repeatedly install timers on the same target lcore,
this change reduces lock contention for the target lcore's skiplists and
increases p
In the current implementation of the DPDK timer library, timers can be
created and set to be handled by a target lcore by adding it to a
skiplist that corresponds to that lcore. However, if an application
enables multiple lcores, and each of these lcores repeatedly attempts
to install timers on th
Some compilers generate warnings for duplicate symbols for the
set of filter lists current defined in ixgbe_ethdev.h.
This commits moves the defintion and declaration to the source
file that actually uses them and provides a function to
initialize the values akin to its flush function.
Signed-off-
Updated vmxnet3_mac_addr_set() to store the newly set MAC address.
Modified vmxnet3_write_mac() so the h/w is updated in an endian
neutral manner.
Signed-off-by: David Harton
---
drivers/net/vmxnet3/vmxnet3_ethdev.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/driver
-Original Message-
From: dev on behalf of Rongqiang XIE
Date: Thursday, August 24, 2017 at 12:12 AM
To: "Mody, Rasesh"
Cc: "dev@dpdk.org" , Rongqiang XIE
Subject: [dpdk-dev] [PATCH] net/qede:fix the bug about pointer params
may NULL
>In function qede_rss_reta_update(),the pointer p
The SSE(x86) Rx/Tx burst functions added in v17.08 would be ported for ARM NEON
in v17.11. Although this is still ongoing effort (more implementation and
further optimization), this intrim patch can be applied on top of v17.08 and
forward packts.
One of topics to discuss is that I used inilne asse
New Rx/Tx burst functions are added using NEON vector instructions for ARM
CPU.
Signed-off-by: Yongseok Koh
---
drivers/net/mlx5/Makefile |2 +
drivers/net/mlx5/mlx5_ethdev.c|4 +-
drivers/net/mlx5/mlx5_prm.h | 15 +
drivers/net/mlx5/mlx5_rxq.c |
The flow_classify sample application exercises the following
librte_flow_classify API's:
rte_flow_classify_create
rte_flow_classify_validate
rte_flow_classify_destroy
rte_flow_classify_query
It sets up the IPv4 ACL field definitions.
It creates table_acl using the librte_table API.
Signed-off-by
Add flow_classify_autotest program.
Set up IPv4 ACL field definitions.
Create table_acl for use by librte_flow_classify API's.
Create an mbuf pool for use by rte_flow_classify_query.
For each of the librte_flow_classify API's:
add bad parameter tests
add bad pattern tests
add bad action tests
add
From: Ferruh Yigit
The following library APIs's are implemented:
rte_flow_classify_create
rte_flow_classify_validate
rte_flow_classify_destroy
rte_flow_classify_query
The following librte_table ACL API's are used:
f_create to create a table ACL.
f_add to add an ACL rule to the table.
f_del to de
Initialise the next_proto_id mask in the default mask for
rte_flow_item_type_ipv4.
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_flow.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h
index bba6169..59c42fa 100644
--- a/li
The rte_table_acl_lookup() function was returning data from acl_memory
instead of acl_rule_memory.
Fixes: 166923eb2f78 ("table: ACL")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
lib/librte_table/rte_table_acl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib
The rte_table_acl_entry_add() function was returning data from
acl_memory instead of acl_rule_memory. It was also returning data
from entry instead of entry_ptr.
The rte_table_acl_entry_delete() function was returning data from
acl_memory instead of acl_rule_memory.
Fixes: 166923eb2f78 ("table: A
DPDK works with packets, but some network administration tools works based on
flow information.
This library is suggested to provide a helper API to convert packet based
information to the flow records.
Basically the library consist of APIs to validate, create and destroy the rule
and to query
Initially, rte_devargs was meant to be populated once and sometimes
accessed, then never emptied.
With the new hotplug functionality having better standing, new usage
appeared with repeated addition of devices and their subsequent removal.
Exposing devargs_list pushed bus drivers and libraries to
The current test will not be compatible anymore with a private
devargs_list.
Moreover, the new functions should have new tests, while the existing
API will be removed.
The current unit tests are thus obsolete and hereby removed.
Signed-off-by: Gaetan Rivet
---
MAINTAINERS | 1 -
This list should not be used by drivers.
Use the public API instead.
Signed-off-by: Gaetan Rivet
---
drivers/bus/pci/rte_pci_common.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/bus/pci/rte_pci_common.c b/drivers/bus/pci/rte_pci_common.c
index 459ae42..c4a213
Introduce new rte_devargs accessor allowing to iterate over all
rte_devargs pertaining to a bus.
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/include/rte_devargs.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/lib/librte_eal/common/include/rte_devargs.h
b/lib/librte_eal/
This list should not be operated upon by drivers.
Use the public API to achieve the same functionalities.
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_vdev.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_vdev.
In preparation to making devargs_list private.
Bus drivers generally need to access rte_devargs pertaining to their
operations. This match is a common operation for bus drivers.
Add a new accessor for the rte_devargs list.
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/bsdapp/eal/rte_eal_versi
The use of rte_devargs is inconsistent in the light of new functionalities
such as device hotplug.
Most of its API is still experimental and needs stabilization.
Older functions were deprecated and need to be rewritten or removed.
The rte_devtype is meant to disappear. A replacement needs to be
dis
See the XL710 controller datasheet for more information on this register
Signed-off-by: Nemanja Marjanovic
Signed-off-by: Rory Sexton
Signed-off-by: David Hunt
---
drivers/net/i40e/i40e_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c
We need to set vf mac from the host, so that they will be in sync on the
guest and the host. Otherwise, we'll have a random mac on the guest, and
a 00:00:00:00:00:00 mac on the host.
Signed-off-by: David Hunt
---
examples/vm_power_manager/main.c | 58 +++-
1 f
Here we're adding an example of setting up a policy, and allowing the
vm_cli_guest app to send it to the host using the cli command
"send_policy now"
Signed-off-by: Nemanja Marjanovic
Signed-off-by: Rory Sexton
Signed-off-by: David Hunt
---
.../guest_cli/vm_power_cli_guest.c |
Signed-off-by: Nemanja Marjanovic
Signed-off-by: Rory Sexton
Signed-off-by: David Hunt
---
examples/vm_power_manager/channel_monitor.c | 302 +++-
examples/vm_power_manager/channel_monitor.h | 18 ++
2 files changed, 312 insertions(+), 8 deletions(-)
diff --git a/examp
We need to initialise the port's we're monitoring to be able to see
the throughput.
Signed-off-by: Nemanja Marjanovic
Signed-off-by: David Hunt
---
examples/vm_power_manager/main.c | 220 +++
1 file changed, 220 insertions(+)
diff --git a/examples/vm_power_m
Signed-off-by: Nemanja Marjanovic
Signed-off-by: Rory Sexton
Signed-off-by: David Hunt
---
examples/vm_power_manager/power_manager.c | 15 +++
examples/vm_power_manager/power_manager.h | 13 +
2 files changed, 28 insertions(+)
diff --git a/examples/vm_power_manager/powe
Signed-off-by: Nemanja Marjanovic
Signed-off-by: Rory Sexton
Signed-off-by: David Hunt
---
drivers/net/i40e/i40e_ethdev.c | 1 +
drivers/net/i40e/i40e_rxtx.c | 10 ++
drivers/net/i40e/i40e_rxtx.h | 1 +
lib/librte_ether/rte_ethdev.h | 19 +++
4 files changed, 31 i
Need a way to convert a vf id to a pf id on the host so as to query the pf
for relevant statistics which are used for the frequency changes in the
vm_power_manager app. Used when profiles are passed down from the guest
to the host, allowing the host to map the vfs to pfs.
Signed-off-by: Nemanja Ma
Signed-off-by: Nemanja Marjanovic
Signed-off-by: Rory Sexton
Signed-off-by: David Hunt
---
lib/librte_power/channel_commands.h | 33 +
1 file changed, 33 insertions(+)
diff --git a/lib/librte_power/channel_commands.h
b/lib/librte_power/channel_commands.h
index
Signed-off-by: Nemanja Marjanovic
Signed-off-by: Rory Sexton
Signed-off-by: David Hunt
---
examples/vm_power_manager/channel_manager.c | 55 +
examples/vm_power_manager/channel_manager.h | 16 -
2 files changed, 70 insertions(+), 1 deletion(-)
diff --git a/e
This patchset adds the facility for a guest VM to send a policy down to
the host that will allow the host to scale up/down cpu frequencies
depending on the policy criteria independently of the DPDK app running in
the guest. This differs from the previous vm_power implementation where
individual sc
> On Aug 25, 2017, at 10:51 AM, David Harton (dharton)
> wrote:
>
>
>
>> -Original Message-
>> From: Wiles, Keith [mailto:keith.wi...@intel.com]
>> Sent: Friday, August 25, 2017 11:41 AM
>> To: David Harton (dharton)
>> Cc: skh...@vmware.com; dev@dpdk.org
>> Subject: Re: [dpdk-dev] [
> -Original Message-
> From: Wiles, Keith [mailto:keith.wi...@intel.com]
> Sent: Friday, August 25, 2017 11:41 AM
> To: David Harton (dharton)
> Cc: skh...@vmware.com; dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] vmxnet3: replenish ring buffers in rx
> processing
>
>
> > On Aug 25, 2
> On Aug 25, 2017, at 10:22 AM, David Harton wrote:
>
> vmxnet3 rx processing should replenish ring buffers after new buffers
> are available to prevent the interface from getting stuck in a state
> that no new work is processed.
>
> Signed-off-by: David Harton
> ---
> drivers/net/vmxnet3/vmxn
vmxnet3 rx processing should replenish ring buffers after new buffers
are available to prevent the interface from getting stuck in a state
that no new work is processed.
Signed-off-by: David Harton
---
drivers/net/vmxnet3/vmxnet3_rxtx.c | 17 +
1 file changed, 17 insertions(+)
d
Signed-off-by: Radu Nicolau
---
examples/ipsec-secgw/esp.c | 26 --
examples/ipsec-secgw/ipsec.c | 61 +++--
examples/ipsec-secgw/ipsec.h | 2 ++
examples/ipsec-secgw/sa.c| 65 +++-
4 files changed,
Signed-off-by: Radu Nicolau
---
config/common_base | 1 +
drivers/net/ixgbe/Makefile | 4 +-
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +
drivers/net/ixgbe/ixgbe_ethdev.h | 10 +-
drivers/net/ixgbe/ixgbe_ipsec.c| 617 ++
Signed-off-by: Radu Nicolau
---
lib/Makefile | 1 +
lib/librte_cryptodev/rte_cryptodev_pmd.h | 4 +--
lib/librte_cryptodev/rte_cryptodev_version.map | 10
lib/librte_cryptodev/rte_security.c| 34 +-
lib/librte_
Signed-off-by: Radu Nicolau
---
lib/librte_ether/rte_ethdev.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 0adf327..b4a02d7 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -1649,6 +1649,7
Signed-off-by: Radu Nicolau
---
lib/librte_mbuf/rte_mbuf.h | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h
index eaed7ee..6a77270 100644
--- a/lib/librte_mbuf/rte_mbuf.h
+++ b/lib/librte_mbuf/rte_mbuf.
This RFC is an update for the existing RFC
IPSec Inline and look aside crypto offload
http://dpdk.org/ml/archives/dev/2017-August/072900.html
It provides a few updates on the general rte_security APIs, adds security ops
struct pointer to the net devices, implements the support on the IXGBE PMD
Some devices may not support or fail setting VLAN offload
configuration based on dynamic circurmstances so the
vlan_offload_set_t vector is modified to return an int so
the caller can determine success or not.
rte_eth_dev_set_vlan_offload is updated to return the
value provided by the vector when
Signed-off-by: Amr Mokhtar
---
lib/librte_bbdev/rte_bbdev.h | 636 +++
lib/librte_bbdev/rte_bbdev_op.h | 333
lib/librte_bbdev/rte_bbdev_pmd.h | 407 +
3 files changed, 1376 insertions(+)
create mode 100644 lib
This RFC describes a proposal for the Wireless Base Band Device (bbdev) in DPDK
that abstracts HW accelerators based on FPGA and/or Fixed Function Accelerators
that assist with LTE Physical Layer processing. Furthermore, it decouples the
application from the compute-intensive wireless functions
Some devices may not support or fail setting VLAN offload
configuration based on dynamic circurmstances so the
vlan_offload_set_t vector is modified to return an int so
the caller can determine success or not.
rte_eth_dev_set_vlan_offload is updated to return the
value provided by the vector when
24/08/2017 09:12, Shahaf Shuler:
> Thursday, August 24, 2017 1:06 AM, Thomas Monjalon:
> > 23/08/2017 15:13, Shahaf Shuler:
> > > Wednesday, August 23, 2017 3:29 PM, Ananyev, Konstantin:
> > > > From: Shahaf Shuler
> > > > > In order to enable PMDs to support only one of the APIs, and
> > > > > app
The current code is sending 8 packet in each internal loop.
In some of the conditions, mbuf is being allocated or freed.
In case of error, the code is returning without taking care of
such buffer. It is better to send already prepared buffer and err
for the current failure only.
Fixes: 9e5f3e6d365
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c | 178 -
2 files changed, 177 insertions(+), 2 deletions(-)
diff --git a/doc/guides/nics/features/dpaa2.ini
b/doc/guides/nics/features/dpaa2.ini
i
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 51498c8..5e1d74c 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/drivers/net/dpaa2/dpaa2_ethde
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index b71c51d..51498c8 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/drivers/ne
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 42
1 file changed, 42 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index dcf783b..4eeddb8 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
DPAA2 HW does not have such restrictions.
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 5e5a71f..dcf783b 100644
--- a/drivers/net/dpaa2/d
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 39 +-
1 file changed, 24 insertions(+), 15 deletions(-)
diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
index 1269dd2..7e5ce64 100644
--- a/dr
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 6 +++---
drivers/net/dpaa2/dpaa2_ethdev.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
index 7e5ce64..e3ab90
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 49dc42b..5e5a71f 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/dr
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/fslmc_vfio.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c
index ab1df36..81f0779 100644
--- a/drivers/bus/fslmc/fslmc_vfio.c
+++ b/drivers/bus/fslmc/fslmc_vfio.c
@@ -464,
Signed-off-by: Hemant Agrawal
---
doc/guides/nics/features/dpaa2.ini | 1 +
drivers/net/dpaa2/dpaa2_ethdev.c| 123 +++
drivers/net/dpaa2/mc/dpni.c | 233
drivers/net/dpaa2/mc/fsl_dpni.h | 49
drivers/net/dpaa2/mc/fs
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/Makefile | 1 +
drivers/bus/fslmc/fslmc_vfio.c | 108 +++-
drivers/bus/fslmc/fslmc_vfio.h | 8 ++-
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 18 +++--
drivers/bus/fslmc/
From: Ashish Jain
Signed-off-by: Ashish Jain
---
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 22 ++
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 1 +
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c
b/drivers/bus/fslmc/p
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c| 7 +++
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 1 +
drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 +
3 files changed, 9 insertions(+)
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
b/drivers/bus/f
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 1 +
drivers/net/dpaa2/dpaa2_ethdev.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 945dcc7..d7950a5 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
From: Ashish Jain
To support new LX2 series
Signed-off-by: Ashish Jain
---
config/defconfig_arm64-dpaa2-linuxapp-gcc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/defconfig_arm64-dpaa2-linuxapp-gcc
b/config/defconfig_arm64-dpaa2-linuxapp-gcc
index 8a42944..91f4993
From: Shreyansh Jain
Signed-off-by: Shreyansh Jain
---
drivers/crypto/dpaa2_sec/mc/dpseci.c | 676 +--
drivers/crypto/dpaa2_sec/mc/fsl_dpseci.h | 782 ---
drivers/crypto/dpaa2_sec/mc/fsl_dpseci_cmd.h | 387 ++---
3 files changed, 8
From: Shreyansh Jain
Signed-off-by: Shreyansh Jain
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/fslmc_vfio.c | 19 +++
drivers/bus/fslmc/mc/dpbp.c | 182 +
drivers/bus/fslmc/mc/dpci.c | 202 ---
drivers/bus/fslmc/mc/dpcon.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/compat.h | 88 ++
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 5 +-
drivers/bus/fslmc/qbman/qbman_portal.c | 26 +--
drivers/bus/fslmc/qbman/qbman_portal.h | 133 ++
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/compat.h | 187 +--
drivers/bus/fslmc/qbman/qbman_private.h | 2 +-
2 files changed, 3 insertions(+), 186 deletions(-)
diff --git a/drivers/bus/fslmc/qbman/include/compat.h
b/drivers/bus/fslmc/qbman
From: Haiying Wang
Signed-off-by: Haiying Wang
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/qbman_sys.h | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/bus/fslmc/qbman/qbman_sys.h
b/drivers/bus/fslmc/qbman/qbman_sys.h
index 9ea55de..47da595 10064
name alignment for check command and result functions
putting them as separate functions instead of changing the original
functions.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 146 ++--
drivers/bus/fslmc/qbman/qbman_portal.c | 731 +
From: Haiying Wang
QMan5.0 supports up to 32 frames in one volatile dequeue
command. For the older Qman versions which only support
up to 16 frames, the highest bit in NUMF will be ignored.
Signed-off-by: Haiying Wang
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/qbman_portal.c |
From: Haiying Wang
Clean it up and update the prototype.
Signed-off-by: Haiying Wang
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 32 ++--
drivers/bus/fslmc/qbman/qbman_portal.c | 200 +++--
drivers/bus/fslmc/rte_bus_fslmc
This func is not required to be used outside of the qbman driver.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/fsl_qbman_base.h | 4
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 2 --
drivers/bus/fslmc/qbman/qbman_portal.c | 7 ---
drivers/bus/
This patchset includes the hw driver upgrades and additional
nic feature implementations.
patches 1..8 - upgrades the qbman hw driver
patches 9..11 - upgrades the MC version to 10.3.1
patches 12..13 - adds the support for LX2160 platform
patches 14..27 - adds various features and cleanups in
From: Haiying Wang
The word_copy is not as efficient as expected, so remove it from
this driver.
Signed-off-by: Haiying Wang
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/qbman/include/compat.h | 42
drivers/bus/fslmc/qbman/qbman_portal.c | 12
-Original Message-
> Date: Mon, 7 Aug 2017 13:54:27 +0300
> From: Shahaf Shuler
> To: dev@dpdk.org
> Subject: [dpdk-dev] [RFC PATCH 0/4] ethdev new offloads API
> X-Mailer: git-send-email 2.12.0
>
> Tx offloads configuration is per queue. Tx offloads are enabled by default,
> and can be
-Original Message-
> Date: Wed, 23 Aug 2017 22:57:08 +
> From: "Carrillo, Erik G"
> To: Jerin Jacob , "dev@dpdk.org"
>
> CC: "tho...@monjalon.net" , "Richardson, Bruce"
> , "Van Haaren, Harry"
> , "hemant.agra...@nxp.com"
> , "Eads, Gage" ,
> "nipun.gu...@nxp.com" , "Vangati, Nar
Scan now searches for devices through sysfs interface and adds them
to a list for later initialization. During probe, each device is
initialized accroding to its property.
Signed-off-by: Shreyansh Jain
---
drivers/bus/fslmc/fslmc_bus.c| 180 +++-
drivers/bus/fslmc/fslmc_vfio.
Shifting from existing device identifier to driver type field.
Signed-off-by: Shreyansh Jain
---
drivers/net/dpaa2/dpaa2_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index 429b3a0..360109e 100644
Initially, DPAA2 objects (except ETH and CRYPTO) were defined from VFIO
layer. This patch moves that into Bus definition.
This patch also realigns the object types with the new device types.
Signed-off-by: Shreyansh Jain
---
drivers/bus/fslmc/fslmc_vfio.c | 11 +-
drivers/bus/f
Currently DPAA2 code doesn't support multiple groups and containers.
Remove such provision in code to simplify code.
Signed-off-by: Shreyansh Jain
---
drivers/bus/fslmc/fslmc_vfio.c | 70 +++---
drivers/bus/fslmc/fslmc_vfio.h | 3 +-
2 files changed, 26 inser
Change Log:
~~~
v2:
- Minor updates for logging (removed some logs and changed others
to make it cleaner when application starts)
Brief:
~~
-- v1 is at [3] --
In [1], during the IOVA Mapping patch set [2] discussion, it was
observed that DPAA2 scan was actually doing work m
Signed-off-by: Shreyansh Jain
---
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
index e0f6cfc..95c3951 100644
--- a/drivers/crypto/dpaa2_sec
Existing devices and drivers depended on device ID rather than type.
A new enumerator for all DPAA2 devices is introduced in this patch.
At this point, the probe would not be able to link DPAA2 devices
with the driver and I/O would not work. Subsequent patches will
fix this.
Signed-off-by: Shreya
Signed-off-by: Jianfeng Tan
---
examples/helloworld/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/helloworld/main.c b/examples/helloworld/main.c
index 8b7a2de..35b70da 100644
--- a/examples/helloworld/main.c
+++ b/examples/helloworld/main.c
@@ -36,6 +36,7 @@
#include
#
Support to run vhost-pmd vdev in the secondary process. We obtain
information, like memory regions, kickfd, callfd, through
primary/secondary communication channel.
And by invoking rte_vhost_set_vring_effective_fd, we can set the
kickfd which can be recognized by the secondary process.
Signed-off
Base on primary/secondary communication channel, we add vdev action
to scan virtual devices in secondary processes.
Signed-off-by: Jianfeng Tan
---
drivers/bus/vdev/vdev.c | 96 +
1 file changed, 96 insertions(+)
diff --git a/drivers/bus/vdev/vdev
To support kick in secondary process, we propose callfd_pri and
kickfd_pri to store the value in primary process; and by a new
API, rte_vhost_set_vring_effective_fd(), we can set effective
callfd and kickfd which can be used by secondary process.
Note in this case, either primary process or the se
Instead of allocate on the stack, change to allocate in memzone
so that we can retrieve them in secondary processes.
TODO: numa awareness.
Signed-off-by: Jianfeng Tan
---
lib/librte_vhost/socket.c | 2 ++
lib/librte_vhost/vhost.c | 34 --
lib/librte_vhost/vhost
When vdev driver requests an ethdev entry in secondary process,
we will identify the correct entry in rte_eth_dev_data array
and return the correct entry in the rte_eth_devices arrays.
Signed-off-by: Jianfeng Tan
---
lib/librte_ether/rte_ethdev_vdev.h | 26 +++---
1 file chan
Move the vdev bus from lib/librte_eal to drivers/bus.
As the crypto vdev helper function refers to data structure
in rte_vdev.h, so we move those helper function into drivers/bus
too.
Signed-off-by: Jianfeng Tan
---
config/common_base| 5 +
drivers/bus/Makefile
Previouly, there is only one way for primary/secondary to exchange
messages, that is, primary process writes info into some predefind
file, and secondary process reads info out. That cannot address
the requirements:
a. Secondary wants to send info to primary.
b. Sending info at any time, instea
Signed-off-by: Jianfeng Tan
---
drivers/bus/vdev/vdev.c | 10 ++
drivers/bus/vdev/vdev_logs.h | 40
2 files changed, 46 insertions(+), 4 deletions(-)
create mode 100644 drivers/bus/vdev/vdev_logs.h
diff --git a/drivers/bus/vdev/vdev.c b/driv
1 - 100 of 139 matches
Mail list logo