Re: [dpdk-dev] [PATCH v2 1/3] eal: introduce structure marker typedefs

2019-12-26 Thread Matan Azrad
Hi From: Jerin Jacob > From: Jerin Jacob > > Introduce EAL typedef for structure 1B, 2B, 4B, 8B alignment marking and a > generic marker for a point in a structure. > > Signed-off-by: Jerin Jacob > --- > > v2: > - Changed __extension__ to RTE_STD_C11 (Thomas) > - Change "a point" to "any pl

Re: [dpdk-dev] [PATCH v4 2/5] net/i40e: cleanup Tx buffers

2019-12-26 Thread Xing, Beilei
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Chenxu Di > Sent: Tuesday, December 24, 2019 10:39 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; Di, ChenxuX > > Subject: [dpdk-dev] [PATCH v4 2/5] net/i40e: cleanup Tx buffers > > Add support to the i40e driver f

Re: [dpdk-dev] [RFC] mempool: introduce indexed memory pool

2019-12-26 Thread Olivier Matz
Hi Xueming, On Thu, Oct 17, 2019 at 06:55:01AM +, Xueming Li wrote: > Indexed memory pool manages memory entries by index, allocation from > pool returns both memory pointer and index(ID). users save ID as u32 > or less(u16) instead of traditional 8 bytes pointer. Memory could be > retrieved f

[dpdk-dev] [PATCH] mbuf: document how to set length when attaching ext buffer

2019-12-26 Thread Olivier Matz
From: Jörg Thalheim Enhance API documentation of rte_pktmbuf_attach_extbuf() to explain that the attached mbuf is initialized with length = 0. Link: https://bugs.dpdk.org/show_bug.cgi?id=362 Signed-off-by: Jörg Thalheim Signed-off-by: Olivier Matz --- Hi, This patch is a slight reword of a

Re: [dpdk-dev] 18.11.6 (LTS) patches review and test

2019-12-26 Thread Ali Alnubani
Hi, > -Original Message- > From: Kevin Traynor > Sent: Wednesday, December 18, 2019 1:42 PM > To: sta...@dpdk.org > Cc: dev@dpdk.org; Abhishek Marathe ; > Akhil Goyal ; Ali Alnubani ; > benjamin.wal...@intel.com; David Christensen ; > Hemant Agrawal ; Ian Stokes > ; Jerin Jacob ; John McN

Re: [dpdk-dev] Inconsistent behavior of mempool with regards to hugepage allocation

2019-12-26 Thread Olivier Matz
Hi Bao-Long, On Mon, Dec 23, 2019 at 07:09:29PM +0800, Bao-Long Tran wrote: > Hi, > > I'm not sure if this is a bug, but I've seen an inconsistency in the behavior > of DPDK with regards to hugepage allocation for rte_mempool. Basically, for > the > same mempool size, the number of hugepages al

Re: [dpdk-dev] [PATCH v2] mbuf: display more fields in dump

2019-12-26 Thread Olivier Matz
Hi, On Thu, Nov 21, 2019 at 10:30:55AM -0800, Stephen Hemminger wrote: > The rte_pktmbuf_dump should display offset, refcount, and vlan > info since these are often useful during debugging. > > Signed-off-by: Stephen Hemminger > --- > v2 - remove casts, change in_port to port > the refcount

Re: [dpdk-dev] [PATCH] lib: fix unnecessary boolean casts

2019-12-26 Thread Olivier Matz
On Mon, Dec 02, 2019 at 09:15:17AM +, Ciara Power wrote: > The values already boolean types, so the use of !! is unnecessary as > it is used to convert to boolean. > > Fixes: ea672a8b1655 ("mbuf: remove the rte_pktmbuf structure") > Fixes: a0fd91cefcc0 ("mempool: rename functions with confusin

Re: [dpdk-dev] [PATCH v2 3/3] mbuf: use structure marker typedef in eal

2019-12-26 Thread Olivier Matz
On Thu, Dec 19, 2019 at 04:55:07PM +0530, jer...@marvell.com wrote: > From: Jerin Jacob > > Use new marker typedef available in EAL and remove private marker > typedef. > > Signed-off-by: Jerin Jacob Acked-by: Olivier Matz Thanks

Re: [dpdk-dev] [PATCH v2] mbuf: display more fields in dump

2019-12-26 Thread Stephen Hemminger
On Thu, 26 Dec 2019 17:15:39 +0100 Olivier Matz wrote: > Hi, > > On Thu, Nov 21, 2019 at 10:30:55AM -0800, Stephen Hemminger wrote: > > The rte_pktmbuf_dump should display offset, refcount, and vlan > > info since these are often useful during debugging. > > > > Signed-off-by: Stephen Hemminger

[dpdk-dev] DPDK20.02 Mellanox Roadmap

2019-12-26 Thread Asaf Penso
This is Mellanox's roadmap for DPDK20.02, which we are working on currently. Enable zero copy to/from GPU, Storage-device etc. * Enable a pinned external buffer with pktmbuf pool: * Introducing a new flag on the rte_pktmbuf_pool_private to specify this mempool is for mbuf with a pinned extern

Re: [dpdk-dev] [PATCH v3] net/i40e: fix TSO pkt exceeds allowed buf size issue

2019-12-26 Thread Zhang, Qi Z
> -Original Message- > From: Li, Xiaoyun > Sent: Thursday, December 26, 2019 2:46 PM > To: Zhang, Qi Z ; Xing, Beilei ; > Loftus, Ciara ; dev@dpdk.org > Cc: Li, Xiaoyun ; sta...@dpdk.org > Subject: [PATCH v3] net/i40e: fix TSO pkt exceeds allowed buf size issue > > Hardware limits that

Re: [dpdk-dev] [PATCH] net/ice: fix TSO pkt exceeds allowed buf size issue

2019-12-26 Thread Zhang, Qi Z
> -Original Message- > From: Li, Xiaoyun > Sent: Thursday, December 26, 2019 2:43 PM > To: Zhang, Qi Z ; Xing, Beilei ; > Yang, Qiming ; Lu, Wenzhuo > ; Loftus, Ciara ; > dev@dpdk.org > Cc: Li, Xiaoyun ; sta...@dpdk.org > Subject: [PATCH] net/ice: fix TSO pkt exceeds allowed buf size is

Re: [dpdk-dev] [PATCH v2] net/ice: fix TSO pkt exceeds allowed buf size issue

2019-12-26 Thread Zhang, Qi Z
> -Original Message- > From: Li, Xiaoyun > Sent: Thursday, December 26, 2019 2:54 PM > To: Zhang, Qi Z ; Xing, Beilei ; > Yang, Qiming ; Lu, Wenzhuo > ; Loftus, Ciara ; > dev@dpdk.org > Cc: Li, Xiaoyun ; sta...@dpdk.org > Subject: [PATCH v2] net/ice: fix TSO pkt exceeds allowed buf size

[dpdk-dev] pci device access from dpdk secondary process with igb_uio

2019-12-26 Thread vijay mohan
Hi All, I am trying to use pci vf device with secondary process in a multiple process mode and finding pci_dev->mem_resource[0].addr to be NULL. This happens when the pci device is attached to igb_uio.ko but with vfio_pci it works fine. Looking at the pci device initialization part for secondary p

[dpdk-dev] [PATCH v5 1/4] net/i40e: cleanup Tx buffers

2019-12-26 Thread Chenxu Di
Add support to the i40e driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev_vf.c | 1 + drivers/net/i40e/i40e_rxtx.c | 122 ++

[dpdk-dev] [PATCH v5 0/4] drivers/net: cleanup Tx buffers

2019-12-26 Thread Chenxu Di
Add support to the drivers inclulding i40e, ice, ixgbe and igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. --- v2: added code about igb vf. v3: changed information of author v4: changed code. v5: fixed code and notes. removed code for fm10k. Chenxu Di (4):

[dpdk-dev] [PATCH v5 4/4] net/e1000: cleanup Tx buffers

2019-12-26 Thread Chenxu Di
Add support to the igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/e1000/igb_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index a3e30dbe

[dpdk-dev] [PATCH v5 3/4] net/ixgbe: cleanup Tx buffers

2019-12-26 Thread Chenxu Di
Add support to the ixgbe driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 + drivers/net/ixgbe/ixgbe_rxtx.c | 121 +++ drivers/net/ixgbe/ixgbe_rxtx.h | 2 +

[dpdk-dev] [PATCH v5 2/4] net/ice: cleanup Tx buffers

2019-12-26 Thread Chenxu Di
Add support to the ice driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ice/ice_ethdev.c | 1 + drivers/net/ice/ice_rxtx.c | 123 +++ drivers/net/ice/ice_rxtx.h | 1 + 3 files ch

Re: [dpdk-dev] [PATCH v3 36/36] net/i40e/base: add new link speed constants

2019-12-26 Thread Xing, Beilei
> -Original Message- > From: Ye, Xiaolong > Sent: Monday, December 16, 2019 10:44 AM > To: Xing, Beilei ; Zhang, Qi Z > Cc: dev@dpdk.org; Stillwell Jr, Paul M ; Ye, > Xiaolong ; Loktionov, Aleksandr > > Subject: [PATCH v3 36/36] net/i40e/base: add new link speed constants > > This pat