Implement meter profile add function.
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic.c | 3 +
.../net/softnic/rte_eth_softnic_internals.h | 31 +
drivers/net/softnic/rte_eth_softnic_meter.c | 122 +-
3 files changed, 155 insertions(+), 1
Enable metering and policing support for softnic.
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/Makefile | 1 +
drivers/net/softnic/meson.build | 1 +
drivers/net/softnic/rte_eth_softnic.c | 10 ++
.../net/softnic/rte_eth_softnic_internals.h
This series is prepared on top of following patchset;
https://mails.dpdk.org/archives/dev/2018-September/111379.html
v5 changes
- fix wrong parameter in memcpy for table meter profile update
v4 changes
- introduce the table meter profile check in softnic pipeline table meter
profile add funct
Implement meter profile delete function.
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_meter.c | 35 -
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/drivers/net/softnic/rte_eth_softnic_meter.c
b/drivers/net/softnic/rte_eth_softnic_met
implement meter object create function.
Signed-off-by: Jasvinder Singh
---
.../net/softnic/rte_eth_softnic_internals.h | 15 +++
drivers/net/softnic/rte_eth_softnic_meter.c | 123 +-
2 files changed, 137 insertions(+), 1 deletion(-)
diff --git a/drivers/net/softnic/rte_eth_
Implement meter profile update function
Signed-off-by: Jasvinder Singh
---
.../net/softnic/rte_eth_softnic_internals.h | 14 +++
drivers/net/softnic/rte_eth_softnic_meter.c | 103 +-
.../net/softnic/rte_eth_softnic_pipeline.c| 25 +
drivers/net/softnic/rte_eth_softn
Implement meter object dscp table update.
Signed-off-by: Jasvinder Singh
---
.../net/softnic/rte_eth_softnic_internals.h | 1 +
drivers/net/softnic/rte_eth_softnic_meter.c | 54 ++-
.../net/softnic/rte_eth_softnic_pipeline.c| 1 +
drivers/net/softnic/rte_eth_softnic_thr
Implement meter object policer actions function.
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_meter.c | 91 -
1 file changed, 90 insertions(+), 1 deletion(-)
diff --git a/drivers/net/softnic/rte_eth_softnic_meter.c
b/drivers/net/softnic/rte_eth_sof
Implement meter object destroy function.
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_meter.c | 49 -
1 file changed, 48 insertions(+), 1 deletion(-)
diff --git a/drivers/net/softnic/rte_eth_softnic_meter.c
b/drivers/net/softnic/rte_eth_softnic_met
Implement meter object stats read function.
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_meter.c | 136 +++-
1 file changed, 135 insertions(+), 1 deletion(-)
diff --git a/drivers/net/softnic/rte_eth_softnic_meter.c
b/drivers/net/softnic/rte_eth_softnic
Implement flow rules with meter action.
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_flow.c | 155 -
1 file changed, 154 insertions(+), 1 deletion(-)
diff --git a/drivers/net/softnic/rte_eth_softnic_flow.c
b/drivers/net/softnic/rte_eth_softnic_flow
From: Chaitanya Babu Talluri
Divided main test to smaller logical tests.
Registered with UT framework.
Added cleanup of the resources else ring creation fails
during consecutive test runs.
Freed the allocated mempool, rings and uninitalized the drivers.
Signed-off-by: Chaitanya Babu Talluri
Rev
Hi Alejandro,
25/09/2018 16:10, Alejandro Lucero:
> I've a problem when part of device private data needs to be private per
> process.
It appears we are facing the same issue to support multi-process in tap.
> Current multiprocess support shares device private data between primary and
> secondar
Hi Ferruh,
Will fix it today.
Igor
On Wed, Sep 26, 2018 at 1:41 PM Ferruh Yigit wrote:
> On 9/23/2018 8:12 PM, Igor Ryzhov wrote:
> > Long time ago preallocation of memory for KNI was introduced in commit
> > 0c6bc8e. It was done because of lack of ability to free previously
> > allocated memz
The current vm_power_manager example app has the capability to accept power
policies from virtual machines via virtio-serial channels. These power
policies allow a virtual machine to give information to the power manager
to allow the power manager take care of the power management of the virtual
m
Previously the vm_power_manager app required to have some vms defined, so
the call to get_all_vm() always set the noVms variable. Now we're accepting
policies from the host OS (without any VMs defined), so it is now valid to
have zero VMs. This patch initialises the relevant variables to zero just
Allow vm_power_manager to run without requiring qemu to be present
on the machine. This will be required for instances where the JSON
interface is used for commands and polices, without any VMs present.
A use case for this is a container enviromnent.
Signed-off-by: David Hunt
---
examples/vm_pow
This patch does a couple of things:
* Adds a new message type for removing policies (PKT_POLICY_REMOVE)
Used when we want to remove a previously created policy.
* Adds a core_type bool to the channel packet struct to specify whether
the type of core we want to control is cirtual or phys
The changes here are minimal, as the guest app functionality is not
changing at all, but there is a new element in the channel_packet
struct that needs to have a default set (channel_packet->core_type).
Signed-off-by: David Hunt
Acked-by: Anatoly Burakov
---
examples/vm_power_manager/guest_cli/
Some messages appearing several times a second, removing as they are
unnecessary. Other less severe messages change from INFO to DEBUG
Signed-off-by: David Hunt
---
examples/vm_power_manager/channel_monitor.c | 19 +--
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git
This patch adds a fifo channel to the vm_power_manager app through which
we can send commands and polices. Intended for sending JSON strings.
The fifo is at /tmp/powermonitor/fifo
Signed-off-by: David Hunt
---
examples/vm_power_manager/channel_manager.c | 109 +++
examples/vm_power_m
Now that we're handling host policies, containers and virtual machines,
we'll rename MAX_VMS to MAX_CLIENTS, and increase from 4 to 64
Signed-off-by: David Hunt
---
examples/vm_power_manager/channel_manager.h | 4 ++--
examples/vm_power_manager/channel_monitor.c | 10 +-
2 files changed
Add JSON string handling to vm_power_manager for JSON strings received
through the fifo. The format of the JSON strings are detailed in the
next patch, the vm_power_manager user guide documentation updates.
This patch introduces a new dependency on Jansson, a C library for
encoding, decoding and m
Add meson.build in vm_power_manager and the guest_cli subdirectory.
Building can be achieved by going to the build directory, and using
meson configure -Dexamples=vm_power_manager,vm_power_manager/guest_cli
Then, when ninja is invoked, it will build dpdk-vm_power_manger and
dpdk-guest_cli
Work s
This patch provides some example files in the json_examples sub-directory
for sending to the fifo.
Signed-off-by: David Hunt
---
examples/vm_power_manager/json_examples/README| 6 ++
examples/vm_power_manager/json_examples/create.json | 8
examples/vm_power_manager
Also added meson/ninja build info
Signed-off-by: David Hunt
---
.../sample_app_ug/vm_power_management.rst | 272 +-
1 file changed, 270 insertions(+), 2 deletions(-)
diff --git a/doc/guides/sample_app_ug/vm_power_management.rst
b/doc/guides/sample_app_ug/vm_power_management
Three problems are fixed in this patch:
- RSS capabilities not advertised properly
- RSS configuration just done for some RSS types
- RSS hash match reported for just some RSS types
Fixes: 934e4c60fbff ("nfp: add RSS")
Cc: sta...@dpdk.org
Signed-off-by: Alejandro Lucero
---
drivers/net/nfp/
Yes, I agree.
On Wed, Sep 26, 2018 at 2:21 PM Thomas Monjalon wrote:
> Hi Alejandro,
>
> 25/09/2018 16:10, Alejandro Lucero:
> > I've a problem when part of device private data needs to be private per
> > process.
>
> It appears we are facing the same issue to support multi-process in tap.
>
> >
Hi,
03/09/2018 10:40, Qi Zhang:
> When scanning an already plugged device, the virtual address
> of mapped PCI resource in rte_pci_device will be overridden
> with 0, that may cause driver does not work correctly.
Why is it overridden with 0?
Can we try to fix the root cause?
> The fix is not to
Hi Nikolay,
On 09/24/2018 10:16 PM, Nikolay Nikolaev wrote:
vhost: vhost_user.c code cleanup
This patchesries introduce a set of code redesigns in vhost_user.c.
The goal is to unify and simplify vhost-user message handling. The
patches do not intend to introduce any functional changes.
v6 cha
On 26-Sep-18 2:40 PM, David Hunt wrote:
Allow vm_power_manager to run without requiring qemu to be present
on the machine. This will be required for instances where the JSON
interface is used for commands and polices, without any VMs present.
A use case for this is a container enviromnent.
Signe
On 26-Sep-18 2:40 PM, David Hunt wrote:
Previously the vm_power_manager app required to have some vms defined, so
the call to get_all_vm() always set the noVms variable. Now we're accepting
policies from the host OS (without any VMs defined), so it is now valid to
have zero VMs. This patch initia
On 26-Sep-18 2:40 PM, David Hunt wrote:
This patch does a couple of things:
* Adds a new message type for removing policies (PKT_POLICY_REMOVE)
Used when we want to remove a previously created policy.
* Adds a core_type bool to the channel packet struct to specify whether
the type
On 9/19/2018 8:55 PM, Dan Gora wrote:
> Add a new API function to KNI, rte_kni_update_link() to allow DPDK
> applications to update the link status for KNI network interfaces in
> the linux kernel.
>
> Signed-off-by: Dan Gora
<...>
> +int __rte_experimental
> +rte_kni_update_link(struct rte_kni
On 9/19/2018 8:55 PM, Dan Gora wrote:
> Set the carrier state to 'off' when the interface is instantiated
> or when it is marked 'up' or 'down'. This is necessary to set the
> interface to a known operational state until the carrier state is
> changed with rte_kni_update_link().
>
> Signed-off-by
On 9/19/2018 8:55 PM, Dan Gora wrote:
> Update KNI example to continuously monitor the Ethernet link status of
> the physical link and update the carrier status of the corresponding
> interfaces with rte_kni_update_link().
>
> Signed-off-by: Dan Gora
Also this patch sets kni interfaces "up", ple
On 9/19/2018 8:55 PM, Dan Gora wrote:
> Add logging messages showing the commands necessary for the user to
> have the application display and zero the statistics.
>
> Signed-off-by: Dan Gora
Acked-by: Ferruh Yigit
On 9/19/2018 8:55 PM, Dan Gora wrote:
> The worker threads incrementing the rx/tx_packets race with the signal
> handler from the main thread zeroing the entire statistics structure.
> This can cause the statistics to fail to be zeroed, even when there
> is no traffic on those interfaces.
>
> Impr
Reduced test time for efd_autotest.
Key length is updated, invoke times of random function is reduced.
Signed-off-by: Jananee Parthasarathy
---
test/test/test_efd.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/test/test/test_efd.c b/test/test/test_efd.c
i
On 26-Sep-18 2:40 PM, David Hunt wrote:
This patch adds a fifo channel to the vm_power_manager app through which
we can send commands and polices. Intended for sending JSON strings.
The fifo is at /tmp/powermonitor/fifo
Signed-off-by: David Hunt
---
Acked-by: Anatoly Burakov
--
Thanks,
Anat
On 26-Sep-18 2:40 PM, David Hunt wrote:
Now that we're handling host policies, containers and virtual machines,
we'll rename MAX_VMS to MAX_CLIENTS, and increase from 4 to 64
Signed-off-by: David Hunt
---
Acked-by: Anatoly Burakov
--
Thanks,
Anatoly
On 26-Sep-18 2:40 PM, David Hunt wrote:
Add JSON string handling to vm_power_manager for JSON strings received
through the fifo. The format of the JSON strings are detailed in the
next patch, the vm_power_manager user guide documentation updates.
This patch introduces a new dependency on Jansson
On 26-Sep-18 2:40 PM, David Hunt wrote:
Some messages appearing several times a second, removing as they are
unnecessary. Other less severe messages change from INFO to DEBUG
Signed-off-by: David Hunt
---
Acked-by: Anatoly Burakov
--
Thanks,
Anatoly
> Also added meson/ninja build info
>
> Signed-off-by: David Hunt
> ---
> .../sample_app_ug/vm_power_management.rst | 272
> +-
Acked-by: Marko Kovacevic
On Wed, 26 Sep 2018 15:21:52 +0200
Thomas Monjalon wrote:
> Hi Alejandro,
>
> 25/09/2018 16:10, Alejandro Lucero:
> > I've a problem when part of device private data needs to be private per
> > process.
>
> It appears we are facing the same issue to support multi-process in tap.
>
> > Curren
Fixes: 3e0ceb9f17ff ("doc: add basic howto for flow API")
Cc: sta...@dpdk.org
Signed-off-by: Ilya Maximets
---
doc/guides/howto/rte_flow.rst | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/doc/guides/howto/rte_flow.rst b/doc/guides/howto/rte_flow.rst
index c71152
Hi Bruce/Pablo,
I need to get this into 18.11, appreciate any review/feedback soon.
Thank you,
Honnappa
> -Original Message-
> From: Honnappa Nagarahalli
> Sent: Friday, September 14, 2018 4:19 PM
> To: Honnappa Nagarahalli ;
> bruce.richard...@intel.com; pablo.de.lara.gua...@intel.co
On Wed, Sep 26, 2018 at 11:01 AM, Ferruh Yigit wrote:
> On 9/19/2018 8:55 PM, Dan Gora wrote:
>> The worker threads incrementing the rx/tx_packets race with the signal
>> handler from the main thread zeroing the entire statistics structure.
>> This can cause the statistics to fail to be zeroed, ev
On Wed, Sep 26, 2018 at 10:59 AM, Ferruh Yigit wrote:
> On 9/19/2018 8:55 PM, Dan Gora wrote:
>> Add a new API function to KNI, rte_kni_update_link() to allow DPDK
>> applications to update the link status for KNI network interfaces in
>> the linux kernel.
>>
>> Signed-off-by: Dan Gora
>
> <...>
> Add a short chapter on usage of external memory in DPDK to the
> Programmer's Guide.
>
> Signed-off-by: Anatoly Burakov
> ---
> .../prog_guide/env_abstraction_layer.rst | 37 +++
> 1 file changed, 37 insertions(+)
> +The expected workflow is as follows:
> +
> +* Get a poi
On Wed, Sep 26, 2018 at 3:33 PM Stephen Hemminger <
step...@networkplumber.org> wrote:
> On Wed, 26 Sep 2018 15:21:52 +0200
> Thomas Monjalon wrote:
>
> > Hi Alejandro,
> >
> > 25/09/2018 16:10, Alejandro Lucero:
> > > I've a problem when part of device private data needs to be private per
> > >
On Wed, Sep 26, 2018 at 8:27 AM Maxime Coquelin
wrote:
> This patch opens a userfaultfd and sends it back to Qemu's
> VHOST_USER_POSTCOPY_ADVISE request.
>
> Signed-off-by: Dr. David Alan Gilbert
> Signed-off-by: Maxime Coquelin
> ---
> lib/librte_vhost/vhost.h | 2 ++
> lib/librte_vhost
On Wed, Sep 26, 2018 at 8:28 AM Maxime Coquelin
wrote:
> Signed-off-by: Dr. David Alan Gilbert
> Signed-off-by: Maxime Coquelin
> ---
> lib/librte_vhost/vhost_user.c | 22 ++
> 1 file changed, 22 insertions(+)
>
> diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhos
Colin/Christian,
Can you or someone from canonical ack this patch.
This is one of the last remaining roadblock in making DPDK SPDX complaint.
Regards,
Hemant
On 7/4/2018 12:51 PM, Hemant Agrawal wrote:
Colin/Christian,
Can someone from canonical ack this patch.
Regards,
Hemant
-Origin
Hi Dave,
Feel like this part is not needed in the patch as you have this already in the
documentation,
People can just copy and paste the examples from the docs, so we don't need to
maintain two things.
Thanks,
Marko K.
On 26-Sep-18 4:19 PM, Kovacevic, Marko wrote:
Add a short chapter on usage of external memory in DPDK to the
Programmer's Guide.
Signed-off-by: Anatoly Burakov
---
.../prog_guide/env_abstraction_layer.rst | 37 +++
1 file changed, 37 insertions(+)
+The expected workfl
Good point. There's also a couple of tiny niggles I'd like to resolve in patch
10 of the set, so I'll re-spin in v5.
-Original Message-
From: Kovacevic, Marko
Sent: Wednesday, 26 September, 2018 4:58 PM
To: Hunt, David ; dev@dpdk.org
Cc: Mcnamara, John ; step...@networkplumber.org; Yao,
> > Hi Anatoly,
> >
> > Im getting an error when doing
> >
> > make-doc-guides-html
> >
> > /dpdk/doc/guides/prog_guide/env_abstraction_layer.rst:241: WARNING:
> Unexpected indentation.
> > /dpdk/doc/guides/prog_guide/env_abstraction_layer.rst:242: WARNING:
> Block quote ends without a blank line;
Long time ago preallocation of memory for KNI was introduced in commit
0c6bc8e. It was done because of lack of ability to free previously
allocated memzones, which led to memzone exhaustion. Currently memzones
can be freed and this patch uses this ability for dynamic KNI memory
allocation.
Signed-
Previously the vm_power_manager app required to have some vms defined, so
the call to get_all_vm() always set the noVms variable. Now we're accepting
policies from the host OS (without any VMs defined), so it is now valid to
have zero VMs. This patch initialises the relevant variables to zero just
The changes here are minimal, as the guest app functionality is not
changing at all, but there is a new element in the channel_packet
struct that needs to have a default set (channel_packet->core_type).
Signed-off-by: David Hunt
Acked-by: Anatoly Burakov
---
examples/vm_power_manager/guest_cli/
The current vm_power_manager example app has the capability to accept power
policies from virtual machines via virtio-serial channels. These power
policies allow a virtual machine to give information to the power manager
to allow the power manager take care of the power management of the virtual
m
This patch does a couple of things:
* Adds a new message type for removing policies (PKT_POLICY_REMOVE)
Used when we want to remove a previously created policy.
* Adds a core_type bool to the channel packet struct to specify whether
the type of core we want to control is cirtual or phys
This patch adds a fifo channel to the vm_power_manager app through which
we can send commands and polices. Intended for sending JSON strings.
The fifo is at /tmp/powermonitor/fifo
Signed-off-by: David Hunt
Acked-by: Anatoly Burakov
---
examples/vm_power_manager/channel_manager.c | 109 +
On 9/26/2018 3:55 PM, Dan Gora wrote:
> On Wed, Sep 26, 2018 at 10:59 AM, Ferruh Yigit wrote:
>> On 9/19/2018 8:55 PM, Dan Gora wrote:
>>> Add a new API function to KNI, rte_kni_update_link() to allow DPDK
>>> applications to update the link status for KNI network interfaces in
>>> the linux kerne
Some messages appearing several times a second, removing as they are
unnecessary. Other less severe messages change from INFO to DEBUG
Signed-off-by: David Hunt
Acked-by: Anatoly Burakov
---
examples/vm_power_manager/channel_monitor.c | 19 +--
1 file changed, 5 insertions(+), 1
Add JSON string handling to vm_power_manager for JSON strings received
through the fifo. The format of the JSON strings are detailed in the
next patch, the vm_power_manager user guide documentation updates.
This patch introduces a new dependency on Jansson, a C library for
encoding, decoding and m
Add meson.build in vm_power_manager and the guest_cli subdirectory.
Building can be achieved by going to the build directory, and using
meson configure -Dexamples=vm_power_manager,vm_power_manager/guest_cli
Then, when ninja is invoked, it will build dpdk-vm_power_manger and
dpdk-guest_cli
Work s
Now that we're handling host policies, containers and virtual machines,
we'll rename MAX_VMS to MAX_CLIENTS, and increase from 4 to 64
Signed-off-by: David Hunt
Acked-by: Anatoly Burakov
---
examples/vm_power_manager/channel_manager.h | 4 ++--
examples/vm_power_manager/channel_monitor.c | 10
Allow vm_power_manager to run without requiring qemu to be present
on the machine. This will be required for instances where the JSON
interface is used for commands and polices, without any VMs present.
A use case for this is a container enviromnent.
Signed-off-by: David Hunt
Acked-by: Anatoly Bu
Also added meson/ninja build info
Signed-off-by: David Hunt
Acked-by: Marko Kovacevic
---
.../sample_app_ug/vm_power_management.rst | 272 +-
1 file changed, 270 insertions(+), 2 deletions(-)
diff --git a/doc/guides/sample_app_ug/vm_power_management.rst
b/doc/guides/sample
On 9/14/2018 4:30 PM, Stephen Hemminger wrote:
> This fixes the problem of reference count leak if
> igbuio_pci_enable_interrupts fails.
>
> Also, replace mutex and integer with a kernel atomic counter.
> This is standard pattern for kernel devices.
>
> Fixes: 19685d5aa79c ("igb_uio: allow multi-
-Original Message-
> Date: Mon, 24 Sep 2018 08:45:48 +
> From: "Ananyev, Konstantin"
> To: Jerin Jacob
> CC: "Joseph, Anoob" , "dev@dpdk.org"
> , "Awal, Mohammad Abdul" ,
> "Doherty, Declan" , Narayana Prasad
> , "akhil.go...@nxp.com"
> , "hemant.agra...@nxp.com" ,
> "shreyansh.j
About the series:
This series of patches upgrades the DPAA2 driver firmware to
v10.10.10 (MC Firmware).
As the bus/fslmc is modified, it is a dependent object for other
drivers like net/crypto/qdma. Also, the changes are mostly tightly
linked - thus, the patches include upgrade as well as sequenti
From: Nipun Gupta
The code was incorrectly using the Virtual mode, whent
the IOVA mode was set as Physical.
Fixes: 5ae1edff6895 ("dpaa2: prepare for 32-bit build")
Cc: sta...@dpdk.org
Signed-off-by: Nipun Gupta
---
drivers/net/dpaa2/dpaa2_ethdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 d
From: Hemant Agrawal
Enable the VLAN filters only when requested in rx offload.
Fixes: 0ebce6129bc6 ("net/dpaa2: support new ethdev offload APIs")
Cc: sta...@dpdk.org
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
di
From: Hemant Agrawal
This patch add the support for new Management Complex
Firmware version to 10.1x.x. One of the main changes in
the APIs ordered queue.
The fslmc bus lib ABI will need to be bumped to reflect
the MC FW API and structure changes.
This will also result in bumping of ABI verion
From: Hemant Agrawal
New feature includes ordering support and link related
enhancements
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/mc/dpni.c | 134 +-
drivers/net/dpaa2/mc/fsl_dpkg.h | 71 ++
drivers/net/dpaa2/mc/fsl_dpni.h | 378 -
From: Hemant Agrawal
This also brings in support to configure the queues
for order restoration.
Signed-off-by: Hemant Agrawal
---
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1 +
drivers/crypto/dpaa2_sec/mc/dpseci.c | 128 ++-
drivers/crypto/dpaa2_sec/mc/fsl_dpseci
From: Nipun Gupta
This new mode is available in LX2160 platform. The code
dynamically detect the underlying qbman version and choose
the mode at runtime.
Signed-off-by: Youri Querry
Signed-off-by: Roy Pledge
Signed-off-by: Nipun Gupta
---
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 180 +
From: Nipun Gupta
LX2 can support upto 32 frames in one hw pull request.
Signed-off-by: Nipun Gupta
---
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 17 ++--
drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 4
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 22 ---
From: Nipun Gupta
In case of LX2 we get parse result summary in FD. We do not need to
prefetch and read the annotation to fetch the parse results.
Signed-off-by: Nipun Gupta
DPDK-1404
---
drivers/net/dpaa2/dpaa2_rxtx.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --gi
From: Hemant Agrawal
This patch copies the flc based hw provided hash results
to the mbuf rss field for lx2 platform only.
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_rxtx.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_rx
For now, only the packet count stats per queue is available. This is
part of xstats output (though, per queue stats are actually part of
rte_eth_stats basic stats).
Signed-off-by: Shreyansh Jain
---
drivers/net/dpaa2/dpaa2_ethdev.c | 32
1 file changed, 32 insert
From: Hemant Agrawal
various field of FD structure was getting reset in scattered
fashion. This patch align them in single macro.
Signed-off-by: Hemant Agrawal
---
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 6 ++
drivers/net/dpaa2/dpaa2_rxtx.c | 8 +++-
2 files changed, 9 inser
Firmware would contain pre-configured devices for each DPMAC backing
a DPNI. This patch reads those MAC address when the device is
initialized and sets it. THereafter, it can be changed through API or
commands from testpmd.
Signed-off-by: Shreyansh Jain
---
drivers/net/dpaa2/dpaa2_ethdev.c | 79
From: Hemant Agrawal
This patch adds the support to update the mbuf vlan tci field
from the HW parse results in annotation area.
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 40 ++
drivers/net/dpaa2/dpaa2_rxtx.c | 55 +--
From: Hemant Agrawal
Earlier the tx queue data was getting cleaned up in close
while rest of the functionality was in un-init.
Now a new func is created to free queue memory.
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_ethdev.c | 56 ++--
1 file change
From: Hemant Agrawal
This is required for new mode for LX2 platform specifically
Signed-off-by: Hemant Agrawal
---
drivers/net/dpaa2/dpaa2_rxtx.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c
index bc8b9ff89..eab943dcf
Hi Anatoly,
Can you take a look at this small fix.
Thank you
Paweł
> -Original Message-
> From: Wodkowski, PawelX
> Sent: Friday, September 21, 2018 1:57 PM
> To: dev@dpdk.org
> Cc: Wodkowski, PawelX
> Subject: [PATCH] eal: fix '--huge-unlink' option
>
> The final_va field is set durin
On Wed, Sep 26, 2018 at 1:42 PM, Ferruh Yigit wrote:
>> There is nothing to "reflect" to the kernel interface, nor to apply to
>> the kernel interface. This is exactly how every other kernel driver
>> works on link status changes. There is no "netif_set_speed()'
>> function. When a link status
On Wed, Sep 26, 2018 at 11:00 AM, Ferruh Yigit wrote:
> On 9/19/2018 8:55 PM, Dan Gora wrote:
>> Update KNI example to continuously monitor the Ethernet link status of
>> the physical link and update the carrier status of the corresponding
>> interfaces with rte_kni_update_link().
>>
>> Signed-off
The bucket size was changed from 4 to 8 but the corresponding
perf test was not changed accordingly.
In the test, the bucket size and number of buckets are used
to map to the underneath rte_hash structure. They are used
to test performance of two conditions: keys in primary
buckets only and keys i
the multi-reader and multi-writer rte_hash unit test does not
work correctly with non-consicutive core ids. This commit
fixes the issue.
Fixes: 0eb3726ebcf1 ("test/hash: add test for read/write concurrency")
Cc: sta...@dpdk.org
Signed-off-by: Yipeng Wang
Tested-by: Bruce Richardson
Acked-by: Br
This patch set was part of extendable hash table patch
set V2. According to Bruce's comment, this patch set
is now separated from the original patch set for easier
review and merge.
https://mails.dpdk.org/archives/dev/2018-September/112555.html
This patch set fixes multiple issues/bugs from rte_ha
Edit the printf information when error happens to be more
accurate and informative.
Signed-off-by: Yipeng Wang
Acked-by: Bruce Richardson
---
test/test/test_hash_perf.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/test/test_hash_perf.c b/test/test/test_has
The test_hash_readwrite.c was not in the meson.build file. This
commit adds the missing test into the file.
Fixes: 0eb3726ebcf1 ("test/hash: add test for read/write concurrency")
Cc: sta...@dpdk.org
Signed-off-by: Yipeng Wang
---
test/test/meson.build | 1 +
1 file changed, 1 insertion(+)
diff
Since the depth-first search of cuckoo path is removed, we do not
need the macro anymore which specifies the depth of the cuckoo
search.
Fixes: f2e3001b53ec ("hash: support read/write concurrency")
Cc: sta...@dpdk.org
Signed-off-by: Yipeng Wang
Acked-by: Bruce Richardson
---
lib/librte_hash/rt
Currenlty the encap/decap actions only support encapsulation
of VXLAN and NVGRE L2 packets (L2 encapsulation is where
the inner packet has a valid Ethernet header, while L3 encapsulation
is where the inner packet doesn't have the Ethernet header).
In addtion the parameter to to the encap action is
Currently there are 2 encapsulation commands in testpmd one for VXLAN
and one for NVGRE, both of those commands are using the old rte encap
command.
This commit update the commands to work with the new tunnel encap
actions.
The reason that we have different encapsulation commands, one for VXLAN
a
101 - 200 of 234 matches
Mail list logo