From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id B7C771B1B2 for ; Mon, 9 Oct 2017 16:45:27 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id k4so24186450wmc.1 for ; Mon, 09 Oct 2017 07:45:27 -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=AV304cMmEOap6sURZzp8BT70jZXG1LX4Ld69Ii3ugDk=; b=O8fVmSz7SOfY6xB+xsoxsg39FuJXGdp4374CuImHZOslO4T58AFEfSSBa09leR5KnB PhQEdmzMP44Vme/Y1iQ2aIP7JXz0OshQCHI9PIS+1F0BkrlKVNwtzA6CUR919/XU7lm8 XONMZvWlz0i51VXNHnbU8drg08oAa5ejnUW59KpWOInQKNwxzsjxZ/KL9DHt/iEiy4ma SCXxwXcmZ1H8+KAy3k717DdLMiG52rlBcCHV4zEYXzxt5F41ds8lONe7v/15B/0srOMm gZ4kWuei0gLMkjSqhOoFZcrbIPPN1CSeaGxj1WNRV8S9StykncpqMSlAvhQMbLdT8nZj yVwg== 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=AV304cMmEOap6sURZzp8BT70jZXG1LX4Ld69Ii3ugDk=; b=oLG76oQr8AcbNXZZEGuO5DzWmY0TAMHBDtmt7z3CjT95IZQftE6E2IW00Ms5PusA7g J7PR1d+TYKyg61hZzbh+s4M9BRjmMFEuMIZ4yyiYMoqd8EvBp+zx8pO8Vu3eCszAPS8Z zNYNmjH/0b3gWAukzoa2k/sMeNJ0yYQMZ02SPWwl9fnWcr57IGIfxdlB8ru+lPhDMOw6 yei9f2Am6HFXZ1b090jDSkvWLzBCLsE9bnVueQzFZ5XlsbbUvKI1ooiAfiroHBq9RhXe qvi1kbrdnSxakOIz+Z9cLKIDh5JqQS3HGkaz0frYruER9fpYN4p7v5j4lieclLY1Vig7 8GEQ== X-Gm-Message-State: AMCzsaU+pq8QUqK13L2wLwgE3IrBu6MPT/+zEmUboQxdAF4EEMyHVTog 6MVgaxDXcZ6Sbi+fe5yEjfqmZysofg== X-Google-Smtp-Source: AOwi7QBYom9oQ2TaiAWY8pxq2gFi+VZRyh9DunU6+9G9mJfBljtAlY0FdfO8EC5KKOHpW3pgj2+5xA== X-Received: by 10.28.212.65 with SMTP id l62mr7827957wmg.77.1507560326836; Mon, 09 Oct 2017 07:45:26 -0700 (PDT) Received: from ping.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id x15sm6791495wma.32.2017.10.09.07.45.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 07:45:26 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: adrien.mazarguil@6wind.com, yskoh@mellanox.com, ferruh.yigit@intel.com Date: Mon, 9 Oct 2017 16:44:36 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v3 00/30] net/mlx5: cleanup for isolated mode 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: Mon, 09 Oct 2017 14:45:27 -0000 This series cleanups the control plane part and the way it uses the different kind of objects (DPDK queues, Verbs Queues, ...). It has three goals: 1. Reduce the memory usage by sharing all possible objects. 2. Leave the configuration to the control plane and the creation/destruction of queues to the dev_start/dev_stop() to have a better control on object and easily apply the configuration. 3. Create all flows through the generic flow API, it will also help to implement a detection collision algorithm as all flows are using the same service and thus the same kind of object. Changes in v3: * Fix illegal access in Tx queue mp2mr cache. * Fix some function documentations. * Use priv_dev_traffic_restart() in vlan_filter_set(). * Fix a bug in flow priorities. Changes in v2: * Rebase on upstream rdma-core/MLNX_OFED 4.2 * Split in smaller patches Nelio Laranjeiro (30): net/mlx5: merge action and flow parser structure net/mlx5: remove flow director support net/mlx5: prefix Rx structures and functions net/mlx5: prefix Tx structures and functions net/mlx5: remove redundant started flag net/mlx5: verify all flows are been removed on close net/mlx5: fix reta update can segfault net/mlx5: fix rxqs vector support verification net/mlx5: add reference counter on memory region net/mlx5: separate DPDK from Verbs Rx queue objects net/mlx5: separate DPDK from Verbs Tx queue objects net/mlx5: add reference counter on DPDK Tx queues net/mlx5: add reference counter on DPDK Rx queues net/mlx5: make indirection tables shareable net/mlx5: add Hash Rx queue object net/mlx5: fix clang compilation error net/mlx5: use flow to enable promiscuous mode net/mlx5: use flow to enable all multi mode net/mlx5: use flow to enable unicast traffic net/mlx5: handle a single RSS hash key for all protocols net/mlx5: remove hash Rx queues support net/mlx5: fully convert a flow to verbs in validate net/mlx5: process flows actions before of items net/mlx5: merge internal parser and actions structures net/mlx5: use a better name for the flow parser net/mlx5: reorganise functions in the file net/mlx5: move Verbs flows and attributes net/mlx5: handle RSS hash configuration in RSS flow net/mlx5: support flow director net/mlx5: add new operations for isolated mode drivers/net/mlx5/Makefile | 1 - drivers/net/mlx5/mlx5.c | 134 +- drivers/net/mlx5/mlx5.h | 91 +- drivers/net/mlx5/mlx5_defs.h | 3 - drivers/net/mlx5/mlx5_ethdev.c | 27 +- drivers/net/mlx5/mlx5_fdir.c | 1091 --------------- drivers/net/mlx5/mlx5_flow.c | 2475 +++++++++++++++++++++++++--------- drivers/net/mlx5/mlx5_mac.c | 407 +----- drivers/net/mlx5/mlx5_mr.c | 276 ++-- drivers/net/mlx5/mlx5_rss.c | 136 +- drivers/net/mlx5/mlx5_rxmode.c | 380 +----- drivers/net/mlx5/mlx5_rxq.c | 1999 ++++++++++++++------------- drivers/net/mlx5/mlx5_rxtx.c | 39 +- drivers/net/mlx5/mlx5_rxtx.h | 286 ++-- drivers/net/mlx5/mlx5_rxtx_vec_sse.c | 42 +- drivers/net/mlx5/mlx5_stats.c | 4 +- drivers/net/mlx5/mlx5_trigger.c | 320 ++++- drivers/net/mlx5/mlx5_txq.c | 876 +++++++----- drivers/net/mlx5/mlx5_utils.h | 2 + drivers/net/mlx5/mlx5_vlan.c | 56 +- 20 files changed, 4247 insertions(+), 4398 deletions(-) delete mode 100644 drivers/net/mlx5/mlx5_fdir.c -- 2.1.4