From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id C13AD1B1BF for ; Wed, 11 Oct 2017 20:32:19 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id f4so7334762wme.0 for ; Wed, 11 Oct 2017 11:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4C+U38QL+UlHohJwf1G3B4nXhsPaGUlBiwSjWSahfHA=; b=rP4ckosXxHV+958IGKYribH98olL3yxTMtQN2vvAqx0lJBlLmSNMOAt5BNrUmsxG2A 1IfhPC80NQXKNvSK8MTZUZXvdzUqAc+HhMPes3IrdcphYdF/7b8pLBK39FIgJc8zscN+ nPPFgnUYmryZOlCfer8rnLvasOSexvKwCBEhxJwPbkEEL3J6i5fq9twvMOytbD4QmFkV VxArJfhwh0kbuBMXspvtcy57Dkr1HnI/GY1Bf+OyGKW5IKCxs5y4eisxZ5qKj+3ew4/o Z6syqy5NPWbBMp96K8rUjRivexkxNgU7qIpOPaC8YSgzqhJwp/NuxHpWp7nrz4YFpnsU 93XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4C+U38QL+UlHohJwf1G3B4nXhsPaGUlBiwSjWSahfHA=; b=n2QI7hJtS2YCuEjNLFADwN1J/Oie3muSIvRO5l5FoztCASF9LVo7lKDcb5lzbMJNnt 6xfDY5ysVJ9kn0qs/e7Z8VboCBEWOtb5NaHV8QdYrI5fe+DK8PagU4dLw/oQ5F8/raok UXRDyON0JJVg6x4O/3lGEZb6xsaO7eApFJfcbdu4PqlWldhtHFttFyxjfm518ni5Y2i/ gs6jeKNMXj8QrO1jKz7iZcezIkToWVAOOjbJs7h1dHRq7BgGOo/q2MHq2P3NnzIfTcVN BKX1YeXtjK/CyEbaTylBEHAC7hBPpbw3LngOupwdzWTGsDwGWFkySs7pHi+UXjUEA1pM PTDw== X-Gm-Message-State: AMCzsaVJeLN2cllxXeqV0K3fMZm0EIZ6Md4IeMIo1gfNdn8eTMGRW6zm W3r4gaEdFKK0+7yGezTE932P7A== X-Google-Smtp-Source: AOwi7QD/dNS79oJm8XnnE37A5cSo8sc9ebmHZX4gFBMJKAxHgB+FEwBv+MdTpRgZ9drAF8gmGOTZ8Q== X-Received: by 10.223.153.130 with SMTP id y2mr388891wrb.165.1507746739489; Wed, 11 Oct 2017 11:32:19 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id l73sm15268350wmd.47.2017.10.11.11.32.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 11:32:18 -0700 (PDT) From: Adrien Mazarguil To: Ferruh Yigit Cc: dev@dpdk.org, Matan Azrad , Ophir Munk , Moti Haimovsky Date: Wed, 11 Oct 2017 20:31:57 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: <1507195992-12513-1-git-send-email-ophirmu@mellanox.com> References: <1507195992-12513-1-git-send-email-ophirmu@mellanox.com> Subject: [dpdk-dev] [PATCH v5 0/5] new mlx4 datapath bypassing ibverbs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 18:32:19 -0000 Hopefully the last iteration for this series. v5 (Ophir & Adrien): - Merged Rx scatter/Tx gather code back into individual Rx/Tx commits for consistency due to a couple of issues with gather-less Tx. - Rebased on top of the latest mlx4 control path changes (RSS support). v4 (Ophir): - Split "net/mlx4: restore Rx scatter support" commit from "net/mlx4: restore full Rx support bypassing Verbs" commit v3 (Adrien): - Drop a few unrelated or unnecessary changes such as the removal of MLX4_PMD_TX_MP_CACHE. - Move device checksum support detection code to its previous location. - Fix include guard in mlx4_prm.h. - Reorder #includes alphabetically. - Replace MLX4_TRANSPOSE() macro with documented inline function. - Remove extra spaces and blank lines. - Use uint8_t * instead of char * for buffers. - Replace mlx4_get_cqe() macro with a documented inline function. - Replace several unsigned int with uint32_t. - Add consistency to field names (sge_n => sges_n). - Make mbuf size checks in RX queue setup function similar to mlx5. - Update various comments. - Fix indentation. - Replace run-time endian conversion with static ones where possible. - Reorder fields in struct rxq and struct txq for consistency, remove one level of unnecessary inner structures. - Fix memory leak on Tx bounce buffer. - Update commit logs. - Fix remaining checkpatch warnings. v2 (Matan): Rearange patches. Semantics. Enhancements. Fix compilation issues. Moti Haimovsky (5): net/mlx4: add Tx bypassing Verbs net/mlx4: add Rx bypassing Verbs net/mlx4: restore Tx checksum offloads net/mlx4: restore Rx offloads net/mlx4: add loopback Tx from VF drivers/net/mlx4/mlx4.c | 11 + drivers/net/mlx4/mlx4.h | 2 + drivers/net/mlx4/mlx4_ethdev.c | 10 + drivers/net/mlx4/mlx4_prm.h | 151 +++++++ drivers/net/mlx4/mlx4_rxq.c | 156 +++++--- drivers/net/mlx4/mlx4_rxtx.c | 768 ++++++++++++++++++++++++++---------- drivers/net/mlx4/mlx4_rxtx.h | 54 +-- drivers/net/mlx4/mlx4_txq.c | 63 +++ 8 files changed, 942 insertions(+), 273 deletions(-) create mode 100644 drivers/net/mlx4/mlx4_prm.h -- 2.1.4