[dpdk-dev] [PATCH v1 2/4] drivers/net: fix note error for Rx vector

2021-07-22 Thread Feifei Wang
For the loop to process packets in Rx vector path, some notes for the code are wrong, fix these errors. fm10k: Fixes: 7092be8437bd ("fm10k: add vector Rx") Cc: jing.d.c...@intel.com i40e-altive: Fixes: c3def6a8724c ("net/i40e: implement vector PMD for altivec") Cc: gowrishanka...@linux.vnet.ibm.c

[dpdk-dev] [PATCH v1 3/4] net/i40e: reorder Rx NEON code for better readability

2021-07-22 Thread Feifei Wang
Rearrange the code in logical order for better readability and maintenance convenience in Rx NEON path. No performance change with this patch in arm platform. Suggested-by: Joyce Kong Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang --- drivers/net/i40e/i40e_rxtx_vec_neon.c | 99 +

[dpdk-dev] [PATCH v1 4/4] net/i40e: change code order to reduce L1 cache misses

2021-07-22 Thread Feifei Wang
For N1 platform, packet mbuf load and descs load are hot spots to limit the performance for "desc_to_ptype_v" and "desc_to_olflags_v" functions in i40e rx NEON path. This is because packet mbuf and descs are evicted from l1d-cache to l2d-cache. To reduce l1d-cache-misses and improve the performanc

Re: [dpdk-dev] [PATCH v2 5/6] ethdev: unify MTU checks

2021-07-22 Thread Huisong Li
在 2021/7/23 1:21, Ferruh Yigit 写道: Both 'rte_eth_dev_configure()' & 'rte_eth_dev_set_mtu()' sets MTU but have slightly different checks. Like one checks min MTU against RTE_ETHER_MIN_MTU and other RTE_ETHER_MIN_LEN. Checks moved into common function to unify the checks. Also this has benefit to

Re: [dpdk-dev] [dpdk-users] [DISCUSSION] code snippet documentation

2021-07-22 Thread Ajit Khaparde
On Thu, Jul 22, 2021 at 1:29 PM Thomas Monjalon wrote: > > 15/07/2021 09:01, Asaf Penso: > > Hello DPDK community, > > > > I would like to bring up a discussion about a way to have code snippets as > > an example for proper usage. > > The DPDK tree is filled with great pieces of code that are wel

Re: [dpdk-dev] [PATCH v7 0/5] vhost: handle memory hotplug for async vhost

2021-07-22 Thread Xia, Chenbo
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Friday, July 23, 2021 12:13 AM > To: Jiang, Cheng1 ; Xia, Chenbo > Cc: maxime.coque...@redhat.com; dev@dpdk.org; Hu, Jiayu ; > Yang, YvonneX ; david.march...@redhat.com > Subject: Re: [dpdk-dev] [PATCH v7 0/5] vhost: handle

<    1   2