Re: [dpdk-dev] [PATCH v2] doc: add driver limitation for vhost dequeue zero copy

2018-03-08 Thread Chen, Junjie J
> -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Tuesday, March 6, 2018 4:57 PM > To: Chen, Junjie J ; y...@fridaylinux.org; Tan, > Jianfeng > Cc: dev@dpdk.org > Subject: Re: [PATCH v2] doc: add driver limitation for vhost dequeue zero copy > > >

[dpdk-dev] [PATCH v3] doc: add driver limitation for vhost dequeue zero copy

2018-03-08 Thread Junjie Chen
In vhost-switch example, when binding nic to vfio-pci with iommu enabled, dequeue zero copy cannot work in VM2NIC mode due to no iommu dma mapping is setup for guest memory currently. Signed-off-by: Junjie Chen --- Changes in V3: - update limitation to iommu Changes in V2: - add doc in vhost lib

Re: [dpdk-dev] [PATCH v3 08/10] doc: describe Rx bytes counter behavior for enic

2018-03-08 Thread Stephen Hemminger
On Fri, 9 Mar 2018 09:52:54 +0900 Hyong Youb Kim wrote: > On Thu, Mar 08, 2018 at 02:14:27PM -0800, Stephen Hemminger wrote: > > On Wed, 7 Mar 2018 18:47:00 -0800 > > John Daley wrote: > > > > > 'catch-all' filters should be added last. > > > > > > +- **Statistics** > > > + > > > + -

Re: [dpdk-dev] [PATCH v3 08/10] doc: describe Rx bytes counter behavior for enic

2018-03-08 Thread Hyong Youb Kim
On Thu, Mar 08, 2018 at 02:14:27PM -0800, Stephen Hemminger wrote: > On Wed, 7 Mar 2018 18:47:00 -0800 > John Daley wrote: > > > 'catch-all' filters should be added last. > > > > +- **Statistics** > > + > > + - ``rx_good_bytes`` (ibytes) always includes VLAN header (4B) and CRC > > byte

[dpdk-dev] [PATCH] net/virtio: move to new offloads API

2018-03-08 Thread Tiwei Bie
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") Signed-off-by: Tiwei Bie --- drivers/net/virtio/virtio_ethdev.c | 35 --- drivers/net/virtio/vir

Re: [dpdk-dev] [RFC] config: remove RTE_NEXT_ABI

2018-03-08 Thread Neil Horman
On Thu, Mar 08, 2018 at 10:34:14PM +0100, Thomas Monjalon wrote: > 08/03/2018 20:40, Neil Horman: > > On Thu, Mar 08, 2018 at 05:04:01PM +0100, Thomas Monjalon wrote: > > > 08/03/2018 16:35, Neil Horman: > > > > On Thu, Mar 08, 2018 at 04:17:00PM +0100, Thomas Monjalon wrote: > > > > > 08/03/2018 1

[dpdk-dev] [PATCH v2] net/null: support bulk allocation

2018-03-08 Thread Mallesh Koujalagi
Bulk allocation of multiple mbufs increased more than ~2% and less than 8% throughput on single core (1.8 GHz), based on usage for example 1: Testpmd case: Two null devices with copy 8% improvement. testpmd -c 0x3 -n 4 --socket-mem 1024,1024 --vdev 'eth_null0,size=64,copy=1' --vdev 'et

Re: [dpdk-dev] [RFC v2 6/7] net/af_xdp: load BPF file

2018-03-08 Thread Stephen Hemminger
On Thu, 8 Mar 2018 21:52:48 +0800 Qi Zhang wrote: > +struct bpf_insn prog[] = { > + { > + .code = 0x85, //call imm > + .dst_reg = 0, > + .src_reg = 0, > + .off = 0, > + .imm = BPF_FUNC_xdpsk_redirect, > + }, > + { > +

[dpdk-dev] [PATCH v2 2/2] event/sw: support device stop flush callback

2018-03-08 Thread Gage Eads
This commit also adds a flush callback test to the sw eventdev's selftest suite. Signed-off-by: Gage Eads --- drivers/event/sw/sw_evdev.c | 25 ++- drivers/event/sw/sw_evdev_selftest.c | 80 +++- 2 files changed, 102 insertions(+), 3 deletions(-)

[dpdk-dev] [PATCH v2 1/2] eventdev: add device stop flush callback

2018-03-08 Thread Gage Eads
When an event device is stopped, it drains all event queues. These events may contain pointers, so to prevent memory leaks eventdev now supports a user-provided flush callback that is called during the queue drain process. This callback is stored in process memory, so the callback must be registere

[dpdk-dev] [PATCH] event/sw: perform partial burst enqueues

2018-03-08 Thread Gage Eads
Previously, the sw event adapter would enqueue either all or no events, depending on if enough inflight credits were available for the new events in the burst. If a port is enqueueing a large burst (i.e. a multiple of the credit update quanta), this can result in suboptimal performance, and require

Re: [dpdk-dev] [PATCH v3 08/10] doc: describe Rx bytes counter behavior for enic

2018-03-08 Thread Stephen Hemminger
On Wed, 7 Mar 2018 18:47:00 -0800 John Daley wrote: > 'catch-all' filters should be added last. > > +- **Statistics** > + > + - ``rx_good_bytes`` (ibytes) always includes VLAN header (4B) and CRC > bytes (4B). > + - When the NIC drops a packet because the Rx queue has no free buffers,

Re: [dpdk-dev] [PATCH v3 01/15] eal: introduce atomic exchange operation

2018-03-08 Thread Stephen Hemminger
On Thu, 11 Jan 2018 17:01:10 + Ferruh Yigit wrote: > On 1/8/2018 5:45 PM, Stephen Hemminger wrote: > > To handle atomic update of link status (64 bit), every driver > > was doing its own version using cmpset. > > Atomic exchange is a useful primitive in its own right; > > therefore make it a

[dpdk-dev] [PATCH v7 7/7] doc: add event timer adapter documentation

2018-03-08 Thread Erik Gabriel Carrillo
Signed-off-by: Erik Gabriel Carrillo --- MAINTAINERS| 7 +++ doc/api/doxy-api-index.md | 32 +++- doc/guides/rel_notes/release_18_05.rst | 5 + 3 files changed, 15 insertions(+), 29 deletions(-) diff --git a/MAINTAINE

[dpdk-dev] [PATCH v7 5/7] test: add event timer adapter auto-test

2018-03-08 Thread Erik Gabriel Carrillo
Signed-off-by: Erik Gabriel Carrillo --- test/test/Makefile |1 + test/test/test_event_timer_adapter.c | 1234 ++ 2 files changed, 1235 insertions(+) create mode 100644 test/test/test_event_timer_adapter.c diff --git a/test/test/Makefile b/t

[dpdk-dev] [PATCH v7 6/7] doc: add event timer adapter section to programmer's guide

2018-03-08 Thread Erik Gabriel Carrillo
Signed-off-by: Erik Gabriel Carrillo Signed-off-by: Jerin Jacob Signed-off-by: Pavan Nikhilesh --- doc/guides/prog_guide/event_timer_adapter.rst | 277 ++ doc/guides/prog_guide/index.rst | 1 + 2 files changed, 278 insertions(+) create mode 100644 doc/gu

[dpdk-dev] [PATCH v7 4/7] eventtimer: add support for meson build system

2018-03-08 Thread Erik Gabriel Carrillo
Signed-off-by: Erik Gabriel Carrillo --- config/rte_config.h | 1 + lib/librte_eventdev/meson.build | 9 ++--- lib/meson.build | 3 ++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/config/rte_config.h b/config/rte_config.h index 699878a..823fd79 1

[dpdk-dev] [PATCH v7 2/7] eventtimer: add common code

2018-03-08 Thread Erik Gabriel Carrillo
This commit adds the logic that is shared by all event timer adapter drivers; the common code handles instance allocation and some initialization. Signed-off-by: Erik Gabriel Carrillo --- config/common_base| 1 + drivers/event/sw/sw_evdev.c

[dpdk-dev] [PATCH v7 3/7] eventtimer: add default software driver

2018-03-08 Thread Erik Gabriel Carrillo
If an eventdev PMD does not wish to provide event timer adapter ops definitions, the library will fall back to a default software implementation whose entry points are added by this commit. Signed-off-by: Erik Gabriel Carrillo --- lib/Makefile | 2 +- lib/librt

[dpdk-dev] [PATCH v7 1/7] eventtimer: add event timer adapter API

2018-03-08 Thread Erik Gabriel Carrillo
Signed-off-by: Jerin Jacob Signed-off-by: Pavan Nikhilesh Signed-off-by: Erik Gabriel Carrillo --- lib/librte_eventdev/Makefile | 1 + lib/librte_eventdev/rte_event_timer_adapter.h | 645 ++ lib/librte_eventdev/rte_eventdev.h| 41 +- 3 fil

[dpdk-dev] [PATCH v7 0/7] eventtimer: introduce event timer adapter

2018-03-08 Thread Erik Gabriel Carrillo
This patch series contains the next iteration of the Event Timer Adapter library, which abstracts timer mechanisms that are tightly coupled with event devices, and extends the event based programming model so that timer expirations are represented as an event. v7 - Addressed comments on previous p

[dpdk-dev] Api in dpdk to get total free physical memory

2018-03-08 Thread Venumadhav Josyula
Hi All, Like ‘rte_eal_get_physmem_size’ api to the total size of the physical memory. Is there an API to get to get total free memory physical memory available ? We want such API we are planning to implement such API for the same /* get the total size of memory */ uint64_t rte_eal_get_ph

Re: [dpdk-dev] [RFC] config: remove RTE_NEXT_ABI

2018-03-08 Thread Thomas Monjalon
08/03/2018 20:40, Neil Horman: > On Thu, Mar 08, 2018 at 05:04:01PM +0100, Thomas Monjalon wrote: > > 08/03/2018 16:35, Neil Horman: > > > On Thu, Mar 08, 2018 at 04:17:00PM +0100, Thomas Monjalon wrote: > > > > 08/03/2018 12:43, Ferruh Yigit: > > > > > On 3/8/2018 8:05 AM, Thomas Monjalon wrote: >

Re: [dpdk-dev] [PATCH] net/null: Support bulk alloc and free.

2018-03-08 Thread Koujalagi, MalleshX
Hi Ferruh, Bulk allocation gives benefit but how much, will check and provide patch. Best regards -/Mallesh -Original Message- From: Yigit, Ferruh Sent: Wednesday, March 7, 2018 2:57 AM To: Ananyev, Konstantin ; Koujalagi, MalleshX ; dev@dpdk.org Cc: mtetsu...@gmail.com Subject: Re: [d

Re: [dpdk-dev] [PATCH] igb_uio: allow multi-process access

2018-03-08 Thread Stephen Hemminger
On Fri, 8 Dec 2017 17:57:33 -0800 Xiao Wang wrote: > In some case, one device are accessed by different processes via > different BARs, so one uio device may be opened by more than one > process, for this case we just need to enable interrupt once, and > pci_clear_master only when the last proce

Re: [dpdk-dev] [PATCH 2/2] eal/x86: Use lock-prefixed instructions to reduce cost of rte_smp_mb()

2018-03-08 Thread Stephen Hemminger
On Fri, 1 Dec 2017 23:08:39 + "Ananyev, Konstantin" wrote: > Hi Stephen, > > > -Original Message- > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Friday, December 1, 2017 6:04 PM > > To: Ananyev, Konstantin > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [

Re: [dpdk-dev] [PATCH v2 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Burakov, Anatoly
On 08-Mar-18 8:11 PM, Burakov, Anatoly wrote: On 08-Mar-18 2:36 PM, Burakov, Anatoly wrote: On 08-Mar-18 1:36 PM, Pavan Nikhilesh wrote: Hi Anatoly, We are currently facing issues with running testpmd on thunderx platform. The issue seems to be with vfio EAL: Detected 24 lcore(s) EAL: Detec

Re: [dpdk-dev] [PATCH v2 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Burakov, Anatoly
On 08-Mar-18 2:36 PM, Burakov, Anatoly wrote: On 08-Mar-18 1:36 PM, Pavan Nikhilesh wrote: Hi Anatoly, We are currently facing issues with running testpmd on thunderx platform. The issue seems to be with vfio EAL: Detected 24 lcore(s) EAL: Detected 1 NUMA nodes EAL: No free hugepages reported

Re: [dpdk-dev] [RFC] config: remove RTE_NEXT_ABI

2018-03-08 Thread Neil Horman
On Thu, Mar 08, 2018 at 05:04:01PM +0100, Thomas Monjalon wrote: > 08/03/2018 16:35, Neil Horman: > > On Thu, Mar 08, 2018 at 04:17:00PM +0100, Thomas Monjalon wrote: > > > 08/03/2018 12:43, Ferruh Yigit: > > > > On 3/8/2018 8:05 AM, Thomas Monjalon wrote: > > > > > 07/03/2018 18:44, Ferruh Yigit:

[dpdk-dev] [PATCH] net/octeontx: use the new offload APIs

2018-03-08 Thread Pavan Nikhilesh
Use the new Rx/Tx offload APIs and remove the old style offloads. Signed-off-by: Pavan Nikhilesh --- Checkpatch reports falsepositive for PRIx64 drivers/net/octeontx/octeontx_ethdev.c | 82 ++ drivers/net/octeontx/octeontx_ethdev.h | 3 ++ 2 files changed, 67

Re: [dpdk-dev] [RFC] config: remove RTE_NEXT_ABI

2018-03-08 Thread Thomas Monjalon
08/03/2018 16:35, Neil Horman: > On Thu, Mar 08, 2018 at 04:17:00PM +0100, Thomas Monjalon wrote: > > 08/03/2018 12:43, Ferruh Yigit: > > > On 3/8/2018 8:05 AM, Thomas Monjalon wrote: > > > > 07/03/2018 18:44, Ferruh Yigit: > > > >> After experimental API process defined do we still need RTE_NEXT_A

Re: [dpdk-dev] questions about new offload ethdev api

2018-03-08 Thread Ferruh Yigit
On 1/23/2018 2:34 PM, Shahaf Shuler wrote: > Tuesday, January 23, 2018 3:53 PM, Olivier Matz: >> Hi, <...> >> 2/ meaning of rxmode.jumbo_frame, rxmode.enable_scatter, >> rxmode.max_rx_pkt_len >> >> While it's not related to the new API, it is probably a good opportunity to >> clarify the meaning

Re: [dpdk-dev] [RFC] config: remove RTE_NEXT_ABI

2018-03-08 Thread Neil Horman
On Thu, Mar 08, 2018 at 04:17:00PM +0100, Thomas Monjalon wrote: > 08/03/2018 12:43, Ferruh Yigit: > > On 3/8/2018 8:05 AM, Thomas Monjalon wrote: > > > 07/03/2018 18:44, Ferruh Yigit: > > >> After experimental API process defined do we still need RTE_NEXT_ABI > > >> config and process which has si

Re: [dpdk-dev] [RFC] config: remove RTE_NEXT_ABI

2018-03-08 Thread Thomas Monjalon
08/03/2018 12:43, Ferruh Yigit: > On 3/8/2018 8:05 AM, Thomas Monjalon wrote: > > 07/03/2018 18:44, Ferruh Yigit: > >> After experimental API process defined do we still need RTE_NEXT_ABI > >> config and process which has similar targets? > > > > They are different targets. > > Experimental API is

Re: [dpdk-dev] [PATCH 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Burakov, Anatoly
On 03-Mar-18 1:45 PM, Anatoly Burakov wrote: This patchset introduces dynamic memory allocation for DPDK (aka memory hotplug). Based upon RFC submitted in December [1]. Dependencies (to be applied in specified order): - IPC bugfixes patchset [2] - IPC improvements patchset [3] - IPC asynchronous

Re: [dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-03-08 Thread Burakov, Anatoly
On 08-Mar-18 12:12 PM, Bruce Richardson wrote: On Wed, Feb 07, 2018 at 09:58:36AM +, Anatoly Burakov wrote: During lcore scan, find maximum socket ID and store it. This will break the ABI, so bump ABI version. Signed-off-by: Anatoly Burakov --- Notes: v4: - Remove backwards ABI

Re: [dpdk-dev] [PATCH v2 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Burakov, Anatoly
On 08-Mar-18 1:36 PM, Pavan Nikhilesh wrote: Hi Anatoly, We are currently facing issues with running testpmd on thunderx platform. The issue seems to be with vfio EAL: Detected 24 lcore(s) EAL: Detected 1 NUMA nodes EAL: No free hugepages reported in hugepages-2048kB EAL: Multi-process socket /

Re: [dpdk-dev] [RFC v2 6/7] net/af_xdp: load BPF file

2018-03-08 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Thursday, March 8, 2018 9:53 PM > To: dev@dpdk.org > Cc: Karlsson, Magnus ; Topel, Bjorn > ; Zhang, Qi Z > Subject: [RFC v2 6/7] net/af_xdp: load BPF file > > Add libbpf and libelf dependency in Makefile. > Durring initialization, a bpf p

[dpdk-dev] [RFC v2 7/7] app/testpmd: enable parameter for mempool flags

2018-03-08 Thread Qi Zhang
Now, it is possible for testpmd to create a af_xdp friendly mempool. Signed-off-by: Qi Zhang --- app/test-pmd/parameters.c | 12 app/test-pmd/testpmd.c| 15 +-- app/test-pmd/testpmd.h| 1 + 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/app/test

[dpdk-dev] [RFC v2 6/7] net/af_xdp: load BPF file

2018-03-08 Thread Qi Zhang
Add libbpf and libelf dependency in Makefile. Durring initialization, a bpf prog which call imm "xdpsk_redirect" will be loaded. Then the driver will always try to link XDP fd with DRV mode first, then SKB mode if failed in previoius. Link will be released during dev_close. Note: this is workaroun

[dpdk-dev] [RFC v2 3/7] lib/mempool: allow page size aligned mempool

2018-03-08 Thread Qi Zhang
Allow create a mempool with page size aligned base address. Signed-off-by: Qi Zhang --- lib/librte_mempool/rte_mempool.c | 2 ++ lib/librte_mempool/rte_mempool.h | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c index 54f7f4

[dpdk-dev] [RFC v2 5/7] net/af_xdp: enable share mempool

2018-03-08 Thread Qi Zhang
Try to check if external mempool (from rx_queue_setup) is fit for af_xdp, if it is, it will be registered to af_xdp socket directly and there will be no packet data copy on Rx and Tx. Signed-off-by: Qi Zhang --- drivers/net/af_xdp/rte_eth_af_xdp.c | 193 +++- 1 fi

[dpdk-dev] [RFC v2 4/7] net/af_xdp: use mbuf mempool for buffer management

2018-03-08 Thread Qi Zhang
Now, af_xdp registered memory buffer is managed by rte_mempool. mbuf be allocated from rte_mempool can be convert to descriptor index and vice versa. Signed-off-by: Qi Zhang --- drivers/net/af_xdp/rte_eth_af_xdp.c | 166 +--- 1 file changed, 98 insertions(+), 68 d

[dpdk-dev] [RFC v2 2/7] lib/mbuf: enable parse flags when create mempool

2018-03-08 Thread Qi Zhang
This give the option that applicaiton can configure each memory chunk's size precisely. (by MEMPOOL_F_NO_SPREAD). Signed-off-by: Qi Zhang --- lib/librte_mbuf/rte_mbuf.c | 15 --- lib/librte_mbuf/rte_mbuf.h | 8 +++- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a

[dpdk-dev] [RFC v2 0/7] PMD driver for AF_XDP

2018-03-08 Thread Qi Zhang
v2: - fix lisence header - clean up bpf dependency, bpf program is embedded, no "xdpsock_kern.o" required - clean up make file, only linux_header is required - fix all the compile warning. - fix packet number return in Tx. The RFC patches add a new PMD driver for AF_XDP which is a proposed fast

[dpdk-dev] [RFC v2 1/7] net/af_xdp: new PMD driver

2018-03-08 Thread Qi Zhang
This is the vanilla version. Packet data will copy between af_xdp memory buffer and mbuf mempool. indexes of memory buffer is simply managed by a fifo ring. Signed-off-by: Qi Zhang --- config/common_base| 5 + config/common_linuxapp| 1 + d

Re: [dpdk-dev] [PATCH v2 0/7] cxgbe: bug fixes and updates

2018-03-08 Thread Ferruh Yigit
On 3/8/2018 1:44 PM, Ferruh Yigit wrote: > On 2/28/2018 6:04 PM, Rahul Lakkireddy wrote: >> Patch 1 reworks rte_eth_dev allocation for other ports under same PF. >> >> Patch 2 fixes secondary process initialization failure. >> >> Patches 3 and 4 allow configuring RSS hash and key. >> >> Patch 5 upd

Re: [dpdk-dev] [PATCH v2 0/7] cxgbe: bug fixes and updates

2018-03-08 Thread Ferruh Yigit
On 2/28/2018 6:04 PM, Rahul Lakkireddy wrote: > Patch 1 reworks rte_eth_dev allocation for other ports under same PF. > > Patch 2 fixes secondary process initialization failure. > > Patches 3 and 4 allow configuring RSS hash and key. > > Patch 5 updates link Forward Error Correction (FEC) to sup

Re: [dpdk-dev] [PATCH v2 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Pavan Nikhilesh
Hi Anatoly, We are currently facing issues with running testpmd on thunderx platform. The issue seems to be with vfio EAL: Detected 24 lcore(s) EAL: Detected 1 NUMA nodes EAL: No free hugepages reported in hugepages-2048kB EAL: Multi-process socket /var/run/.rte_unix EAL: Probing VFIO support...

Re: [dpdk-dev] [PATCH v2 3/7] cxgbe: add support to update RSS hash configuration and key

2018-03-08 Thread Ferruh Yigit
On 2/28/2018 6:04 PM, Rahul Lakkireddy wrote: > From: Kumar Sanghvi > > Add firmware API for updating RSS hash configuration and key. Move > RSS hash configuration from cxgb4_write_rss() to a separate function > cxgbe_write_rss_conf(). > > Also, rename cxgb4_write_rss() to cxgbe_write_rss() for

Re: [dpdk-dev] [PATCH] crypto/mrvl: add MRVL to hash test cases

2018-03-08 Thread Tomasz Duszynski
This patch has been here for a while already. Should I respin it? On Wed, Feb 28, 2018 at 03:53:53PM +0100, Tomasz Duszynski wrote: > MRVL Crypto PMD supports most of the hash algorithms covered > by test suites thus specific bits should be set in pmd_masks. > > Otherwise blockcipher authonly test

Re: [dpdk-dev] [PATCH 5/8] net/mrvl: add classifier support

2018-03-08 Thread Tomasz Duszynski
On Wed, Mar 07, 2018 at 11:24:11AM +, Ferruh Yigit wrote: > On 3/7/2018 11:16 AM, Tomasz Duszynski wrote: > > On Wed, Mar 07, 2018 at 11:07:14AM +, Ferruh Yigit wrote: > >> On 2/21/2018 2:14 PM, Tomasz Duszynski wrote: > >>> Add classifier configuration support via rte_flow api. > >>> > >>>

Re: [dpdk-dev] [PATCH v2] drivers/i40e: fix link update no wait

2018-03-08 Thread Eelco Chaudron
On 08/03/18 13:17, Fan Zhang wrote: Fixes: 26bbb7a9 ("i40e: fix link status timeout") Cc: cunming.li...@intel.com Cc: sta...@dpdk.org In i40e_dev_link_update() the driver obtains the link status info via admin queue command despite of "no_wait" flag. This requires relatively long time and ma

[dpdk-dev] [PATCH v2] drivers/i40e: fix link update no wait

2018-03-08 Thread Fan Zhang
Fixes: 26bbb7a9 ("i40e: fix link status timeout") Cc: cunming.li...@intel.com Cc: sta...@dpdk.org In i40e_dev_link_update() the driver obtains the link status info via admin queue command despite of "no_wait" flag. This requires relatively long time and may be a problem to some application suc

Re: [dpdk-dev] [PATCH 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Bruce Richardson
On Thu, Mar 08, 2018 at 12:12:15PM +, Burakov, Anatoly wrote: > On 08-Mar-18 10:53 AM, Nélio Laranjeiro wrote: > > On Thu, Mar 08, 2018 at 09:37:27AM +, Burakov, Anatoly wrote: > > > On 07-Mar-18 4:05 PM, Burakov, Anatoly wrote: > > > > On 07-Mar-18 3:27 PM, Nélio Laranjeiro wrote: > > > >

Re: [dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-03-08 Thread Bruce Richardson
On Wed, Feb 07, 2018 at 09:58:36AM +, Anatoly Burakov wrote: > During lcore scan, find maximum socket ID and store it. This will > break the ABI, so bump ABI version. > > Signed-off-by: Anatoly Burakov > --- > > Notes: > v4: > - Remove backwards ABI compatibility, bump ABI instead >

Re: [dpdk-dev] [PATCH 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Burakov, Anatoly
On 08-Mar-18 10:53 AM, Nélio Laranjeiro wrote: On Thu, Mar 08, 2018 at 09:37:27AM +, Burakov, Anatoly wrote: On 07-Mar-18 4:05 PM, Burakov, Anatoly wrote: On 07-Mar-18 3:27 PM, Nélio Laranjeiro wrote: Hi Anatoly, I am trying to run some test with this series, but it seems to be based on s

[dpdk-dev] [PATCH] drivers/i40e: fix link update no wait

2018-03-08 Thread Fan Zhang
Fixes: 26bbb7a9 ("i40e: fix link status timeout") In i40e_dev_link_update() the driver obtains the link status info via admin queue command despite of "no_wait" flag. This requires relatively long time and may be a problem to some application such as ovs-dpdk (https://bugzilla.redhat.com/show_

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/vdev_netvsc: fix routed devices probing

2018-03-08 Thread Ferruh Yigit
On 2/27/2018 2:22 PM, Matan Azrad wrote: > NetVSC netdevices which are already routed should not be probed because > they are used for management purposes by the HyperV. > > The corrupted code got the routed devices from the system file > /proc/net/route and wrongly parsed only the odd lines, so d

Re: [dpdk-dev] [RFC] config: remove RTE_NEXT_ABI

2018-03-08 Thread Ferruh Yigit
On 3/8/2018 8:05 AM, Thomas Monjalon wrote: > 07/03/2018 18:44, Ferruh Yigit: >> After experimental API process defined do we still need RTE_NEXT_ABI >> config and process which has similar targets? > > They are different targets. > Experimental API is always enabled but may be avoided by applicat

Re: [dpdk-dev] [PATCH v2 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Pavan Nikhilesh
On Thu, Mar 08, 2018 at 10:46:46AM +, Burakov, Anatoly wrote: > On 08-Mar-18 10:18 AM, Pavan Nikhilesh wrote: > > Hi Anatoly, > > > > I am trying to verify this patchset and have encountered few issues. > > > > Few -Werror=maybe-uninitialized errors in eal_memalloc.c/eal_memory.c/ > > eal_commo

Re: [dpdk-dev] [PATCH v3 0/5] ixgbe: fix bugs or just improve.

2018-03-08 Thread Tonghao Zhang
ping On Mon, Feb 5, 2018 at 8:51 AM, wrote: > From: Tonghao Zhang > > The patches in the patchset have no dependency. But all of them > is about ixgbe or ixgbevf. The patch 1 and 2 add the itr configuration > for ixgbe and ixgbevf, the user and developer can configure it for > their platfo

Re: [dpdk-dev] [PATCH 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Nélio Laranjeiro
On Thu, Mar 08, 2018 at 09:37:27AM +, Burakov, Anatoly wrote: > On 07-Mar-18 4:05 PM, Burakov, Anatoly wrote: > > On 07-Mar-18 3:27 PM, Nélio Laranjeiro wrote: > > > Hi Anatoly, > > > > > > I am trying to run some test with this series, but it seems to be based > > > on some other commits of y

Re: [dpdk-dev] [PATCH v2 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Burakov, Anatoly
On 08-Mar-18 10:18 AM, Pavan Nikhilesh wrote: Hi Anatoly, I am trying to verify this patchset and have encountered few issues. Few -Werror=maybe-uninitialized errors in eal_memalloc.c/eal_memory.c/ eal_common_memzone.c files. Thanks for the heads up, i'll fix those in the next revision. Out o

Re: [dpdk-dev] [PATCH v2 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Pavan Nikhilesh
Hi Anatoly, I am trying to verify this patchset and have encountered few issues. Few -Werror=maybe-uninitialized errors in eal_memalloc.c/eal_memory.c/ eal_common_memzone.c files. diff --git a/lib/librte_eal/common/eal_common_memzone.c b/lib/librte_eal/common/eal_common_memzone.c index a7cfdaf0

Re: [dpdk-dev] Fwd: PMD for Broadcom/Emulex OCe14000 OCP Skyhawk-R

2018-03-08 Thread sujith sankar
On Thu, Mar 8, 2018 at 12:50 PM, Vincent JARDIN wrote: > Le 07/03/2018 à 04:56, sujith sankar a écrit : >> >> Is PMD for Broadcom/Emulex OCe14000 OCP Skyhawk-R available? There >> are a few documents in Broadcom's site. But could not find the source >> code of it. > > > Right, it has not been up

Re: [dpdk-dev] [PATCH v3 10/10] net/enic: support for meson

2018-03-08 Thread Bruce Richardson
On Wed, Mar 07, 2018 at 06:47:02PM -0800, John Daley wrote: > From: Hyong Youb Kim > > Signed-off-by: Hyong Youb Kim > Reviewed-by: John Daley > --- > drivers/net/enic/meson.build | 19 +++ > drivers/net/meson.build | 2 +- > 2 files changed, 20 insertions(+), 1 deletion(

Re: [dpdk-dev] [PATCH v2 36/41] net/ena: use contiguous allocation for DMA memory

2018-03-08 Thread Michał Krawczyk
2018-03-07 17:57 GMT+01:00 Anatoly Burakov : > Signed-off-by: Anatoly Burakov Acked-by: Michal Krawczyk > --- > drivers/net/ena/base/ena_plat_dpdk.h | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/ena/base/ena_plat_dpdk.h > b/drivers/net/ena/base/ena_

Re: [dpdk-dev] [PATCH 00/41] Memory Hotplug for DPDK

2018-03-08 Thread Burakov, Anatoly
On 07-Mar-18 4:05 PM, Burakov, Anatoly wrote: On 07-Mar-18 3:27 PM, Nélio Laranjeiro wrote: Hi Anatoly, I am trying to run some test with this series, but it seems to be based on some other commits of yours. I have already identified the following one [1] it seems I am missing some others. It

Re: [dpdk-dev] [RFC] config: remove RTE_NEXT_ABI

2018-03-08 Thread Thomas Monjalon
07/03/2018 18:44, Ferruh Yigit: > After experimental API process defined do we still need RTE_NEXT_ABI > config and process which has similar targets? They are different targets. Experimental API is always enabled but may be avoided by applications. Next ABI can be used to break ABI without notice