Re: [dpdk-dev] [PATCH v2] net/mlx5: fix wrong representor port link status

2018-09-14 Thread Xueming(Steven) Li
> -Original Message- > From: Yongseok Koh > Sent: Saturday, September 15, 2018 12:43 AM > To: Xueming(Steven) Li > Cc: Shahaf Shuler ; dev@dpdk.org; Adrien Mazarguil > > Subject: Re: [PATCH v2] net/mlx5: fix wrong representor port link status > > > > On Sep 13, 2018, at 11:27 PM, Xue

[dpdk-dev] [PATCH v3 4/5] vhost: unify message handling function signature

2018-09-14 Thread Nikolay Nikolaev
Each vhost-user message handling function will return an int result which is described in the new enum vh_result: error, OK and reply. All functions will now have two arguments, virtio_net double pointer and VhostUserMsg pointer. Signed-off-by: Nikolay Nikolaev --- lib/librte_vhost/vhost_user.c

[dpdk-dev] [PATCH v3 3/5] vhost: handle unsupported message types in functions

2018-09-14 Thread Nikolay Nikolaev
Add new functions to handle the unsupported vhost message types: - vhost_user_set_vring_err - vhost_user_set_log_fd Signed-off-by: Nikolay Nikolaev --- lib/librte_vhost/vhost_user.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/lib/librte_vhost/v

[dpdk-dev] [PATCH v3 5/5] vhost: message handling implemented as a callback array

2018-09-14 Thread Nikolay Nikolaev
Introduce vhost_message_handlers, which maps the message request type to the message handler. Then replace the switch construct with a map and call. Failing vhost_user_set_features is fatal and all processing should stop immediately and propagate the error to the upper layers. Change the code acco

[dpdk-dev] [PATCH v3 2/5] vhost: make message handling functions prepare the reply

2018-09-14 Thread Nikolay Nikolaev
As VhostUserMsg structure is reused to generate the reply, move the relevant fields update into the respective message handling functions. Signed-off-by: Nikolay Nikolaev --- lib/librte_vhost/vhost_user.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --g

[dpdk-dev] [PATCH v3 0/5] vhost: vhost_user.c code cleanup

2018-09-14 Thread Nikolay Nikolaev
vhost: vhost_user.c code cleanup This patchesries introduces 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 make any functional changes. v3 changes: - rebased on top of git://dpdk.org/next/dpdk-next-virtio dea

[dpdk-dev] [PATCH v3 1/5] vhost: unify VhostUserMsg usage

2018-09-14 Thread Nikolay Nikolaev
Use the typedef version of struct VhostUserMsg. Also unify the related parameter name. Signed-off-by: Nikolay Nikolaev --- lib/librte_vhost/vhost_user.c | 50 + 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/lib/librte_vhost/vhost_user.c

Re: [dpdk-dev] [PATCH v2] net/mlx5: fix representor port xstats

2018-09-14 Thread Xueming(Steven) Li
> -Original Message- > From: Yongseok Koh > Sent: Saturday, September 15, 2018 12:51 AM > To: Xueming(Steven) Li > Cc: Shahaf Shuler ; dev@dpdk.org > Subject: Re: [PATCH v2] net/mlx5: fix representor port xstats > > > > On Sep 13, 2018, at 11:33 PM, Xueming Li wrote: > > > > This patc

[dpdk-dev] [PATCH] bonding: add QinQ packet xmit hash support

2018-09-14 Thread Lilijun
For QinQ packet with ether type 0x88a8, dpdk bond's xmit hash policy is not worked to get the ip or port field. Signed-off-by: Lilijun --- drivers/net/bonding/rte_eth_bond_pmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/driver

[dpdk-dev] [PATCH] [PATCH] bonding: add QinQ packet xmit hash support

2018-09-14 Thread Lilijun
For QinQ packet with ether type 0x88a8, dpdk bond's xmit hash policy is not worked to get the ip or port field. Change-Id: Icb6843aff0a0d176b90ebe19a5c7125412fea5ce Signed-off-by: Lilijun --- drivers/net/bonding/rte_eth_bond_pmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

[dpdk-dev] [PATCH] [PATCH] bonding: add QinQ packet xmit hash support

2018-09-14 Thread Lilijun
For QinQ packet with ether type 0x88a8, dpdk bond's xmit hash policy is not worked to get the ip or port field. Change-Id: Icb6843aff0a0d176b90ebe19a5c7125412fea5ce Signed-off-by: Lilijun --- drivers/net/bonding/rte_eth_bond_pmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

Re: [dpdk-dev] [PATCH 0/4] Address reader-writer concurrency in rte_hash

2018-09-14 Thread Honnappa Nagarahalli
I have added the memory ordering ladder diagrams to the DPDK summit slides to help understand the changes. The slides are available at: https://dpdkuserspace2018.sched.com/event/G44w/lock-free-read-write-concurrency-in-rtehash. Please look at the backup slides. Thank you, Honnappa -Origina

[dpdk-dev] [PATCH v3 08/10] net/softnic: update policer actions

2018-09-14 Thread Jasvinder Singh
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

[dpdk-dev] [PATCH v3 10/10] net/softnic: enable flow rule with meter action

2018-09-14 Thread Jasvinder Singh
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_soft

[dpdk-dev] [PATCH v3 07/10] net/softnic: update dscp table

2018-09-14 Thread Jasvinder Singh
Implement meter object dscp table update. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_internals.h | 1 + drivers/net/softnic/rte_eth_softnic_meter.c | 54 - drivers/net/softnic/rte_eth_softnic_pipeline.c | 1 + drivers/net/softnic/rte_eth

[dpdk-dev] [PATCH v3 05/10] net/softnic: destroy meter object

2018-09-14 Thread Jasvinder Singh
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_sof

[dpdk-dev] [PATCH v3 09/10] net/softnic: meter stats read

2018-09-14 Thread Jasvinder Singh
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

[dpdk-dev] [PATCH v3 06/10] net/softnic: update meter profile

2018-09-14 Thread Jasvinder Singh
Implement meter profile update function Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_internals.h | 14 drivers/net/softnic/rte_eth_softnic_meter.c | 103 +++- drivers/net/softnic/rte_eth_softnic_pipeline.c | 25 ++ drivers/net/softnic

[dpdk-dev] [PATCH v3 03/10] net/softnic: delete meter profile

2018-09-14 Thread Jasvinder Singh
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_sof

[dpdk-dev] [PATCH v3 01/10] net/softnic: add metering and policing support

2018-09-14 Thread Jasvinder Singh
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 drivers/net/softnic/rte_eth_softnic_

[dpdk-dev] [PATCH v3 04/10] net/softnic: create meter object

2018-09-14 Thread Jasvinder Singh
implement meter object create function. Signed-off-by: Jasvinder Singh --- drivers/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/softni

[dpdk-dev] [PATCH v3 02/10] net/softnic: add meter profile

2018-09-14 Thread Jasvinder Singh
Implement meter profile add function. Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic.c | 3 + drivers/net/softnic/rte_eth_softnic_internals.h | 31 ++ drivers/net/softnic/rte_eth_softnic_meter.c | 122 +++- 3 files changed, 155 ins

[dpdk-dev] [PATCH v3 00/10] net/softnic: implement metering and policing API

2018-09-14 Thread Jasvinder Singh
This series is prepared on top of following patchset; https://mails.dpdk.org/archives/dev/2018-September/111379.html v3 changes: - update pipeline table with meter profiles - update pipeline table with dscp table entry update v2 changes: - fix copyright year for rte_eth_softnic_meter.c - Place al

Re: [dpdk-dev] [PATCH] vhost: add missing cflags in meson build

2018-09-14 Thread Ferruh Yigit
On 9/14/2018 3:51 PM, Tiwei Bie wrote: > Fixes: 6ee380ffb5e7 ("vhost: fix vhost interrupt support") > > Signed-off-by: Tiwei Bie Squashed into relevant commit in next-net, thanks.

Re: [dpdk-dev] [PATCH v2] net/mlx5: fix representor port xstats

2018-09-14 Thread Yongseok Koh
> On Sep 13, 2018, at 11:33 PM, Xueming Li wrote: > > This patch fixes the issue that representor port shows xstats of PF. > > Fixes: 5a4b8e2612c5 ("net/mlx5: probe all port representors") Wrong commit SHA. > Signed-off-by: Xueming Li > --- > drivers/net/mlx5/mlx5_stats.c | 13 +

Re: [dpdk-dev] [PATCH v2] net/mlx5: fix wrong representor port link status

2018-09-14 Thread Yongseok Koh
> On Sep 13, 2018, at 11:27 PM, Xueming Li wrote: > > Current code uses PF links status for representor port, not the representor > interface itself. This caused wrong representor port link status when > toggling linterface up or down. > > Fixes: 5a4b8e2612c5 ("net/mlx5: probe all port represe

Re: [dpdk-dev] [PATCH v3 6/8] net/mvneta: add MAC filtering

2018-09-14 Thread Ferruh Yigit
On 8/31/2018 1:59 PM, Andrzej Ostruszka wrote: > From: Zyta Szpak > > Add callbacks for adding/removing MAC addresses. > > Signed-off-by: Yelena Krivosheev > Signed-off-by: Natalie Samsonov > Signed-off-by: Zyta Szpak <...> > @@ -1614,6 +1681,8 @@ static const struct eth_dev_ops mvneta_ops

Re: [dpdk-dev] [PATCH v3 2/8] net/mvneta: add Rx/Tx support

2018-09-14 Thread Ferruh Yigit
On 8/31/2018 1:59 PM, Andrzej Ostruszka wrote: > From: Zyta Szpak > > Add part of PMD for actual reception/transmission. > > Signed-off-by: Yelena Krivosheev > Signed-off-by: Dmitri Epshtein > Signed-off-by: Zyta Szpak > --- > drivers/net/mvneta/mvneta_ethdev.c | 791 > +

Re: [dpdk-dev] [PATCH v3 1/8] net/mvneta: add neta PMD skeleton

2018-09-14 Thread Ferruh Yigit
On 8/31/2018 1:59 PM, Andrzej Ostruszka wrote: > From: Zyta Szpak > > Add neta pmd driver skeleton providing base for the further > development. > > Signed-off-by: Natalie Samsonov > Signed-off-by: Yelena Krivosheev > Signed-off-by: Dmitri Epshtein > Signed-off-by: Zyta Szpak > Signed-off-by

Re: [dpdk-dev] [PATCH v2] devtools/test-meson-build: use shared libraries to save space

2018-09-14 Thread Luca Boccassi
On Fri, 2018-09-14 at 17:17 +0100, Bruce Richardson wrote: > For usability, the default build type in meson is static, so that > binaries can be run from the build directory easily. However, static > builds take more space, so for build-testing purposes default to > using > shared builds where poss

Re: [dpdk-dev] [PATCH v3 0/8] Add Marvell NETA PMD

2018-09-14 Thread Ferruh Yigit
On 8/31/2018 1:59 PM, Andrzej Ostruszka wrote: > This patch series introduces new PMD for Marvell NETA adapters (MVNETA). > See the documentation for more info. > > It is split for easier reviewing. > > v3: > No changes against v2, just resubmitting again to have clean patch > set after m

[dpdk-dev] [PATCH v2] devtools/test-meson-build: use shared libraries to save space

2018-09-14 Thread Bruce Richardson
For usability, the default build type in meson is static, so that binaries can be run from the build directory easily. However, static builds take more space, so for build-testing purposes default to using shared builds where possible. Signed-off-by: Bruce Richardson --- With this patch applied o

[dpdk-dev] [PATCH] devtools/test-meson-build: use shared libraries to save space

2018-09-14 Thread Bruce Richardson
For usability, the default build type in meson is static, so that binaries can be run from the build directly easily. However, static builds take more space, so for build-testing purposes default to using shared builds where possible. Signed-off-by: Bruce Richardson --- With this patch applied on

[dpdk-dev] [PATCH] igb_uio: fix refcount if open returns error

2018-09-14 Thread Stephen Hemminger
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-process access") Signed-off-by: Stephen Hemminger --- kerne

Re: [dpdk-dev] [PATCH 5/5] net/netvsc: integrated VF support

2018-09-14 Thread Stephen Hemminger
On Fri, 14 Sep 2018 13:57:58 +0100 Ferruh Yigit wrote: > On 8/30/2018 11:35 PM, Stephen Hemminger wrote: > > From: Stephen Hemminger > > > > Integrate accelerated networking support into netvsc PMD. > > This allows netvsc to manage VF without using failsafe or vdev_netvsc. > > For the exception

Re: [dpdk-dev] [PATCH 1/5] bus/vmbus: add devargs support

2018-09-14 Thread Stephen Hemminger
On Fri, 14 Sep 2018 15:58:04 +0200 Gaëtan Rivet wrote: > On Fri, Sep 14, 2018 at 02:19:19PM +0100, Ferruh Yigit wrote: > > On 9/14/2018 2:06 PM, Gaëtan Rivet wrote: > > > Hi, > > > > > > On Fri, Sep 14, 2018 at 01:46:59PM +0100, Ferruh Yigit wrote: > > >> On 8/30/2018 11:35 PM, Stephen Hemmi

Re: [dpdk-dev] [dpdk-stable] [PATCH] devtools: don't use bash extension in checkpatches

2018-09-14 Thread Ilya Maximets
Hi Thomas. Beside your questions, There is another patch that targeted to fix this issue: http://patches.dpdk.org/patch/44020/ And one similar to mine that I missed while sending: http://patches.dpdk.org/patch/43692/ So, I'm not sure which one should be accepted and if I need to u

Re: [dpdk-dev] [PATCH] doc: add cross compile part for sample applications

2018-09-14 Thread Thomas Monjalon
14/08/2018 18:18, Gavin Hu: > +For cross compiling the sample application(s), please append > 'CC=$(CROSS_COMPILER)' to the 'make' command. As you can see in doc/build-sdk-quick.txt, you should use CROSS= for cross compilation. > +For example: > +export CROSS_COMPILER=aarch64-linux-gnu-g

[dpdk-dev] [PATCH] vhost: add missing cflags in meson build

2018-09-14 Thread Tiwei Bie
Fixes: 6ee380ffb5e7 ("vhost: fix vhost interrupt support") Signed-off-by: Tiwei Bie --- Hi Ferruh, The hash in above fixes line isn't really right, because that patch hasn't been committed to the main repo yet. Please squash this patch to that one if possible. Thanks! lib/librte_vhost/meson.b

Re: [dpdk-dev] [dpdk-stable] [PATCH] vhost: fix vhost interrupt support

2018-09-14 Thread Tiwei Bie
On Fri, Sep 14, 2018 at 01:10:07PM +0100, Ferruh Yigit wrote: > On 9/10/2018 8:36 AM, Tiwei Bie wrote: > > Hi Maxime, > > > > On Mon, Sep 10, 2018 at 09:22:00AM +0200, Maxime Coquelin wrote: > >> Hi Tiwei, > >> > >> On 09/05/2018 01:55 AM, Tiwei Bie wrote: > >>> When VIRTIO_RING_F_EVENT_IDX is neg

Re: [dpdk-dev] [dpdk-stable] [PATCH] devtools: don't use bash extension in checkpatches

2018-09-14 Thread Thomas Monjalon
16/08/2018 07:25, Arnon Warshavsky: > Hi Ilya > > Let's use single quotes instead of variable. > > > Using the script directly with single quotes loses the ability to reuse it > with an additional set of folders , expressions and RET_ON_FAIL. I don't know awk. Please could you explain what we a

Re: [dpdk-dev] [PATCH] test: fix kni test to check kni module dependency

2018-09-14 Thread Ferruh Yigit
On 9/14/2018 2:57 PM, Naga Suresh Somarowthu wrote: > Check the prerequisites to run the test > 1.checked whether the rte_kni module is loaded, if not fail testcase > 2.checked whether the rte_kni module is loaded with loop back mode, > if not skip packet forwarding testcase and log > 3.Disabled

Re: [dpdk-dev] [PATCH] app/testpmd: show errno along with flow API errors

2018-09-14 Thread Ferruh Yigit
On 9/14/2018 3:27 PM, Ferruh Yigit wrote: > On 8/31/2018 10:10 AM, Adrien Mazarguil wrote: >> Signed-off-by: Adrien Mazarguil > > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/master, thanks.

Re: [dpdk-dev] [PATCH] app/testpmd: show errno along with flow API errors

2018-09-14 Thread Ferruh Yigit
On 8/31/2018 10:10 AM, Adrien Mazarguil wrote: > Signed-off-by: Adrien Mazarguil Reviewed-by: Ferruh Yigit

Re: [dpdk-dev] [PATCH v3 6/8] examples/power: add meson/ninja build support

2018-09-14 Thread Bruce Richardson
On Fri, Sep 14, 2018 at 02:54:04PM +0100, David Hunt wrote: > 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 i

Re: [dpdk-dev] [PATCH 1/5] bus/vmbus: add devargs support

2018-09-14 Thread Gaëtan Rivet
On Fri, Sep 14, 2018 at 02:19:19PM +0100, Ferruh Yigit wrote: > On 9/14/2018 2:06 PM, Gaëtan Rivet wrote: > > Hi, > > > > On Fri, Sep 14, 2018 at 01:46:59PM +0100, Ferruh Yigit wrote: > >> On 8/30/2018 11:35 PM, Stephen Hemminger wrote: > >>> From: Stephen Hemminger > >>> > >>> Take device argume

[dpdk-dev] [PATCH] test: fix kni test to check kni module dependency

2018-09-14 Thread Naga Suresh Somarowthu
Check the prerequisites to run the test 1.checked whether the rte_kni module is loaded, if not fail testcase 2.checked whether the rte_kni module is loaded with loop back mode, if not skip packet forwarding testcase and log 3.Disabled the test in freebsd as test is not supported Fixes: 5233e5924

[dpdk-dev] [PATCH v3 8/8] examples/power: add json example files

2018-09-14 Thread David Hunt
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

[dpdk-dev] [PATCH v3 7/8] doc/vm_power_manager: add JSON interface API info

2018-09-14 Thread David Hunt
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

[dpdk-dev] [PATCH v3 6/8] examples/power: add meson/ninja build support

2018-09-14 Thread David Hunt
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

[dpdk-dev] [PATCH v3 3/8] examples/power: add necessary changes to guest app

2018-09-14 Thread David Hunt
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 --- examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 1 +

[dpdk-dev] [PATCH v3 5/8] examples/power: add json string handling

2018-09-14 Thread David Hunt
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

[dpdk-dev] [PATCH v3 4/8] examples/power: add host channel to power manager

2018-09-14 Thread David Hunt
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.0 Signed-off-by: David Hunt --- examples/vm_power_manager/channel_manager.c | 108 +++ examples/vm_power

[dpdk-dev] [PATCH v3 0/8] add json power policy interface for containers

2018-09-14 Thread David Hunt
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

[dpdk-dev] [PATCH v3 2/8] lib/power: add changes for host commands/policies

2018-09-14 Thread David Hunt
Signed-off-by: David Hunt --- lib/librte_power/channel_commands.h | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_power/channel_commands.h b/lib/librte_power/channel_commands.h index ee638eefa..e7b93a797 100644 --- a/lib/librte_power/channel_commands.h +++ b/lib/librte_power/

[dpdk-dev] [PATCH v3 1/8] examples/power: add checks around hypervisor

2018-09-14 Thread David Hunt
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

Re: [dpdk-dev] [PATCH 0/5] netvsc changes for 18.11

2018-09-14 Thread Ferruh Yigit
On 8/30/2018 11:35 PM, Stephen Hemminger wrote: > These patches are against dpdk-net-next/master because > that is where previous patches have already been merged. > > Stephen Hemminger (5): > bus/vmbus: add devargs support > net/netvsc: allow tuning latency with devargs > net/netvsc: exhaus

Re: [dpdk-dev] [PATCH 1/5] bus/vmbus: add devargs support

2018-09-14 Thread Ferruh Yigit
On 9/14/2018 2:06 PM, Gaëtan Rivet wrote: > Hi, > > On Fri, Sep 14, 2018 at 01:46:59PM +0100, Ferruh Yigit wrote: >> On 8/30/2018 11:35 PM, Stephen Hemminger wrote: >>> From: Stephen Hemminger >>> >>> Take device arguments from command line and put >>> them in the device devargs. >>> >>> Signed-o

Re: [dpdk-dev] [PATCH 1/5] bus/vmbus: add devargs support

2018-09-14 Thread Gaëtan Rivet
Hi, On Fri, Sep 14, 2018 at 01:46:59PM +0100, Ferruh Yigit wrote: > On 8/30/2018 11:35 PM, Stephen Hemminger wrote: > > From: Stephen Hemminger > > > > Take device arguments from command line and put > > them in the device devargs. > > > > Signed-off-by: Stephen Hemminger > > <...> > > > @@

Re: [dpdk-dev] [PATCH 5/5] net/netvsc: integrated VF support

2018-09-14 Thread Ferruh Yigit
On 8/30/2018 11:35 PM, Stephen Hemminger wrote: > From: Stephen Hemminger > > Integrate accelerated networking support into netvsc PMD. > This allows netvsc to manage VF without using failsafe or vdev_netvsc. > For the exception vswitch path some tests like transmit > get a 22% increase in packet

Re: [dpdk-dev] [PATCH 2/5] net/netvsc: allow tuning latency with devargs

2018-09-14 Thread Ferruh Yigit
On 8/30/2018 11:35 PM, Stephen Hemminger wrote: > From: Stephen Hemminger > > Allow overriding default guest to host latency on per device basis > with devargs. > > Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit

Re: [dpdk-dev] [PATCH 1/5] bus/vmbus: add devargs support

2018-09-14 Thread Ferruh Yigit
On 8/30/2018 11:35 PM, Stephen Hemminger wrote: > From: Stephen Hemminger > > Take device arguments from command line and put > them in the device devargs. > > Signed-off-by: Stephen Hemminger <...> > @@ -204,6 +203,27 @@ vmbus_parse(const char *name, void *addr) > return ret; > } >

Re: [dpdk-dev] [PATCH v2 03/33] crypto/octeontx: add PCI probe and remove

2018-09-14 Thread Akhil Goyal
On 9/4/2018 9:28 AM, Anoob Joseph wrote: From: Ankur Dwivedi Adding basic PCI probe/remove functions for OcteonTX crypto device. Initialization function for logging is also added. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Da

Re: [dpdk-dev] [PATCH v2 02/33] common/cpt: add common logging support

2018-09-14 Thread Akhil Goyal
On 9/4/2018 9:28 AM, Anoob Joseph wrote: From: Ankur Dwivedi Add common logging macros Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian S Signed-of

Re: [dpdk-dev] [PATCH v2 01/33] config: add Cavium OcteonTX crypto PMD skeleton

2018-09-14 Thread Akhil Goyal
Hi Anoob, On 9/4/2018 9:28 AM, Anoob Joseph wrote: From: Ankur Dwivedi This adds Makefile, meson.build and config file options. Also adds the version map files and maintainers file to claim responsibility. Signed-off-by: Ankur Dwivedi Signed-off-by: Anoob Joseph Signed-off-by: Murthy NSSR

Re: [dpdk-dev] [dpdk-stable] [PATCH] vhost: fix vhost interrupt support

2018-09-14 Thread Ferruh Yigit
On 9/10/2018 8:36 AM, Tiwei Bie wrote: > Hi Maxime, > > On Mon, Sep 10, 2018 at 09:22:00AM +0200, Maxime Coquelin wrote: >> Hi Tiwei, >> >> On 09/05/2018 01:55 AM, Tiwei Bie wrote: >>> When VIRTIO_RING_F_EVENT_IDX is negotiated, we need to >>> update the avail event to enable the notification. >>>

[dpdk-dev] [PATCH 2/3] crypto/dpaa2_sec: support for atomic queues

2018-09-14 Thread akhil . goyal
From: Ashish Jain Signed-off-by: Ashish Jain --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 57 +++-- 1 file changed, 52 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index ae38f507b..781

[dpdk-dev] [PATCH 1/3] crypto/dpaa2_sec: support for event crypto adapter

2018-09-14 Thread akhil . goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Ashish Jain --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 90 ++- drivers/crypto/dpaa2_sec/dpaa2_sec_event.h| 18 drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 2 + .../dpaa2_sec/rte_pmd_dpaa2_sec_ver

[dpdk-dev] [PATCH 3/3] event/dpaa2: support for crypto adapter

2018-09-14 Thread akhil . goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Ashish Jain Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/Makefile | 3 +- drivers/event/dpaa2/dpaa2_eventdev.c | 150 +++ drivers/event/dpaa2/dpaa2_eventdev.h | 9 ++ drivers/event/dpaa2/m

[dpdk-dev] [PATCH 0/3] dpaa2: support for crypto adapter

2018-09-14 Thread akhil . goyal
From: Akhil Goyal This patchset add support for event crypto adapter on dpaa2_sec support for parallel and atomic queues are added. The patches are rebased over http://patches.dpdk.org/user/todo/dpdk/?series=1101 Akhil Goyal (2): crypto/dpaa2_sec: support for event crypto adapter event/d

Re: [dpdk-dev] [PATCH v2] ethdev: make default behavior CRC strip on Rx

2018-09-14 Thread Ferruh Yigit
On 9/4/2018 11:02 AM, Shahaf Shuler wrote: > Tuesday, September 4, 2018 1:13 PM, Ferruh Yigit: >> Subject: [PATCH v2] ethdev: make default behavior CRC strip on Rx >> >> Removed DEV_RX_OFFLOAD_CRC_STRIP offload flag. >> Without any specific Rx offload flag, default behavior by PMDs is to >> strip C

[dpdk-dev] [PATCH v2 2/2] drivers/net: use sleep delay by default for intel NICs

2018-09-14 Thread Ilya Maximets
NICs uses different delays up to a second during their configuration. It makes no sense to busy-wait so long wasting CPU cycles and preventing any other threads to execute on the same CPU core. These busy polling are the rudiments that came from the kernel drivers where you can not sleep in interru

[dpdk-dev] [PATCH v2 1/2] eal: add nanosleep based delay function

2018-09-14 Thread Ilya Maximets
Add a new rte_delay_us_sleep() function that uses nanosleep(). This function can be used by applications to not implement their own nanosleep() based callback and by internal DPDK code if CPU non-blocking delay needed. Signed-off-by: Ilya Maximets --- lib/librte_eal/common/eal_common_timer.c

[dpdk-dev] [PATCH v2 0/2] CPU non-blocking delay

2018-09-14 Thread Ilya Maximets
For meson build without deprecation warnings following patch should be applied first: http://patches.dpdk.org/patch/44129/ Version 2: * Added comment for EINTR handling for nanosleep. [Stephen Hemminger] Ilya Maximets (2): eal: add nanosleep based delay function drivers/net: use s

Re: [dpdk-dev] [PATCH 00/13] driver/net: NXP DPAA driver enhancements

2018-09-14 Thread Ferruh Yigit
On 8/29/2018 11:47 AM, Hemant Agrawal wrote: > > Hemant Agrawal (9): > net/dpaa: configure frame queue on MAC ID basis > net/dpaa: fix jumbo buffer config > net/dpaa: implement scatter offload support > net/dpaa: minor debug log enhancements > bus/dpaa: add interrupt based portal fd supp

Re: [dpdk-dev] [PATCH v2 00/33] Adding Cavium's OcteonTX crypto PMD

2018-09-14 Thread Akhil Goyal
Hi Anoob, I would review it early next week. Thanks, Akhil On 9/14/2018 2:46 PM, Joseph, Anoob wrote: Hi Akhil, Pablo, Did you get a chance to look at the patches? Anoob On 04-09-2018 09:28, Anoob Joseph wrote: Ankur Dwivedi (5):    config: add Cavium OcteonTX crypto PMD skeleton    commo

[dpdk-dev] [PATCH 3/3] app/test-crypto-perf: fix check for cipher IV

2018-09-14 Thread Anoob Joseph
IV is not required for all ciphers. Making sure the null check is done only when 'cipher_iv_sz' is non-zero. Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Akash Saxena Signed-off-by: Anoob Joseph --- app/test-crypto-perf/main.c | 4 +++- 1 file

[dpdk-dev] [PATCH 1/3] app/test-crypto-perf: add checks for AEAD key

2018-09-14 Thread Anoob Joseph
Adding validation checks for AEAD key. Signed-off-by: Akash Saxena Signed-off-by: Anoob Joseph --- app/test-crypto-perf/main.c | 4 1 file changed, 4 insertions(+) diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c index 5c7dadb..c9f99a7 100644 --- a/app/test-crypto-pe

[dpdk-dev] [PATCH 0/3] fix test vector checks

2018-09-14 Thread Anoob Joseph
Multiple fixes to the test vector checks. Anoob Joseph (3): app/test-crypto-perf: add checks for AEAD key app/test-crypto-perf: fix check for auth key app/test-crypto-perf: fix check for cipher IV app/test-crypto-perf/main.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(

[dpdk-dev] [PATCH 2/3] app/test-crypto-perf: fix check for auth key

2018-09-14 Thread Anoob Joseph
Authentication key is not required for all algorithms. Making sure the null check is done only when 'auth_key_sz' is non-zero. Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Signed-off-by: Anoob Joseph Signed-off-by: Ayuj Verma --- app/test-crypto-perf/main.c |

Re: [dpdk-dev] [PATCH v2 00/33] Adding Cavium's OcteonTX crypto PMD

2018-09-14 Thread Joseph, Anoob
Hi Akhil, Pablo, Did you get a chance to look at the patches? Anoob On 04-09-2018 09:28, Anoob Joseph wrote: Ankur Dwivedi (5): config: add Cavium OcteonTX crypto PMD skeleton common/cpt: add common logging support crypto/octeontx: add PCI probe and remove crypto/octeontx: add regi

Re: [dpdk-dev] [PATCH v3 9/9] mem: support using memfd segments for in-memory mode

2018-09-14 Thread Maxime Coquelin
On 09/04/2018 05:15 PM, Anatoly Burakov wrote: Enable using memfd-created segments if supported by the system. This will allow having real fd's for pages but without hugetlbfs mounts, which will enable in-memory mode to be used with virtio. The implementation is mostly piggy-backing on exist

Re: [dpdk-dev] [PATCH v3 7/9] mem: add external API to retrieve page fd from EAL

2018-09-14 Thread Maxime Coquelin
On 09/04/2018 05:15 PM, Anatoly Burakov wrote: Now that we can retrieve page fd's internally, we can expose it as an external API. This will add two flavors of API - thread-safe and non-thread-safe. Fix up internal API's to return values we need without modifying rte_errno internally if called

Re: [dpdk-dev] [PATCH v3 8/9] mem: allow querying offset into segment fd

2018-09-14 Thread Maxime Coquelin
On 09/04/2018 05:15 PM, Anatoly Burakov wrote: In a few cases, user may need to query offset into fd for a particular memory segment (for example, to selectively map pages). This commit adds a new API to do that. Signed-off-by: Anatoly Burakov --- Notes: v3: - Fix single file segm

Re: [dpdk-dev] [PATCH v3 6/9] memalloc: add EAL-internal API to get and set segment fd's

2018-09-14 Thread Maxime Coquelin
On 09/04/2018 05:15 PM, Anatoly Burakov wrote: Enable setting and retrieving segment fd's internally. For now, retrieving fd's will not be used anywhere until we get an external API, but it will be useful for things like virtio, where we wish to share segment fd's. Setting segment fd's will

Re: [dpdk-dev] [PATCH 14/15] net/vmxnet3: rename version map after library file name

2018-09-14 Thread Thomas Monjalon
13/09/2018 23:44, Yong Wang: > From: Luca Boccassi > The library is called librte_pmd_vmxnet3_uio, so rename the map > file and set the name in the meson file so that the built library names > with meson and legacy makefiles are the same > > Signed-off-by: Luca Boccassi >

[dpdk-dev] [PATCH 2/2] net/sfc: fix a Tx queue double release possibility

2018-09-14 Thread Andrew Rybchenko
From: Igor Romanov There are two function that call sfc_tx_qfini(): sfc_tx_fini_queues() and sfc_tx_queue_release(). But only sfc_tx_queue_release() sets tx_queues pointer of the device data to NULL. It may lead to the scenario in which a queue is destroyed by sfc_tx_fini_queues() and after the q

[dpdk-dev] [PATCH 1/2] net/sfc: fix an Rx queue double release possibility

2018-09-14 Thread Andrew Rybchenko
From: Igor Romanov There are two function that call sfc_rx_qfini(): sfc_rx_fini_queues() and sfc_rx_queue_release(). But only sfc_rx_queue_release() sets rx_queues pointer of the device data to NULL. It may lead to the scenario in which a queue is destroyed by sfc_rx_fini_queues() and after the q