[dpdk-dev] [PATCH v1] net/memif: multi-process support
Multi-process support for memif PMD. Primary process handles connection establishment. Secondary process queries for memory regions. Signed-off-by: Jakub Grajciar --- drivers/net/memif/Makefile| 4 + drivers/net/memif/memif_socket.c | 45 ++-- drivers/net/memif/meson.build | 4
Re: [dpdk-dev] [PATCH v4 3/3] rxtx_callbacks: Add support for HW timestamp
02/05/2019 21:11, Tom Barbette: > + if (hw_timestamping && ticks_per_cycle_mult == 0) { > + uint64_t cycles_base = rte_rdtsc(); > + uint64_t ticks_base; > + retval = rte_eth_read_clock(port, &ticks_base); > + if (retval != 0) > +
Re: [dpdk-dev] [PATCH] vfio: fix expanding DMA area in ppc64le
>宛先: dev@dpdk.org >送信元: Takeshi Yoshimura >日付: 2019/06/13 11:22AM >Cc: d...@ibm.com, prad...@us.ibm.com, Takeshi Yoshimura > >件名: [EXTERNAL] [PATCH] vfio: fix expanding DMA area in ppc64le > >In ppc64le, expanding DMA areas always fail because we cannot remove >a DMA window. As a result, we cannot
[dpdk-dev] [PATCH] vfio: fix expanding DMA area in ppc64le
In ppc64le, expanding DMA areas always fail because we cannot remove a DMA window. As a result, we cannot allocate more than one memseg in ppc64le. This is because vfio_spapr_dma_mem_map() doesn't unmap all the mapped DMA before removing the window. This patch fixes this incorrect behavior. I adde
Re: [dpdk-dev] [PATCH v2 1/3] net/af_xdp: enable zero copy by extbuf
On Tue, Jun 11, 2019 at 8:21 PM Ye Xiaolong wrote: > > Hi, > > On 06/11, William Tu wrote: > [snip] > >> @@ -294,16 +326,26 @@ eth_af_xdp_tx(void *queue, struct rte_mbuf **bufs, > >> uint16_t nb_pkts) > >> > >> desc = xsk_ring_prod__tx_desc(&txq->tx, idx_tx + i); > >>
Re: [dpdk-dev] [PATCH] Revert "net/mlx: support IOVA VA mode"
On Fri, 7 Jun 2019 16:08:41 -0700 Stephen Hemminger wrote: > From: Stephen Hemminger > > This reverts commit 69c06d0e357ed0064b498d510d169603cf7308cd. > That commit breaks support for netvsc PMD with MLX SRIOV > on both Hyper-V and Azure. > > Signed-off-by: Stephen Hemminger Ping. What happ
Re: [dpdk-dev] [PATCH] net/mlx5: fix 32b compilation
> On Jun 11, 2019, at 10:32 PM, Shahaf Shuler wrote: > > 32b Compilation output the below error: > > drivers/net/mlx5/mlx5_txq.c: In function 'mlx5_txq_ibv_new': > error: format '%lx' expects argument of type 'long unsigned int', but > argument 8 has type 'off_t' [-Werror=format=] > DRV_LOG(D
Re: [dpdk-dev] [PATCH v1 9/9] dpaa2: mark internal functions with __rte_internal
Neil Horman writes: > Identify functions in the dpaa2 driver which are internal (based on > their not having an rte_ prefix) and tag them with __rte_internal > > Signed-off-by: Neil Horman > CC: Jerin Jacob Kollanukkaran > CC: Bruce Richardson > CC: Thomas Monjalon > CC: Akhil Goyal > CC: He
[dpdk-dev] [PATCH v1 4/9] fslmc: identify internal only functions and tag them as __rte_internal
Identify functions in fslmc bus driver which are internal (based on their not having an rte_ prefix) and tag them with __rte_internal Signed-off-by: Neil Horman CC: Jerin Jacob Kollanukkaran CC: Bruce Richardson CC: Thomas Monjalon CC: Hemant Agrawal CC: Shreyansh Jain --- drivers/bus/fslmc
[dpdk-dev] [PATCH v1 8/9] octeonx: mark internal functions with __rte_internal
Identify functions in the octeon driver which are internal (based on their not having an rte_ prefix) and tag them with __rte_internal Signed-off-by: Neil Horman CC: Jerin Jacob Kollanukkaran CC: Bruce Richardson CC: Thomas Monjalon --- drivers/common/octeontx/octeontx_mbox.c
[dpdk-dev] [PATCH v1 3/9] mark dpaa driver internal-only symbols with __rte_internal
make use of the new __rte_internal tag to specify symbols that should only be used by dpdk provided libraries (as specified by the BUILDING_RTE_SDK cflag Signed-off-by: Neil Horman CC: Jerin Jacob Kollanukkaran CC: Bruce Richardson CC: Thomas Monjalon --- ...rimental-syms.sh => check-special-
[dpdk-dev] [PATCH v1 5/9] dpaa2: Adjust dpaa2 driver to mark internal symbols with __rte_internal
Identify functions in the dpaa2 driver which are internal (based on their not having an rte_ prefix) and tag them with __rte_internal Signed-off-by: Neil Horman CC: Jerin Jacob Kollanukkaran CC: Bruce Richardson CC: Thomas Monjalon CC: Hemant Agrawal CC: Shreyansh Jain --- drivers/net/dpaa2
[dpdk-dev] [PATCH v1 9/9] dpaa2: mark internal functions with __rte_internal
Identify functions in the dpaa2 driver which are internal (based on their not having an rte_ prefix) and tag them with __rte_internal Signed-off-by: Neil Horman CC: Jerin Jacob Kollanukkaran CC: Bruce Richardson CC: Thomas Monjalon CC: Akhil Goyal CC: Hemant Agrawal --- drivers/crypto/dpaa2
[dpdk-dev] [PATCH v1 6/9] dpaax: mark internal functions with __rte_internal
Identify functions in the dpaa2 driver which are internal (based on their not having an rte_ prefix) and tag them with __rte_internal Signed-off-by: Neil Horman CC: Jerin Jacob Kollanukkaran CC: Bruce Richardson CC: Thomas Monjalon CC: Hemant Agrawal CC: Shreyansh Jain --- drivers/commo
[dpdk-dev] [PATCH v1 7/9] cpt: mark internal functions with __rte_internal
Identify functions in the cpt driver which are internal (based on their not having an rte_ prefix) and tag them with __rte_internal Signed-off-by: Neil Horman CC: Jerin Jacob Kollanukkaran CC: Bruce Richardson CC: Thomas Monjalon CC: Anoob Joseph --- drivers/common/cpt/cpt_pmd_ops_helper.c
[dpdk-dev] [PATCH v1 1/9] Add __rte_internal tag for functions and version target
This tag is meant to be used on function prototypes to identify functions that are only meant to be used by internal DPDK libraries (i.e. libraries that are built while building the SDK itself, as identified by the defining of the BUILDING_RTE_SDK macro). When that flag is not set, it will resolve
[dpdk-dev] [PATCH v1 0/9] dpdk: introduce __rte_internal tag
Hey- Based on our recent conversations regarding the use of symbols only meant for internal dpdk consumption (between dpdk libraries), this is an idea that I've come up with that I'd like to get some feedback on Summary: 1) We have symbols in the DPDK that are meant to be used between DPDK
[dpdk-dev] [PATCH v1 2/9] Exempt INTERNAL symbols from checking
No need to restrict the ABI on symbols that are only used by core libraries Signed-off-by: Neil Horman CC: Jerin Jacob Kollanukkaran CC: Bruce Richardson CC: Thomas Monjalon --- devtools/check-symbol-change.sh | 7 +++ 1 file changed, 7 insertions(+) diff --git a/devtools/check-symbol-ch
Re: [dpdk-dev] [RFC] rte_timer: add rte_timer_next_ticks
Hi Stephen, This looks like a useful addition. Some comments in-line: > -Original Message- > From: Stephen Hemminger > Sent: Monday, June 10, 2019 5:45 PM > To: rsanf...@akamai.com; Carrillo, Erik G > Cc: dev@dpdk.org; Stephen Hemminger > Subject: [RFC] rte_timer: add rte_timer_next_t
Re: [dpdk-dev] [PATCH v2] symmetric crypto, set message field to zero in SGL case
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Gosia Bakota > Sent: Wednesday, June 12, 2019 6:32 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2] symmetric crypto, set message field to zero in > SGL case > > Fixes: e09231eaa2af ("crypto/qat: add SGL
[dpdk-dev] [PATCH v2] symmetric crypto, set message field to zero in SGL case
Fixes: e09231eaa2af ("crypto/qat: add SGL capability") Cc: Arek Kusztal Cc: sta...@dpdk.org Signed-off-by: Gosia Bakota --- v2 changes -remove file mode change drivers/crypto/qat/qat_sym.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat
Re: [dpdk-dev] RFC - vdev_netvsc automatic blacklisting
Hi + Shahaf From: Stephen Hemminger > On Wed, 12 Jun 2019 05:15:47 + > Matan Azrad wrote: > > > From: Stephen Hemminger > > > > Hi Stephen > > > > > > > > From: Stephen Hemminger > > > > > When using DPDK on Azure it is common to have one non-DPDK > > > interface. > > > > > If that non-D
[dpdk-dev] [dpdk-announce] DPDK 18.11.2 (LTS) released
Hi all, Here is a new LTS release: https://fast.dpdk.org/rel/dpdk-18.11.2.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=18.11 Information about this release and validation can be found at: http://doc.dpdk.org/guides-18.11/rel_notes/release_18_11.html#i
Re: [dpdk-dev] [PATCH 0/6] bnxt patch series
On 6/8/2019 8:22 PM, Ajit Khaparde wrote: > This is a patchset against dpdk-next-net tree on top of > commit d800226ab9ede99ab9bc56a69168e6e587f1. > Please apply. > > > Kalesh AP (1): > net/bnxt: fix output of port xstats > > Naresh Kumar PBS (2): > net/bnxt: fix interrupt vector array i
Re: [dpdk-dev] [PATCH v4 11/11] net/hinic: add support for basic device operations
2019-06-12
Thread
Xuanziyang (William, Chip Application Design Logic and Hardware Development Dept IT_Products & Solutions)
> > On 6/6/2019 12:07 PM, Ziyang Xuan wrote: > > Add hinic PMD initialization and ethernet operatioins code. > > Hi Xuan, > > Previous patches puts the code without enabling them, this last patch > registers the PMD with lots of new code, it is hard to review this PMD. > > I think "OCTEON TX2"
Re: [dpdk-dev] [PATCH v4 08/11] net/hinic: add hinic PMD build and doc files
2019-06-12
Thread
Xuanziyang (William, Chip Application Design Logic and Hardware Development Dept IT_Products & Solutions)
> On 6/6/2019 12:06 PM, Ziyang Xuan wrote: > > Add build and doc files, and common code files. > > > > Signed-off-by: Ziyang Xuan > > --- > > MAINTAINERS | 9 + > > config/common_base | 5 + > > config/common_linux
[dpdk-dev] [PATCH v6 2/2] examples/ipsec-secgw/test: fix inline test scripts
Remove workaround in tun_aesgcm_defs.sh and trs_aesgcm_defs.sh to get around the bug where the first inbound packet is dropped for inline crypto. Fixes: 929784452094 ("examples/ipsec-secgw: add scripts for functional test") Cc: sta...@dpdk.org Signed-off-by: Bernard Iremonger --- examples/ipsec
[dpdk-dev] [PATCH v6 1/2] examples/ipsec-secgw: fix 1st pkt dropped for inline crypto
Inline crypto installs a flow rule in the NIC. This flow rule must be installed before the first inbound packet is received. The create_session() function installs the flow rule, create_session() has been refactored into create_inline_session() and create_lookaside_session(). The create_inline_ses
[dpdk-dev] [PATCH v6 0/2] examples/ipsec-secgw: fix 1st pkt dropped
This patchset fixes the issue of the first inbound packet being dropped for inline crypto. Changes in v6: -- Rebased to latest master. Minor changes to the following functions in ipsec.c: create_lookaside_session() create_inline_session() Bernard Iremonger (2): examples/ipsec-secgw:
Re: [dpdk-dev] [PATCH 2/6] net/bnxt: fix to check for NULL completion ring doorbell in int_handler
On 6/12/2019 3:44 PM, Ferruh Yigit wrote: > On 6/8/2019 8:22 PM, Ajit Khaparde wrote: >> From: Somnath Kotur >> >> It is observed that sometimes during init, the bnxt_int_handler() gets >> invoked while the cpr->cp_db.doorbell is not yet initialized. Check for >> the same and return. >> >> Signed-
Re: [dpdk-dev] [PATCH v2] app/test: fix autotest_runner crash
On 12-Jun-19 3:46 PM, Herakliusz Lipiec wrote: On some systems when dpdk test is executed with make test command autotest_runner crashes in first_cpu_on_node. This happens when list of available cpus contains something that is not a cpu as first element. Fixed by removing all non-cpu values from
Re: [dpdk-dev] [PATCH v2 24/66] net/ice/base: add support for reading REPC statistics
> -Original Message- > From: Stillwell Jr, Paul M > Sent: Wednesday, June 12, 2019 12:28 AM > To: Rong, Leyi ; Zhang, Qi Z > Cc: dev@dpdk.org; Keller, Jacob E > Subject: RE: [PATCH v2 24/66] net/ice/base: add support for reading REPC > statistics > > > -Original Message- > > F
Re: [dpdk-dev] [PATCH v2 21/66] net/ice/base: add helper functions for PHY caching
> -Original Message- > From: Stillwell Jr, Paul M > Sent: Wednesday, June 12, 2019 12:27 AM > To: Rong, Leyi ; Zhang, Qi Z > Cc: dev@dpdk.org; Nguyen, Anthony L > Subject: RE: [PATCH v2 21/66] net/ice/base: add helper functions for PHY > caching > > > -Original Message- > > Fr
[dpdk-dev] [PATCH v2] app/test: fix autotest_runner crash
On some systems when dpdk test is executed with make test command autotest_runner crashes in first_cpu_on_node. This happens when list of available cpus contains something that is not a cpu as first element. Fixed by removing all non-cpu values from list of available cpus. Bugzilla ID: 253 Fixes:
Re: [dpdk-dev] [PATCH 2/6] net/bnxt: fix to check for NULL completion ring doorbell in int_handler
On 6/8/2019 8:22 PM, Ajit Khaparde wrote: > From: Somnath Kotur > > It is observed that sometimes during init, the bnxt_int_handler() gets > invoked while the cpr->cp_db.doorbell is not yet initialized. Check for > the same and return. > > Signed-off-by: Somnath Kotur > Signed-off-by: Kalesh AP
Re: [dpdk-dev] [PATCH v2 17/66] net/ice/base: add API to init FW logging
> -Original Message- > From: Stillwell Jr, Paul M > Sent: Wednesday, June 12, 2019 12:24 AM > To: Rong, Leyi ; Zhang, Qi Z > Cc: dev@dpdk.org; Nowlin, Dan > Subject: RE: [PATCH v2 17/66] net/ice/base: add API to init FW logging > > > -Original Message- > > From: Rong, Leyi > >
[dpdk-dev] 答复: [PATCH v4 09/11] net/hinic: add RX module
2019-06-12
Thread
Xuanziyang (William, Chip Application Design Logic and Hardware Development Dept IT_Products & Solutions)
> On 6/6/2019 12:06 PM, Ziyang Xuan wrote: > > Add code for RX module. > > > > Signed-off-by: Ziyang Xuan > <...> > > > @@ -0,0 +1,902 @@ > > +/* SPDX-License-Identifier: BSD-3-Clause > > + * Copyright(c) 2017 Huawei Technologies Co., Ltd */ > > + > > +#include > > +#include > > +#include > >
Re: [dpdk-dev] [PATCH v4 07/11] net/hinic/base: add various headers
2019-06-12
Thread
Xuanziyang (William, Chip Application Design Logic and Hardware Development Dept IT_Products & Solutions)
> On 6/6/2019 12:06 PM, Ziyang Xuan wrote: > > Add various headers that define mgmt commands, cmdq commands, rx > data > > structures, tx data structures and basic defines for use in the code. > > > > Signed-off-by: Ziyang Xuan > > <...> > > > +#define PMD_DRV_LOG(level, fmt, args...) \ > > +
Re: [dpdk-dev] [PATCH] app/test: fix autotest_runner crash
On 12-Jun-19 2:33 PM, Herakliusz Lipiec wrote: On some systems when dpdk test is executed with make test command autotest_runner crashes in first_cpu_on_node. This happens when list of available cpus contains something that is not a cpu as first element. Fixed by removing all non-cpu values from
Re: [dpdk-dev] [PATCH 19.08 v2] net/pcap: enable infinitely rxing a pcap file
On 6/5/2019 1:46 PM, Ferriter, Cian wrote: > Adding in my changelog at the top of this, since I forgot to add it in the > original mail: > > v2: > * Rework the method of filling the ring to infinitely rx from > * Avoids potential huge allocation of mbufs > * Removes double allocation
Re: [dpdk-dev] [PATCH] vfio: fix expanding DMA area in ppc64le
Takeshi Yoshimura writes: > In ppc64le, expanding DMA areas always fail because we cannot remove > a DMA window. As a result, we cannot allocate more than one memseg in > ppc64le. This is because vfio_spapr_dma_mem_map() doesn't unmap all > the mapped DMA before removing the window. This patch fi
[dpdk-dev] [PATCH v2] symmetric crypto, set-message-field-to-zero-in-SGL-case
Fixes: e09231eaa2af ("crypto/qat: add SGL capability") Cc: Arek Kusztal Cc: sta...@dpdk.org Signed-off-by: Gosia Bakota --- drivers/crypto/qat/qat_sym.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c index 8801ca567..7515a55d0 1
[dpdk-dev] [PATCH] app/test: fix autotest_runner crash
On some systems when dpdk test is executed with make test command autotest_runner crashes in first_cpu_on_node. This happens when list of available cpus contains something that is not a cpu as first element. Fixed by removing all non-cpu values from list of available cpus. Bugzilla ID: 253 Fixes:
Re: [dpdk-dev] [PATCH 0/4] net/enic: minor updates
On 6/6/2019 4:26 PM, Hyong Youb Kim wrote: > The first two patches report the min/max MTU and speed capabilities to > support applications that rely on them. The other two patches remove > unnecessary/unsupported code from the flow implementation. We do not > expect more patches for 19.08. > > Hyo
Re: [dpdk-dev] RFC - vdev_netvsc automatic blacklisting
On Wed, 12 Jun 2019 05:15:47 + Matan Azrad wrote: > From: Stephen Hemminger > > > Hi Stephen > > > > > > From: Stephen Hemminger > > > > When using DPDK on Azure it is common to have one non-DPDK > > interface. > > > > If that non-DPDK interface is present vdev_netvsc correctly skip i
Re: [dpdk-dev] warning on remapping memory
On 11-Jun-19 7:50 PM, Yongseok Koh wrote: Hi Anatoly, There's a report that remap fails on a specific x86 host. We can silence this warning by specifying '--base-virtaddr', but wondering if you know in which case it could happen. Log attached. Thanks, Yongseok What DPDK version is this?
Re: [dpdk-dev] [PATCH] net/af_xdp: update release notes
On 6/12/2019 1:48 PM, Xiaolong Ye wrote: > Update release notes for new added features include zero copy and > multi-queue. > > Signed-off-by: Xiaolong Ye Squashed into relevant commit in next-net, thanks.
Re: [dpdk-dev] [PATCH v5 1/2] examples/ipsec-secgw: fix 1st pkt dropped for inline crypto
Hi Konstantin, > -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, June 11, 2019 4:29 PM > To: Iremonger, Bernard ; dev@dpdk.org; > akhil.go...@nxp.com > Cc: sta...@dpdk.org > Subject: RE: [PATCH v5 1/2] examples/ipsec-secgw: fix 1st pkt dropped for > inline > crypto > > Hi
Re: [dpdk-dev] 答复: [PATCH v4] vhost: support inflight share memory protocol feature
On 5/22/19 1:04 PM, Li,Lin(ACG Cloud) wrote: -邮件原件- 发件人: Maxime Coquelin [mailto:maxime.coque...@redhat.com] 发送时间: 2019年5月17日 23:47 收件人: Li Lin ; tiwei@intel.com; zhihong.w...@intel.com 抄送: dev@dpdk.org; dariusz.stojac...@intel.com; changpeng@intel.com; james.r.har...@intel.
Re: [dpdk-dev] [PATCH 1/2] net/sfc: add Rx interrupts support for efx datapath
On 6/6/2019 6:33 PM, Andrew Rybchenko wrote: > From: Georgiy Levashov > > When Rx interrupts are disabled, we simply disable rearm when > the interrupt fires the next time. So, the next packet will > trigger interrupt (if it is not happened yet after previous Rx > burst processing). > > Signed-o
[dpdk-dev] [PATCH v2 3/3] net/ice: add UDP tunnel port support
Enabled UDP tunnel port add and delete functions. Signed-off-by: Qiming Yang --- drivers/net/ice/ice_ethdev.c | 54 1 file changed, 54 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index cf6bb1d..833b724 10064
[dpdk-dev] [PATCH v2 2/3] net/ice: add generic flow API
This patch adds ice_flow_create, ice_flow_destroy, ice_flow_flush and ice_flow_validate support, these are going to used to handle all the generic filters. Signed-off-by: Qiming Yang --- drivers/net/ice/Makefile | 1 + drivers/net/ice/ice_ethdev.c | 44 +++ drivers/net/ice/ice
[dpdk-dev] [PATCH v2 0/3] Enable rte_flow API in ice driver
This patch set enables the backend of rte_flow, and the generic filter related functions in ice driver. Supported flows include ipv4, tcpv4, udpv4, ipv6, tcpv6, udpv6, tunnel, etc. This patch set depends on shared code update. --- v2 changes: - added UDP tunnel port support. - fixed compile iss
[dpdk-dev] [PATCH v2 1/3] net/ice: enable switch filter
From: wei zhao The patch enables the backend of rte_flow. It transfers rte_flow_xxx to device specific data structure and configures packet process engine's binary classifier (switch) properly. Signed-off-by: Wei Zhao --- drivers/net/ice/Makefile| 1 + drivers/net/ice/ice_ethdev.
[dpdk-dev] [PATCH v3] net/i40e: allow VF to configure pctype mapping
This patch allows VF to get/update/reset pctype mapping info. Signed-off-by: Beilei Xing --- v3 changes: - add new function is_i40evf_supported. v2 changes: - Allow VF update/reset pctype mapping. drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev.h| 4 drivers/ne