From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 962A91B6C6 for ; Wed, 4 Oct 2017 20:49:17 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id m72so15366856wmc.0 for ; Wed, 04 Oct 2017 11:49:17 -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=wp8YsfXqZ50SkftD2lTWmu20lhCRuF/l9lxLH0A22/8=; b=GvhV78w5pd16g844h+hb5UIp/FNx6RiEnzIQBLPXsKvYal/ozpIpAq9+JQh+WZZFT7 RkXDDqR1ISB2WDLROoWOWAZpPJmRc6DWzwSymR688lrE+LfrPD+MgG0y1sPpoD9/4f+9 R3TI9q9crglVUb8cQIwWIPmQ6+O99eCS7DE2VWcA0UWolM6AqxCYCekAOZXPZPklKMmQ QV8DPQq0joTOde5tksmHMATlPPs38tGP+95BW+dZpGSD8uty4OGzpGr+jnzIS2dlqOXr sWwhX+UczudQMxR9eSzDc0dvC0blUpv3F1ZT7JlKWU3X4lQAY6437WLHo9wNX8SMc5Sw qs/Q== 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=wp8YsfXqZ50SkftD2lTWmu20lhCRuF/l9lxLH0A22/8=; b=r+dGtA/uST8kbjB0CteVpHRxN/wuIFbmQOwR2P0vns62Rzeolzez0I6MfKEA0giU/2 dqovaa5Ucob4C3FZeSt0e5TROWQmtDD/u/pz9d37wugy9wKQI+D0JjP1pnJVHzKkPj7t rR23YrHNfw2Y3B7YLJyA68T5S48QY8cBDg59mrrRaxawnERwlaYYpnWPbngZqPzA4zkR UF1I00jLncBIKOAcRbbUlJxU9IwuiWiw5cDYVYBrIc/FYyrm+l5idjA8A3TfUa5iZJpf DHLxzPksBwaJ/OJ7k3Ov81DwTgHHYQq/EnKK7AbjGvD5b3+aor4gQwyeWSWQK+OgTe6z XoIQ== X-Gm-Message-State: AMCzsaVKNCHdoAXVauHIBGruNSszo3YZ42aUutcHLzg516C06TTujwT4 1P2NPZaPNhOmQEg/QeM6HEgFF/PY X-Google-Smtp-Source: AOwi7QCSEU5NJxFgD2iggsY5RbbOOkwbLBTPhfpcnUUMRf5QOEMLIYJ3aSMDYERVB+28E7CRJFB+RA== X-Received: by 10.28.93.200 with SMTP id r191mr2726740wmb.19.1507142955892; Wed, 04 Oct 2017 11:49:15 -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 200sm17920459wmu.44.2017.10.04.11.49.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Oct 2017 11:49:14 -0700 (PDT) From: Adrien Mazarguil To: dev@dpdk.org Cc: Moti Haimovsky , Matan Azrad Date: Wed, 4 Oct 2017 20:48:52 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: <1507027711-879-1-git-send-email-matan@mellanox.com> References: <1507027711-879-1-git-send-email-matan@mellanox.com> Subject: [dpdk-dev] [PATCH v3 0/6] 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, 04 Oct 2017 18:49:17 -0000 Took me a while to finally review this series. Since there is not much time left, I'm taking care of v3 with several minor changes summarized below and my ack included directly. 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 (6): net/mlx4: add simple Tx bypassing Verbs net/mlx4: restore full Rx support bypassing Verbs net/mlx4: restore Tx gather support 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 | 152 +++++++ drivers/net/mlx4/mlx4_rxq.c | 179 ++++++--- drivers/net/mlx4/mlx4_rxtx.c | 768 ++++++++++++++++++++++++++---------- drivers/net/mlx4/mlx4_rxtx.h | 54 +-- drivers/net/mlx4/mlx4_txq.c | 67 +++- drivers/net/mlx4/mlx4_utils.h | 20 + mk/rte.app.mk | 2 +- 10 files changed, 975 insertions(+), 290 deletions(-) create mode 100644 drivers/net/mlx4/mlx4_prm.h -- 2.1.4