From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id F400191F0 for ; Mon, 5 Oct 2015 19:55:10 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so131827874wic.1 for ; Mon, 05 Oct 2015 10:55:10 -0700 (PDT) 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:mime-version :content-type:content-transfer-encoding; bh=JrRNCGAVJsLsV+DaM54TZhLMGG0iVn4qBmZPBa70Ufs=; b=AndL5DKbf0/HToT2uMEAaedukR/oGAIrZCl+Uwkjj5eU/4C630hDeqj8OkvWcb02H8 kn32oAWmCUFA9oSsX0nDzxtLpEDrqXuXbXGP0Pnt3127njepz965gT69Us/Tm+meR9+C bXZ0UjbZ4s6H3LIcOwKVK6NWU1uNWLUBmpP+dBt74ve/he2pTIT8Pmdj1Ws6RaUlj80a b44y6JEJIwVLari+dZNXcfaworvCFaoVrBiGRZiAWW+rcnWbquLUgTMKsfDs+7KHCFnp Q2nLWGOIZoUZ2EUdEdzR5tx+1VP3HW4avtI23R74N95ji6rAiSMNSSMapLjOest0SW3i 8DPA== X-Gm-Message-State: ALoCoQmyKuEPRxuiKNaQy0W7ToM/JxUH6ZsPSD37TxlZi0UKk/D1ajhmiZteuMi0LptWyALKjlca X-Received: by 10.180.210.162 with SMTP id mv2mr12173004wic.47.1444067710891; Mon, 05 Oct 2015 10:55:10 -0700 (PDT) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id ex17sm15785356wid.23.2015.10.05.10.55.10 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 05 Oct 2015 10:55:10 -0700 (PDT) From: Adrien Mazarguil To: dev@dpdk.org Date: Mon, 5 Oct 2015 19:54:35 +0200 Message-Id: <1444067692-29645-1-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 00/17] Enhance mlx5 with Mellanox OFED 3.1 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, 05 Oct 2015 17:55:11 -0000 Mellanox OFED 3.1 [1] comes with improved APIs that Mellanox ConnectX-4 (mlx5) adapters can take advantage of, such as: - Separate post and doorbell operations on all queues. - Lightweight RX queues called Work Queues (WQs). - Low-level RSS indirection table and hash key configuration. This patchset enhances mlx5 with all of these for better performance and flexibility. Documentation is updated accordingly. [1] http://www.mellanox.com/page/products_dyn?product_family=26&mtag=linux_sw_drivers Adrien Mazarguil (8): mlx5: use fast Verbs interface for scattered RX operation mlx5: get rid of the WR structure in RX queue elements mlx5: refactor RX code for the new Verbs RSS API mlx5: restore allmulti and promisc modes after device restart app/testpmd: fix missing initialization in the RSS hash show command mlx5: use experimental flows in hash RX queues mlx5: enable multi packet send WR in TX CQ doc: update mlx5 documentation Nelio Laranjeiro (5): mlx5: adapt indirection table size depending on RX queues number mlx5: add RSS hash update/get mlx5: use one RSS hash key per flow type app/testpmd: add missing type to RSS hash commands mlx5: remove normal MAC flows when enabling promiscuous mode Olga Shern (3): mlx5: use separate indirection table for default hash RX queue mlx5: define specific flow steering rules for each hash RX QP mlx5: use alternate method to configure promiscuous mode Yaacov Hazan (1): mlx5: fix compilation error with GCC < 4.6 app/test-pmd/cmdline.c | 45 +- app/test-pmd/config.c | 69 +- app/test-pmd/testpmd.h | 6 +- doc/guides/nics/mlx5.rst | 26 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +- drivers/net/mlx5/Makefile | 10 +- drivers/net/mlx5/mlx5.c | 69 +- drivers/net/mlx5/mlx5.h | 56 +- drivers/net/mlx5/mlx5_defs.h | 3 + drivers/net/mlx5/mlx5_ethdev.c | 53 +- drivers/net/mlx5/mlx5_mac.c | 214 ++++--- drivers/net/mlx5/mlx5_rss.c | 213 +++++++ drivers/net/mlx5/mlx5_rxmode.c | 327 +++++----- drivers/net/mlx5/mlx5_rxq.c | 938 ++++++++++++++++++---------- drivers/net/mlx5/mlx5_rxtx.c | 68 +- drivers/net/mlx5/mlx5_rxtx.h | 88 ++- drivers/net/mlx5/mlx5_trigger.c | 86 +-- drivers/net/mlx5/mlx5_txq.c | 7 + drivers/net/mlx5/mlx5_utils.h | 2 - drivers/net/mlx5/mlx5_vlan.c | 44 +- 20 files changed, 1451 insertions(+), 875 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_rss.c -- 2.1.0