From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=Y1CW1l+CoQWLCxzVGLyKvxKwgh5ND9TyQbW8G9p8lGQ=; b=FT4ORb3Sf0RXazRLZvgIBeakLsRHCtP/00pp6Y5zAp/OnOiprk0Dg7DOeNqcL06x+0 QrMD7QBw9QqwkQxxFBo1eG4GnlExh29rxO7QZy1ARGwOilEq8IdyOm/74nnF1jwdOKt+ 5Kxw7KSo1XwUlx9B6AvQEanNqjIwX3d/PKzUxgn1vuanyB4WEmy5I5uAGy7Evy/pB1Pg 1tzbwhlyVPfU3SdeVLbVgRh9juWINZ/sAPQrPxF9r8+5K4tRfgssKXy5FmYANgAUbSgf iQYFaiQ1sWLvTuCSxU5jIOQAQ/u/bbph1zknu1zstJ9e+Oa8jd6iCdFIyZ7GORyJxOz9 PanA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Y1CW1l+CoQWLCxzVGLyKvxKwgh5ND9TyQbW8G9p8lGQ=; b=X2VBsC+D10ILw0xi4qSBTDk5szwS4zl8vgRyYb1KUlS6P4AupVvR3wrDjMusqs02YT Lm47sU5J9T8AMnPtyUvXH7PcN6xHcB2XekovaqUl93plp+5iEN52FB3heb1P1a85Rc1G 3M0B5jBLNnaJGarbBsMCtW3mG1PryXqi5XJojqqSJFLJ3t9IPLqP9zKrNb5Um7XtcVgU PfLtpv8JN/Nb0ENrxse792jLMslSpew9M7XC1VBo7rbZ9fPs/9jeaRGVf/Z2QF0NUvdB LXlQG6oZscTnPQVL1YJYW/OYxa0xmL0wusw4es3U6u82BwlhIdf5bRnBi6asgj/bd6Uz AEnw== X-Gm-Message-State: AG10YORBbKPae4vwgr462f+2vzsxqwuU53DzqvDWIudiI0/fUKxkNKfJoK+SNLNB5/WoyMz6 X-Received: by 10.28.95.6 with SMTP id t6mr13073019wmb.59.1456165102484; 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) From: Adrien Mazarguil To: dev@dpdk.org Date: Mon, 22 Feb 2016 19:17:56 +0100 Message-Id: <1456165083-28316-1-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1454063573-1993-1-git-send-email-adrien.mazarguil@6wind.com> References: <1454063573-1993-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH v2 0/7] Performance optimizations for mlx5 and mlx4 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 18:18:22 -0000 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