From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrien Mazarguil Subject: [PATCH v2 0/7] Performance optimizations for mlx5 and mlx4 Date: Mon, 22 Feb 2016 19:17:56 +0100 Message-ID: <1456165083-28316-1-git-send-email-adrien.mazarguil@6wind.com> References: <1454063573-1993-1-git-send-email-adrien.mazarguil@6wind.com> To: dev@dpdk.org Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id A6D1F2C5F for ; Mon, 22 Feb 2016 19:18:22 +0100 (CET) Received: by mail-wm0-f48.google.com with SMTP id b205so167524293wmb.1 for ; Mon, 22 Feb 2016 10:18:22 -0800 (PST) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id 8sm22239804wmk.13.2016.02.22.10.18.21 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 22 Feb 2016 10:18:21 -0800 (PST) In-Reply-To: <1454063573-1993-1-git-send-email-adrien.mazarguil@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset improves the mlx5 PMD performance by doing better prefetching, by reordering internal structure fields and by removing a few unnecessary operations. Note: should be applied after "Add flow director and RX VLAN stripping support" to avoid conflicts. Changes in v2: - Rebased patchset on top of dpdk-next-net/rel_16_04. - Fixed missing update for receive function in rxq_rehash(). - Added a commit to register memory on page boundaries instead of mempool object boundaries for better performance (mlx4 and mlx5). Adrien Mazarguil (1): mlx: use aligned memory to register regions Nelio Laranjeiro (6): mlx5: prefetch next TX mbuf header and data mlx5: reorder TX/RX queue structure mlx5: remove one indirection level from RX/TX functions mlx5: process offload flags only when requested mlx5: avoid lkey retrieval for inlined packets mlx5: free buffers immediately after completion drivers/net/mlx4/mlx4.c | 58 ++++++++++--- drivers/net/mlx5/Makefile | 1 + drivers/net/mlx5/mlx5_rxq.c | 22 +++-- drivers/net/mlx5/mlx5_rxtx.c | 189 +++++++++++++++++++++++++++---------------- drivers/net/mlx5/mlx5_rxtx.h | 55 ++++++++----- drivers/net/mlx5/mlx5_txq.c | 14 ++++ 6 files changed, 236 insertions(+), 103 deletions(-) -- 2.1.4