From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 726FC2BAA for ; Thu, 3 Mar 2016 15:27:34 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id l68so133729742wml.0 for ; Thu, 03 Mar 2016 06:27:34 -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=P4+YTIT9cnMi0S739Ycfu+mvKsiZseg856VKTuSE0Vw=; b=NaIJ4gnQucnVjWxlLvb6p+Os1SPqe9O/2vzy5q65CQl6By35IjkSJAo10n1LNIzmPL BF3PRvrgPNRnKaexknM2F/XGERs1ZsDtNO+5PkfioegMDL96T3cdoA+KPFTvn5onHqmB wZt8S5RYpRIat5BC12JGGG5fdEJkSZg9qvduCpzTzL2p8gltT0gPHaY8Z7qoAkcOdYqd 5zJYJa4VcM0uTy+Mm36pblXr5/pQY3vh7qrYT/dbL9mp4BaLOf6DXPve4Ocp+ZtPlsFJ WUbcKNryR9nk2NI81FkIwkUpHWRDaQyCs5X0XH9uu1vMxfY0PYGCYaRClR/SuYjj+xK+ EXzg== 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=P4+YTIT9cnMi0S739Ycfu+mvKsiZseg856VKTuSE0Vw=; b=YU7uuKjvOSRuTuq9MJSJ7l415NuJqf0rtiAJ3y4/eOL4Hmk0KlzdLA2TeGnBsZjAbx 4b/H/R2Taa/Mk9c3Vgd9b0Z+pF4Sb/TWggBsYiYzK3pf2rbZ/DNXQ/PpyMMG0Xfl4nzJ AS8pITkTn+tOKZLbCEIZZEvGO7TgIUp//DKdos2fEMq7HafZwOSdqdPy86Se63FIE2F0 PJ809DjhxK6gyc/PWZVbNayq4kPAwEIzq+7erTkghdjXrC/2pFMtFhJ+nfwB9OSxMyWv zaoqXW3v+jo0tG3A/RlVKI33G1XIDWscQ0hi1twnOSP0G7zjYfki8my/Xj8piVhJ1MQL T0Jg== X-Gm-Message-State: AD7BkJIqK7zIhTxgo5ja2ueVr0Fw/4+GST5a69tfmPGnAGfSzr8ohFV7ZsMLEg/h+mmC+aJ1 X-Received: by 10.194.48.111 with SMTP id k15mr3698629wjn.103.1457015254354; Thu, 03 Mar 2016 06:27:34 -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 i2sm40908409wje.22.2016.03.03.06.27.33 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Mar 2016 06:27:33 -0800 (PST) From: Adrien Mazarguil To: dev@dpdk.org Date: Thu, 3 Mar 2016 15:27:10 +0100 Message-Id: <1457015237-2993-1-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1456165083-28316-1-git-send-email-adrien.mazarguil@6wind.com> References: <1456165083-28316-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH v3 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: Thu, 03 Mar 2016 14:27:34 -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 v3: - None, submitted again due to dependency with previous patchset. 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