Re: [dpdk-dev] [PATCH v2] vhost: add support for large buffers.

2019-10-05 Thread Shahaf Shuler
Friday, October 4, 2019 11:10 PM, Flavio Leitner: > Subject: [dpdk-dev] [PATCH v2] vhost: add support for large buffers. > > The rte_vhost_dequeue_burst supports two ways of dequeuing data. > If the data fits into a buffer, then all data is copied and a single linear > buffer is > returned. Other

[dpdk-dev] [PATCH v2 10/12] net/ice/base: fix switch rule programming for all profiles

2019-10-05 Thread Qi Zhang
In switch rule programming, if the caller requested tunnel type of ICE_SW_TUN_AND_NON_TUN, then the code would incorrectly attempt to add a tunneled UDP port in the training packet, this would cause the rule addition to fail. This patch does not attempt to add the UDP port so that the rule programm

[dpdk-dev] [PATCH v2 08/12] net/ice/base: fix unexpected switch rule overwrite

2019-10-05 Thread Qi Zhang
A switch rule with "drop" action will be overwritten by a rule with same pattern match but with a "to queue" action. While in an inversed flow creation sequence, the "to queue" can't be overwritten by the "drop" rule. The inconsistent behavior is not expected, the patch fix the issue by preventing

[dpdk-dev] [PATCH v2 12/12] net/base/ice: improve misc code style

2019-10-05 Thread Qi Zhang
Combine a couple of function definitions that can fit on one line. RCT a variable declaration. Signed-off-by: Tony Nguyen Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_flex_pipe.c | 6 ++ drivers/net/ice/base/ice_flex_pipe.h | 3 +-- drivers/net/ic

[dpdk-dev] [PATCH v2 11/12] net/ice/base: add QFI for Flow Director

2019-10-05 Thread Qi Zhang
Added the GTP QFI field to the Flow director interface to allow matching against this field. Since this field only appears in GTP packets with extension headers, this also requires adding profile TCAM mask matching capability. This allows comprehending different PTYPE attributes by examining flags

[dpdk-dev] [PATCH v2 07/12] net/ice/base: zero initialize structures

2019-10-05 Thread Qi Zhang
Some functions create ice_pkg_enum structure, but it seems it's possible some of the members are used un-initialized. So we'll initialize all instantiations of this structure within ice_flex_pipe.c The patch also fix header comment mismatch issue for ice_init_prof_result_bm Signed-off-by: Jeb Cr

[dpdk-dev] [PATCH v2 09/12] net/ice/base: fix flow raw field vector extraction

2019-10-05 Thread Qi Zhang
Correct the ordering of raw field extraction in the field vector by taking into account the ordering setting for requesting block. Fixes: aa1cd410fa64 ("net/ice/base: add flow module") Signed-off-by: Dan Nowlin Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang --- drivers/net/ice/bas

[dpdk-dev] [PATCH v2 01/12] net/ice/base: fix for adding PPPoE switch rule

2019-10-05 Thread Qi Zhang
Update VLAN protocol ID to correct value for single VXLAN scenario. Fix the missing ethertype offset for PPPoE dummy packet offset to allow matching the corresponding field. Fixes: d341bdc30290 ("net/ice/base: add support for GTP and PPPoE protocols") Signed-off-by: Dan Nowlin Signed-off-by: Jun

[dpdk-dev] [PATCH v2 02/12] net/ice/base: fix for NVGRE switch rule programming

2019-10-05 Thread Qi Zhang
Correct for GRE/NVGRE training packets to include the correct protocol IDs for TCP and UDP respectively. Fixes: b83a0c290322 ("net/ice/base: fix inner TCP and UDP support for GRE") Signed-off-by: Dan Nowlin Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang Acked-by: Qiming Yang ---

[dpdk-dev] [PATCH v2 05/12] net/ice/base: improvements to Flow Director masking

2019-10-05 Thread Qi Zhang
Currently, 3-tuple FD matching is implemented using masking. However, this is using up twenty-four of the thirty-two FD masks available. This patch uses the swap register more efficiently to implement the 3-tuple matches, which saves all FD masks for other uses. Added IPV6 versions of DSCP, TTL an

[dpdk-dev] [PATCH v2 03/12] net/ice/base: update flow ptype bitmaps

2019-10-05 Thread Qi Zhang
In the flow api, the outer first ptype bitmaps contained many references to inner ptypes. Because of PTG assignments, these were causing issues when programming rules on the inner ptypes. For example, in RSS when programming the outer IPV6 hash fields, it also programmed several inner IPV4 PTGs wit

[dpdk-dev] [PATCH v2 06/12] net/ice/base: remove dead error condition

2019-10-05 Thread Qi Zhang
The pointer cmd is set to an address of a structure, which can never be NULL. Remove the check-for-NULL lines since it's dead code anyway. Signed-off-by: Jeb Cramer Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 3 ---

[dpdk-dev] [PATCH v2 04/12] net/ice/base: add GTPU TEID support for FD

2019-10-05 Thread Qi Zhang
Added the training packet for GTPU TEID field to the Flow director to allow matching against this field. Signed-off-by: Junfeng Guo Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_fdir.c | 2 ++ drivers/net/ice/base/ice_fdir.h | 1

[dpdk-dev] [PATCH v2 00/12] net/ice: base code update

2019-10-05 Thread Qi Zhang
Changes in summary 1. add GTP TEID support for fdir 2. improve fdir mask support. 3. couple fixes. 4. support QFI match in fdir v2: - add QFI match support in fdir - couple fixes and code clean Qi Zhang (12): net/ice/base: fix for adding PPPoE switch rule net/ice/base: fix for NVGRE switch ru

Re: [dpdk-dev] [PATCH v3] eventdev: flag to identify same destined packets enqueue

2019-10-05 Thread Jerin Jacob
On Fri, Oct 4, 2019 at 4:33 PM Nipun Gupta wrote: > > This patch introduces a `flag` in the Eth TX adapter enqueue API. > Some drivers may support burst functionality only with the packets > having same destination device and queue. > > The flag `RTE_EVENT_ETH_TX_ADAPTER_ENQUEUE_SAME_DEST` can be

Re: [dpdk-dev] [PATCH] crypto/armv8: enable meson build

2019-10-05 Thread Jerin Jacob
On Fri, Oct 4, 2019 at 4:27 AM Dharmik Thakkar wrote: > > Add new meson.build file for crypto/armv8 > > Signed-off-by: Dharmik Thakkar > --- > drivers/crypto/armv8/meson.build | 25 + > drivers/crypto/meson.build | 6 +++--- > meson_options.txt| 2

Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support

2019-10-05 Thread Jerin Jacob
> >> > >> This might be one avenue if all kernel JIT contributors would be on board. > >> Another option I'm wondering could be to extend the bpf() syscall in order > >> to pass down a description of context and helper mappings e.g. via BTF and > >> let everything go through the verifier in the ker

[dpdk-dev] [pull-request] next-eventdev 19.11 PRE-RC1

2019-10-05 Thread Jerin Jacob Kollanukkaran
The following changes since commit 5b5bb56532fd5dea5d6260c0a0e405c0e32da2a0: maintainers: add David for main branch (2019-10-03 10:13:20 +0200) are available in the Git repository at: http://dpdk.org/git/next/dpdk-next-eventdev for you to fetch changes up to 0c3fd934882db31ace23a8ee0cd2e31d

Re: [dpdk-dev] [PATCH 01/11] crypto/octeontx2: add PMD skeleton

2019-10-05 Thread Anoob Joseph
Hi Akhil, > -Original Message- > From: Akhil Goyal > Sent: Friday, October 4, 2019 4:52 PM > To: Anoob Joseph ; Pablo de Lara > ; Thomas Monjalon > Cc: Ankur Dwivedi ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya > ; Tejasree Kondoj ; > dev@dpdk.org > Subject: RE: [PATCH 01