[dpdk-dev] [PATCH v2] examples/ip_pipeline: add link show to the cli

2018-06-22 Thread Kevin Laatz
Add the functionality to track links in the application. This enables the user to print the name, mac address and statistics for each link in the application. Signed-off-by: Kevin Laatz Acked-by: Cristian Dumitrescu --- v2: - Implemeted API to iterate through the linked list - Printing tidy

Re: [dpdk-dev] [PATCH v2 07/22] net/i40e: enable port detach on secondary process

2018-06-22 Thread Andrew Rybchenko
On 06/21/2018 05:00 AM, Qi Zhang wrote: Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/i40e/

Re: [dpdk-dev] [PATCH v2 04/22] ethdev: enable hotplug on multi-process

2018-06-22 Thread Andrew Rybchenko
On 06/21/2018 05:00 AM, Qi Zhang wrote: We are going to introduce the solution to handle different hotplug cases in multi-process situation, it include below scenario: 1. Attach a share device from primary 2. Detach a share device from primary 3. Attach a share device from secondary 4. Detach a

Re: [dpdk-dev] [PATCH] net/ixgbe: fix Tx check descriptor status APIs error

2018-06-22 Thread Zhang, Qi Z
Hi Wei: > -Original Message- > From: Zhao1, Wei > Sent: Friday, June 22, 2018 4:39 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Zhang, Qi Z > ; sta...@dpdk.org; Zhao1, Wei > Subject: [PATCH] net/ixgbe: fix Tx check descriptor status APIs error > > This is a issue involve RS bit set rule in

Re: [dpdk-dev] [PATCH v3 3/3] examples/l3fwd: format the IP addresses for printing

2018-06-22 Thread Thomas Monjalon
22/06/2018 12:23, Iremonger, Bernard: > Hi Stephen, > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > > Sent: Monday, June 18, 2018 10:36 PM > > To: dev@dpdk.org > > Cc: Stephen Hemminger > > Subject: [dpdk-dev] [PATCH v3 3/3] examples/l

[dpdk-dev] [PATCH v5 13/15] vhost: add Tx support for packed ring

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.h | 1 + lib/librte_vhost/virtio_net.c | 121 +- 2 files changed, 121 insertions(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h index 62d49f238..5dcb61c71

[dpdk-dev] [PATCH v5 15/15] vhost: advertize packed ring layout support

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h index 99db688a8..579233545 100644 --- a/lib/librte_vhost/vhost.h +++ b/lib/librte_vhost/vhost.h @@ -242,7 +242,8 @@

[dpdk-dev] [PATCH v5 14/15] vhost: add notification for packed ring

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 55 +++ lib/librte_vhost/vhost.h | 71 lib/librte_vhost/vhost_user.c| 29 +--- lib/librte_vhost/virtio-packed.h | 11 +++ lib/libr

[dpdk-dev] [PATCH v5 12/15] vhost: add Rx support for packed ring

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 117 +- 1 file changed, 116 insertions(+), 1 deletion(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 28b0cb566..e094357be 100644 --- a/lib/librte_vhost/

[dpdk-dev] [PATCH v5 11/15] vhost: add vector filling support for packed ring

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 111 ++ 1 file changed, 111 insertions(+) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 58c7144d0..28b0cb566 100644 --- a/lib/librte_vhost/virtio_net.c ++

[dpdk-dev] [PATCH v5 10/15] vhost: create descriptor mapping function

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 61 ++- 1 file changed, 37 insertions(+), 24 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 9571d5cdc..58c7144d0 100644 --- a/lib/librte_vhost

[dpdk-dev] [PATCH v5 09/15] vhost: add shadow used ring support for packed rings

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 9 -- lib/librte_vhost/vhost.h | 13 ++-- lib/librte_vhost/vhost_user.c | 64 +-- lib/librte_vhost/virtio_net.c | 70 +-- 4 files changed, 1

[dpdk-dev] [PATCH v5 08/15] vhost: append shadow used ring function names with split

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 385876527..35f8cf90a 100644 --- a/lib/librte_vhost/virtio_net.c +

[dpdk-dev] [PATCH v5 04/15] vhost: clear shadow used table index at flush time

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 2c13a59a2..28ce2d073 100644 --- a/lib/librte_vhost/virtio_net.c +++ b/lib/librte_vhost/virtio

[dpdk-dev] [PATCH v5 07/15] vhost: extract split ring handling from Rx and Tx functions

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 240 +++--- 1 file changed, 131 insertions(+), 109 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 816d5fc1d..385876527 100644 --- a/lib/librte_vho

[dpdk-dev] [PATCH v5 06/15] vhost: clear batch copy index at copy time

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 5cfc100a9..816d5fc1d 100644 --- a/lib/librte_vhost/virtio_net.c +++ b/lib/librte_vhost/v

[dpdk-dev] [PATCH v5 05/15] vhost: make indirect desc table copy desc type agnostic

2018-06-22 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 28ce2d073..5cfc100a9 100644 --- a/lib/librte_vhost/virtio_net.c +++ b/lib/librt

[dpdk-dev] [PATCH v5 03/15] vhost: vring address setup for packed queues

2018-06-22 Thread Maxime Coquelin
From: Yuanhan Liu Add code to set up packed queues when enabled. Signed-off-by: Yuanhan Liu Signed-off-by: Jens Freimann Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 44 ++- lib/librte_vhost/vhost.h | 7 ++- lib/librte_v

[dpdk-dev] [PATCH v5 02/15] vhost: add helpers for packed virtqueues

2018-06-22 Thread Maxime Coquelin
From: Jens Freimann Add some helper functions to check descriptor flags and check if a vring is of type packed. Signed-off-by: Jens Freimann Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.h | 6 ++ lib/librte_vhost/virtio-packed.h | 16 2 files changed

[dpdk-dev] [PATCH v5 01/15] vhost: add virtio packed virtqueue defines

2018-06-22 Thread Maxime Coquelin
From: Jens Freimann Signed-off-by: Jens Freimann --- lib/librte_vhost/vhost.h | 4 lib/librte_vhost/virtio-packed.h | 22 ++ 2 files changed, 26 insertions(+) create mode 100644 lib/librte_vhost/virtio-packed.h diff --git a/lib/librte_vhost/vhost.h b/lib/libr

[dpdk-dev] [PATCH v5 00/15] Vhost: add support to packed ring layout

2018-06-22 Thread Maxime Coquelin
This series is a handover from Jen's "[PATCH v4 00/20] implement packed virtqueues", which only implements the vhost side. Virtio PMD implementation will follow in a next series. The series applies on top of previous reworks I posted during this cycle that merges mergeable and non-mergeable recei

[dpdk-dev] [PATCH v1] examples/ipsec-secgw: fix use of unsupported RSS offloads

2018-06-22 Thread Remy Horton
Since commit aa1a6d87f15d ("ethdev: force RSS offload rules again") a check that requested RSS offloads are supported by a PMD is enforced, whereas in the past asking for unsupported offloads would not result in an error. This patch changes the IPSec gateway sample so that it only requests modes th

[dpdk-dev] [DPDK] examples/ipsec-secgw: fix use of unsupported RSS offloads

2018-06-22 Thread Remy Horton
Since commit aa1a6d87f15d ("ethdev: force RSS offload rules again") a check that requested RSS offloads are supported by a PMD is enforced, whereas in the past asking for unsupported offloads would not result in an error. This patch changes the IPSec gateway sample so that it only requests modes th

Re: [dpdk-dev] [PATCH v1 2/6] compress/zlib: add device setup PMD ops

2018-06-22 Thread Verma, Shally
Hi Lee >-Original Message- >From: Daly, Lee [mailto:lee.d...@intel.com] >Sent: 15 June 2018 16:39 >To: Verma, Shally >Cc: Trahe, Fiona ; dev@dpdk.org; >pathr...@caviumnetworks.com; Sahu, Sunila ; >Gupta, Ashish ; De Lara Guarch, Pablo > >Subject: RE: [dpdk-dev] [PATCH v1 2/6] compress/

Re: [dpdk-dev] [PATCH v2 1/4] bus/pci: handle device hot unplug

2018-06-22 Thread Gaëtan Rivet
Hi Jeff, Sorry, I followed this development from afar, I have a remark regarding this API, I think it can be made simpler. Details below. On Fri, Jun 22, 2018 at 07:51:05PM +0800, Jeff Guo wrote: > When a hardware device is removed physically or the software disables > it, the hot unplug occur. A

[dpdk-dev] [PATCH] examples/vhost_crypto: add multi-core support

2018-06-22 Thread Fan Zhang
Originally vhost_crypto sample application only supports single core. This patch adds the multi-core support with more flexible options. Signed-off-by: Fan Zhang --- doc/guides/sample_app_ug/vhost_crypto.rst | 26 +- examples/vhost_crypto/main.c | 480 +-

[dpdk-dev] [PATCH 2/2] crypto/scheduler: add packet-size-distr mode param parse

2018-06-22 Thread Fan Zhang
This patch adds packet-size-distr mode specific parameter parse to support different threshold packet size value other than default 128 bytes. Signed-off-by: Fan Zhang --- doc/guides/cryptodevs/scheduler.rst| 7 ++- drivers/crypto/scheduler/rte_cryptodev_scheduler.h | 1 + driv

[dpdk-dev] [PATCH 0/2] crypto/scheduler: add mode specific parameter support

2018-06-22 Thread Fan Zhang
This patch adds scheduler PMD mode specific parameter support. The packet-size-distr mode now support custom threshold during initialization. Fan Zhang (2): crypto/scheduler: add mode param parsing crypto/scheduler: add packet-size-distr mode param parse doc/guides/cryptodevs/scheduler.rst

[dpdk-dev] [PATCH 1/2] crypto/scheduler: add mode param parsing

2018-06-22 Thread Fan Zhang
This patch adds the mode parameter parsing to scheduler PMD. Signed-off-by: Fan Zhang --- doc/guides/cryptodevs/scheduler.rst | 5 + drivers/crypto/scheduler/scheduler_pmd.c | 22 ++ 2 files changed, 27 insertions(+) diff --git a/doc/guides/cryptodevs/scheduler.rst

[dpdk-dev] DPDK Release Status Meeting 21/07/2018

2018-06-22 Thread Mcnamara, John
DPDK Release Status Meeting 21/07/2018 == Minutes from the weekly DPDK Release Status Meeting. The DPDK Release Status Meeting is intended for DPDK Committers to discuss the status of the master tree and sub-trees, and for project managers to track progress or

Re: [dpdk-dev] [PATCH] i40evf: don't reset device_info data

2018-06-22 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Friday, June 15, 2018 10:05 PM > To: Damjan Marion ; dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH] i40evf: don't reset device_info data > > > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Damja

[dpdk-dev] [PATCH v2 2/4] eal: add failure handle mechanism for hot plug

2018-06-22 Thread Jeff Guo
This patch introduces a failure handler mechanism to handle device hot unplug event. When device be hot plug out, the device resource become invalid, if this resource is still be unexpected read/write, system will crash. This patch let framework help application to handle this fault. When sigbus e

Re: [dpdk-dev] [PATCH v4] net/i40e: illegal packet checking

2018-06-22 Thread Zhang, Qi Z
> -Original Message- > From: Wu, Yanglong > Sent: Wednesday, June 20, 2018 10:13 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Ananyev, Konstantin > ; Wu, Yanglong > Subject: [PATCH v4] net/i40e: illegal packet checking > > Some illegal packets will lead to TX/RX hang and can't recover aut

Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: fix portmask option parsing

2018-06-22 Thread Ananyev, Konstantin
> -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Friday, June 22, 2018 11:41 AM > To: Ananyev, Konstantin ; dev@dpdk.org > Cc: Nicolau, Radu > Subject: Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: fix portmask option > parsing > > > > On 6/22/2018 3:4

[dpdk-dev] [PATCH v2 4/4] app/testpmd: show example to handle hot unplug

2018-06-22 Thread Jeff Guo
Use testpmd for example, to show how an application smoothly handle failure when device being hot unplug. If app have enabled the device event monitor and register the hot plug event’s callback before running, once app detect the removal event, the callback would be called. It will first stop the p

[dpdk-dev] [PATCH v2 3/4] igb_uio: fix uio release issue when hot unplug

2018-06-22 Thread Jeff Guo
When hot unplug device, the kernel will release the device resource in the kernel side, such as the fd sys file will disappear, and the irq will be released. At this time, if igb uio driver still try to release this resource, it will cause kernel crash. On the other hand, something like interrupt d

[dpdk-dev] [PATCH v2 1/4] bus/pci: handle device hot unplug

2018-06-22 Thread Jeff Guo
When a hardware device is removed physically or the software disables it, the hot unplug occur. App need to call ether dev API to detach the device, to unplug the device at the bus level and make access to the device invalid. But the problem is that, the removal of the device from the software list

[dpdk-dev] [PATCH v2 0/4] hot plug failure handle mechanism

2018-06-22 Thread Jeff Guo
As we know, hot plug is an importance feature, either use for the datacenter device’s fail-safe, or use for SRIOV Live Migration in SDN/NFV. It could bring the higher flexibility and continuality to the networking services in multiple use cases in industry. So let we see, dpdk as an importance netw

Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: fix portmask option parsing

2018-06-22 Thread Akhil Goyal
On 6/22/2018 3:40 PM, Ananyev, Konstantin wrote: -Original Message- From: Akhil Goyal [mailto:akhil.go...@nxp.com] Sent: Friday, June 22, 2018 11:01 AM To: Ananyev, Konstantin ; dev@dpdk.org Cc: Nicolau, Radu Subject: Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: fix portmask opt

Re: [dpdk-dev] [PATCH v3 3/3] examples/l3fwd: format the IP addresses for printing

2018-06-22 Thread Iremonger, Bernard
Hi Stephen, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > Sent: Monday, June 18, 2018 10:36 PM > To: dev@dpdk.org > Cc: Stephen Hemminger > Subject: [dpdk-dev] [PATCH v3 3/3] examples/l3fwd: format the IP addresses for > printing > > It i

Re: [dpdk-dev] [PATCH v4 0/2] app/testpmd implement VXLAN/NVGRE Encap/Decap

2018-06-22 Thread Mohammad Abdul Awal
On 22/06/2018 10:08, Nélio Laranjeiro wrote: On Fri, Jun 22, 2018 at 09:51:15AM +0100, Mohammad Abdul Awal wrote: On 22/06/2018 09:31, Nélio Laranjeiro wrote: On Fri, Jun 22, 2018 at 08:42:10AM +0100, Mohammad Abdul Awal wrote: Hi Nelio, On 21/06/2018 08:13, Nelio Laranjeiro wrote: This

Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: fix portmask option parsing

2018-06-22 Thread Ananyev, Konstantin
> -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Friday, June 22, 2018 11:01 AM > To: Ananyev, Konstantin ; dev@dpdk.org > Cc: Nicolau, Radu > Subject: Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: fix portmask option > parsing > > Hi Konstantin, > > On

Re: [dpdk-dev] [PATCH 1/2] cryptodev: add min headroom and tailroom requirement

2018-06-22 Thread Akhil Goyal
Hi Anoob, On 6/22/2018 12:22 PM, Joseph, Anoob wrote: Hi Akhil, The change adds couple of entries in cryptodev_info structure. I was under the impression this will be an ABI change and would need one release cycle. If we can get this through in 18.08, it would be great. Do you want me to re

Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: fix portmask option parsing

2018-06-22 Thread Akhil Goyal
Hi Konstantin, On 6/21/2018 8:32 PM, Ananyev, Konstantin wrote: Hi Akhil, -Original Message- From: Akhil Goyal [mailto:akhil.go...@nxp.com] Sent: Thursday, June 21, 2018 2:49 PM To: Ananyev, Konstantin ; dev@dpdk.org Cc: Nicolau, Radu Subject: Re: [dpdk-dev] [PATCH 2/2] examples/ipse

[dpdk-dev] [RFC 3/3] net/cxgbe: add flow actions to modify IP and TCP/UDP port address

2018-06-22 Thread Rahul Lakkireddy
From: Shagun Agrawal Query firmware for the new filter work request to offload flows with actions to modify IP and TCP/UDP port addresses. When available, translate IP and TCP/UDP port address modify actions to internal hardware specification and offload the flow to hardware. Signed-off-by: Shag

[dpdk-dev] [RFC 1/3] ethdev: add flow api actions to modify IP addresses

2018-06-22 Thread Rahul Lakkireddy
From: Shagun Agrawal Add actions: - OF_SET_NW_IPV4_SRC - set a new IPv4 source address. - OF_SET_NW_IPV4_DST - set a new IPv4 destination address. - OF_SET_NW_IPV6_SRC - set a new IPv6 source address. - OF_SET_NW_IPV6_DST - set a new IPv6 destination address. Based on OFPAT_SET_NW_SRC and OFPAT_

[dpdk-dev] [RFC 2/3] ethdev: add flow api actions to modify TCP/UDP port numbers

2018-06-22 Thread Rahul Lakkireddy
From: Shagun Agrawal Add actions: - OF_SET_TP_SRC - set a new TCP/UDP source port number. - OF_SET_TP_DST - set a new TCP/UDP destination port number. Based on OFPAT_SET_TP_SRC and OFPAT_SET_TP_DST actions from OpenFlow Specification. Signed-off-by: Shagun Agrawal Signed-off-by: Rahul Lakkired

[dpdk-dev] [RFC 0/3] ethdev: add IP address and TCP/UDP port rewrite actions to flow API

2018-06-22 Thread Rahul Lakkireddy
This series of patches add support for actions: - OF_SET_NW_IPV4_SRC - set a new IPv4 source address. - OF_SET_NW_IPV4_DST - set a new IPv4 destination address. - OF_SET_NW_IPV6_SRC - set a new IPv6 source address. - OF_SET_NW_IPV6_DST - set a new IPv6 destination address. - OF_SET_TP_SRC - set a n

Re: [dpdk-dev] [PATCH v3 2/3] examples/l3fwd: use reserved IPv4/IPv6 addresses

2018-06-22 Thread Iremonger, Bernard
Hi Stephen, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > Sent: Monday, June 18, 2018 10:36 PM > To: dev@dpdk.org > Cc: Stephen Hemminger > Subject: [dpdk-dev] [PATCH v3 2/3] examples/l3fwd: use reserved IPv4/IPv6 > addresses > > The exam

Re: [dpdk-dev] [PATCH v4] net/i40e: illegal packet checking

2018-06-22 Thread Ananyev, Konstantin
> -Original Message- > From: Wu, Yanglong > Sent: Wednesday, June 20, 2018 3:13 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Ananyev, Konstantin > ; Wu, Yanglong > > Subject: [PATCH v4] net/i40e: illegal packet checking > > Some illegal packets will lead to TX/RX hang and > can't recover

Re: [dpdk-dev] [PATCH v3 1/3] testpmd: add ability to set tx IP and UDP parameters

2018-06-22 Thread Iremonger, Bernard
Hi Stephen, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > Sent: Monday, June 18, 2018 10:36 PM > To: dev@dpdk.org > Cc: Stephen Hemminger > Subject: [dpdk-dev] [PATCH v3 1/3] testpmd: add ability to set tx IP and UDP > parameters > > Use

Re: [dpdk-dev] [PATCH v4 0/2] app/testpmd implement VXLAN/NVGRE Encap/Decap

2018-06-22 Thread Nélio Laranjeiro
On Fri, Jun 22, 2018 at 09:51:15AM +0100, Mohammad Abdul Awal wrote: > > > On 22/06/2018 09:31, Nélio Laranjeiro wrote: > > On Fri, Jun 22, 2018 at 08:42:10AM +0100, Mohammad Abdul Awal wrote: > > > Hi Nelio, > > > > > > > > > On 21/06/2018 08:13, Nelio Laranjeiro wrote: > > > > This series add

[dpdk-dev] [PATCH] net/ixgbe: fix Tx check descriptor status APIs error

2018-06-22 Thread Wei Zhao
This is a issue involve RS bit set rule in ixgbe. Let us take function ixgbe_xmit_pkts_vec () as an example, in this function RS bit will be set for descriptor with index txq->tx_next_rs, and also descriptor free function ixgbe_tx_free_bufs() also check RS bit for descriptor with index txq->tx_next

Re: [dpdk-dev] [PATCH v4 0/2] app/testpmd implement VXLAN/NVGRE Encap/Decap

2018-06-22 Thread Mohammad Abdul Awal
On 22/06/2018 09:31, Nélio Laranjeiro wrote: On Fri, Jun 22, 2018 at 08:42:10AM +0100, Mohammad Abdul Awal wrote: Hi Nelio, On 21/06/2018 08:13, Nelio Laranjeiro wrote: This series adds an easy and maintainable configuration version support for those two actions for 18.08 by using global v

[dpdk-dev] [PATCH v4] net/fm10k: add support for check descriptor status APIs

2018-06-22 Thread Wei Zhao
Fm10k nic need to support check descriptor status APIs, they are rte_eth_rx_descriptor_status and rte_eth_tx_descriptor_status. So, this patch add ops with function pointer that enable feature. Signed-off-by: Wei Zhao --- v2: -fix DD check error in tx descriptor v3: -fix DD check index error

Re: [dpdk-dev] [PATCH v4 0/2] app/testpmd implement VXLAN/NVGRE Encap/Decap

2018-06-22 Thread Nélio Laranjeiro
On Fri, Jun 22, 2018 at 08:42:10AM +0100, Mohammad Abdul Awal wrote: > Hi Nelio, > > > On 21/06/2018 08:13, Nelio Laranjeiro wrote: > > This series adds an easy and maintainable configuration version support for > > those two actions for 18.08 by using global variables in testpmd to store > > th

[dpdk-dev] [PATCH v3] net/fm10k: add support for check descriptor status APIs

2018-06-22 Thread Wei Zhao
Fm10k nic need to support check descriptor status APIs, they are rte_eth_rx_descriptor_status and rte_eth_tx_descriptor_status. So, this patch add ops with function pointer that enable feature. Signed-off-by: Wei Zhao --- v2: -fix DD check error in tx descriptor v3: -fix DD check index error

Re: [dpdk-dev] [PATCH 5/7] net/virtio: support IN_ORDER Rx and Tx

2018-06-22 Thread Liu, Yong
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tiwei Bie > Sent: Wednesday, June 20, 2018 3:41 PM > To: Liu, Yong > Cc: maxime.coque...@redhat.com; Wang, Zhihong ; > dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 5/7] net/virtio: support IN_ORDER Rx and Tx >

Re: [dpdk-dev] [PATCH v4 0/2] app/testpmd implement VXLAN/NVGRE Encap/Decap

2018-06-22 Thread Mohammad Abdul Awal
Hi Nelio, On 21/06/2018 08:13, Nelio Laranjeiro wrote: This series adds an easy and maintainable configuration version support for those two actions for 18.08 by using global variables in testpmd to store the necessary information for the tunnel encapsulation. Those variables are used in conju

Re: [dpdk-dev] [PATCH] vhost: fix potential null pointer dereference

2018-06-22 Thread Maxime Coquelin
On 06/22/2018 05:53 AM, Tiwei Bie wrote: Coverity issue: 293097 Fixes: d90cf7d111ac ("vhost: support host notifier") Signed-off-by: Tiwei Bie --- lib/librte_vhost/vhost_user.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhost/vhost_user

Re: [dpdk-dev] netvsc PMD driver update plan

2018-06-22 Thread Thomas Monjalon
22/06/2018 01:32, Stephen Hemminger: > I have some updates to the netvsc driver that use external mbuf's and fix > a couple of bugs. Would you rather: > * new (V11) version consolidating those > * sequence of patches against V10 > * hold off until V10 is merged. A v11 is better.

Re: [dpdk-dev] [PATCH v2 3/3] net/pcap: support pcap files and ifaces mix

2018-06-22 Thread Ido Goshen
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, June 21, 2018 3:51 PM > To: Ido Goshen > Cc: dev@dpdk.org > Subject: Re: [PATCH v2 3/3] net/pcap: support pcap files and ifaces mix > > On 6/21/2018 1:24 PM, ido goshen wrote: > > Suggested-by: Ferruh Yigit > > > > Signed-off