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

2019-10-07 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 v3 07/12] net/ice/base: zero initialize structures

2019-10-07 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 v3 03/12] net/ice/base: update flow ptype bitmaps

2019-10-07 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 v3 08/12] net/ice/base: fix unexpected switch rule overwrite

2019-10-07 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 v3 05/12] net/ice/base: improvements to Flow Director masking

2019-10-07 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 v3 10/12] net/ice/base: fix switch rule programming for all profiles

2019-10-07 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 v3 09/12] net/ice/base: fix flow raw field vector extraction

2019-10-07 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 v3 11/12] net/ice/base: add QFI for Flow Director

2019-10-07 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 v3 12/12] net/ice/base: improve misc code style

2019-10-07 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 v3] net/i40e: fix exception with multi-driver

2019-10-07 Thread alvinx . zhang
From: Alvin Zhang If support-multi-driver is enabled, the global registers should not be configured. But with the current code base, if creating a flow with rte_flow API, the global register GLQF_FD_MSK may be changed. Fixes: cfdfca493cae ("net/i40e: fix multiple driver support") Cc: sta...@dpdk

Re: [dpdk-dev] [PATCH] crypto/virtio: alloc private data by NUMA affinity

2019-10-07 Thread Zhoujian (jay)
> -Original Message- > From: Xiao Wang [mailto:xiao.w.w...@intel.com] > Sent: Wednesday, September 4, 2019 9:22 PM > To: Zhoujian (jay) > Cc: dev@dpdk.org; Xiao Wang > Subject: [PATCH] crypto/virtio: alloc private data by NUMA affinity > > It's better to allocate device private data o

[dpdk-dev] [PATCH v3] net/i40e: fix exception with multi-driver

2019-10-07 Thread alvinx . zhang
From: Alvin Zhang If support-multi-driver is enabled, the global registers should not be configured. But with the current code base, if creating a flow with rte_flow API, the global register GLQF_FD_MSK may be changed. Fixes: cfdfca493cae ("net/i40e: fix multiple driver support") Cc: sta...@dpdk

[dpdk-dev] 答复: [PATCH] crypto/virtio: alloc private data by NUMA affinity

2019-10-07 Thread Zhoujian (jay)
> -Original Message- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Friday, October 4, 2019 8:00 PM > To: Zhoujian (jay) > Cc: dev@dpdk.org; Xiao Wang > Subject: RE: [dpdk-dev] [PATCH] crypto/virtio: alloc private data by NUMA > affinity > > Hi Jay, > > Could you please revi

Re: [dpdk-dev] [RFC 5/8] pdump: add classic BPF filtering

2019-10-07 Thread Jerin Jacob
On Tue, 8 Oct, 2019, 3:15 AM Stephen Hemminger, wrote: > On Tue, 8 Oct 2019 01:03:17 +0530 > Jerin Jacob wrote: > > > On Mon, 7 Oct, 2019, 11:03 PM Stephen Hemminger, < > step...@networkplumber.org> > > wrote: > > > > > On Mon, 7 Oct 2019 22:37:43 +0530 > > > Jerin Jacob wrote: > > > > > > > On

Re: [dpdk-dev] [RFC 5/8] pdump: add classic BPF filtering

2019-10-07 Thread Stephen Hemminger
On Tue, 8 Oct 2019 09:17:08 +0530 Jerin Jacob wrote: > On Tue, 8 Oct, 2019, 3:15 AM Stephen Hemminger, > wrote: > > > On Tue, 8 Oct 2019 01:03:17 +0530 > > Jerin Jacob wrote: > > > > > On Mon, 7 Oct, 2019, 11:03 PM Stephen Hemminger, < > > step...@networkplumber.org> > > > wrote: > > > > >

Re: [dpdk-dev] [RFC 5/8] pdump: add classic BPF filtering

2019-10-07 Thread Jerin Jacob
On Tue, 8 Oct, 2019, 9:31 AM Stephen Hemminger, wrote: > On Tue, 8 Oct 2019 09:17:08 +0530 > Jerin Jacob wrote: > > > On Tue, 8 Oct, 2019, 3:15 AM Stephen Hemminger, < > step...@networkplumber.org> > > wrote: > > > > > On Tue, 8 Oct 2019 01:03:17 +0530 > > > Jerin Jacob wrote: > > > > > > > On

Re: [dpdk-dev] [RFC 5/8] pdump: add classic BPF filtering

2019-10-07 Thread Stephen Hemminger
On Tue, 8 Oct 2019 09:45:45 +0530 Jerin Jacob wrote: > On Tue, 8 Oct, 2019, 9:31 AM Stephen Hemminger, > wrote: > > > On Tue, 8 Oct 2019 09:17:08 +0530 > > Jerin Jacob wrote: > > > > > On Tue, 8 Oct, 2019, 3:15 AM Stephen Hemminger, < > > step...@networkplumber.org> > > > wrote: > > > > >

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-07 Thread Vamsi Krishna Attunuru
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Friday, September 6, 2019 6:58 PM > To: Thomas Monjalon ; Vamsi Krishna Attunuru > > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel > module > > > -Original Message

Re: [dpdk-dev] [PATCH v10 0/5] kni: add IOVA=VA support

2019-10-07 Thread Vamsi Krishna Attunuru
@All, we are expecting to merge this in 19.11 release and if any one have comments please respond. > -Original Message- > From: Vamsi Krishna Attunuru > Sent: Wednesday, September 25, 2019 9:30 AM > To: vattun...@marvell.com; dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkar

Re: [dpdk-dev] [PATCH 2/3] net/virtio: reject deferred start Tx queue setup

2019-10-07 Thread Tiwei Bie
On Tue, Oct 01, 2019 at 04:44:30PM +0100, Andrew Rybchenko wrote: > From: Dilshod Urazov > > Deferred start Tx queue is not supported by the driver. > > Fixes: 0748be2cf9a2 ("ethdev: queue start and stop") > Cc: sta...@dpdk.org > > Signed-off-by: Dilshod Urazov > Signed-off-by: Andrew Rybchenk

Re: [dpdk-dev] [PATCH 3/3] net/virtio: reject unsupported Rx multi queue modes

2019-10-07 Thread Tiwei Bie
On Tue, Oct 01, 2019 at 04:44:31PM +0100, Andrew Rybchenko wrote: > From: Dilshod Urazov > > This driver supports none of DCB, RSS or VMDQ modes, > therefore must check and return error if configured incorrectly. > > Fixes: c1f86306a026 ("virtio: add new driver") > Cc: sta...@dpdk.org > > Signe

Re: [dpdk-dev] [PATCH v3 3/3] vhost: prevent zero copy mode if iommu is on

2019-10-07 Thread Tiwei Bie
On Fri, Sep 27, 2019 at 08:37:59PM +0200, Adrian Moreno wrote: > The simltaneous use of dequeue_zero_copy and IOMMU is problematic. > Not only because IOVA_VA mode is not supported but also because the > potential invalidation of guest pages while the buffers are in use, > is not handled. > > Prev

Re: [dpdk-dev] [PATCH v3 2/3] vhost: convert buffer addresses to GPA for logging

2019-10-07 Thread Tiwei Bie
On Fri, Sep 27, 2019 at 08:37:58PM +0200, Adrian Moreno wrote: > Note that the API facing rte_vhost_log_write is not modified. > So, make explicit that it expects the address in GPA space. > > Fixes: 69c90e98f483 ("vhost: enable IOMMU support") > Cc: maxime.coque...@redhat.com > Cc: sta...@dpdk.or

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

2019-10-07 Thread Jerin Jacob
On Tue, 8 Oct, 2019, 1:45 AM Thomas Monjalon, wrote: > 07/10/2019 21:29, Jerin Jacob: > > On Mon, 7 Oct, 2019, 11:35 PM Thomas Monjalon, > wrote: > [...] > > let's restart from the beginning by answering simple questions: > > > - what are the use cases of BPF in DPDK? > > > > If something needs

<    1   2