[dpdk-dev] [PATCH v2] net/bonding: fix buf corruption in merging un-transmitted packets

2018-08-19 Thread Jia Yu
When bond slave devices cannot transmit all packets in bufs array, tx_burst callback shall merge the un-transmitted packets back to bufs array. Recent merge logic introduced a bug which causes invalid mbuf addresses being written to bufs array. When caller frees the un-transmitted packets, due to i

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

2018-08-19 Thread Marco Varlese
Hi Luca & all, I have gone through the usual smoke tests using test_pmd and OvS-DPDK. I have not experienced any issues with the -rc1 release. Thanks, Marco On Mon, 2018-08-13 at 19:21 +0100, luca.bocca...@gmail.com wrote: > Hi all, > > Here is a list of patches targeted for LTS release 16.11.

Re: [dpdk-dev] [PATCH] net/bonding: fix buf corruption in merging un-transmitted packets

2018-08-19 Thread Chas Williams
On Sun, Aug 19, 2018 at 6:19 PM Jia Yu wrote: > Hi Chas, > > > > Thanks for reviewing the change. > > > > Our application crashed after upgrading to DPDK 18.02, when packet rate is > high and bond is configured. It happened because txq contains invalid mbuf > addresses after rte_eth_tx_burst call

Re: [dpdk-dev] [PATCH] net/bonding: fix buf corruption in merging un-transmitted packets

2018-08-19 Thread Chas Williams
On Sun, Aug 19, 2018 at 6:19 PM Jia Yu wrote: > Hi Chas, > > > > Thanks for reviewing the change. > > > > Our application crashed after upgrading to DPDK 18.02, when packet rate is > high and bond is configured. It happened because txq contains invalid mbuf > addresses after rte_eth_tx_burst call

Re: [dpdk-dev] [PATCH] net/bonding: fix buf corruption in merging un-transmitted packets

2018-08-19 Thread Jia Yu
Hi Chas, Thanks for reviewing the change. Our application crashed after upgrading to DPDK 18.02, when packet rate is high and bond is configured. It happened because txq contains invalid mbuf addresses after rte_eth_tx_burst call (for example, 0x1 repeated 13 times in one core dump). I

[dpdk-dev] dpaa2: building with EXTRA_CFLAGS="-g -O0" and shared libs link error

2018-08-19 Thread Wiles, Keith
I am building on Ubuntu 18.04.1 LTS, gcc 7.3.0-16ubuntu3 and with EXTRA_CFLAGS=“-g -O0” with shared libs enabled. I get an undefined reference to rte_dpaa2_memsegs when building portal/dpaa2_hw_dpio.c in the link phase. The odd part is this does not happen unless you are building with EXTRA_CF

Re: [dpdk-dev] [PATCH v2 2/4] eventdev: add caps API and PMD callbacks for eth Tx adapter

2018-08-19 Thread Jerin Jacob
-Original Message- > Date: Fri, 17 Aug 2018 09:50:50 +0530 > From: Nikhil Rao > To: jerin.ja...@caviumnetworks.com, olivier.m...@6wind.com > CC: dev@dpdk.org, Nikhil Rao > Subject: [PATCH v2 2/4] eventdev: add caps API and PMD callbacks for eth Tx > adapter > X-Mailer: git-send-email 1.8

Re: [dpdk-dev] [PATCH v2 1/4] eventdev: add eth Tx adapter APIs

2018-08-19 Thread Jerin Jacob
-Original Message- > Date: Fri, 17 Aug 2018 09:50:49 +0530 > From: Nikhil Rao > To: jerin.ja...@caviumnetworks.com, olivier.m...@6wind.com > CC: dev@dpdk.org, Nikhil Rao > Subject: [PATCH v2 1/4] eventdev: add eth Tx adapter APIs > X-Mailer: git-send-email 1.8.3.1 > > > The ethernet Tx

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] net/mlx5: fix RSS flow action hash type selection

2018-08-19 Thread Shahaf Shuler
Tuesday, August 14, 2018 2:17 PM, Shahaf Shuler: > Subject: [dpdk-stable] [PATCH v2] net/mlx5: fix RSS flow action hash type > selection > > On the code after the below commits, the criteria to select the IPV4 or > IPV6 hash functions was the existence of some ETH_RSS_IPV4 RSS types on > the flow

Re: [dpdk-dev] [RFC v3 3/6] lib/mempool: allow page size aligned mempool

2018-08-19 Thread Jerin Jacob
-Original Message- > Date: Thu, 16 Aug 2018 22:43:18 +0800 > From: Qi Zhang > To: dev@dpdk.org > CC: magnus.karls...@intel.com, bjorn.to...@intel.com, > jingjing...@intel.com, xiaoyun...@intel.com, ferruh.yi...@intel.com, Qi > Zhang > Subject: [dpdk-dev] [RFC v3 3/6] lib/mempool: allow