From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) by dpdk.org (Postfix) with ESMTP id 45B209FE for ; Thu, 5 Oct 2017 14:50:24 +0200 (CEST) Received: by mail-wr0-f170.google.com with SMTP id y44so5430839wrd.4 for ; Thu, 05 Oct 2017 05:50:24 -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=cTJ85PnaGRvSXG6ZGLNDcAXvZ81S42JjsZ5Lib9JDjo=; b=GrLO2YMvyg991iYba4VJoCWhBTI10bKirM87S2dcsIFdksaYFHt2+z/4Ty1GVVOnHs fd0ku5H7FEwbkCB9L6gzWGTD5KKKR2ILyqPHx2+fSyMrEYOH0imL2My/x9AnGvSjgq2p nzemovQOhGWKqPGDcCk7XXTEf/d5H8UNKRyh6oVWCgNStyKTD+WOdzuS+D7IHdBp5q0v QL+Dasz2f5a2OdmDXI1PWErUrAMqYU/RUV8XEG2V9FSYrF40oKnORbGCcBFhy45Se6Rx IY3LI1FMJ8ppomU59Tr7kxZCwJiZTu9f7YwLxN3kcHC04lzUGkJfuX7/7k2tGGXKwXkq 2stw== 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=cTJ85PnaGRvSXG6ZGLNDcAXvZ81S42JjsZ5Lib9JDjo=; b=OEDu42cLv9guzII5pEQ+6K/HsIHjTvCwmzBeLMp9AnS3iJoktJmEr+zUnOaTd+Edcu TY0R39faqGtQtOfQXCaItH9cXfDyJTW7UHOjuJXvDeIRl6NQ1E/dkxlW8eMggxPIHfE2 s3XPc5HrftchoeSTjQc4amsQMzjPEVtt1nchE8mlsHtLw+iEZNCF23Qlytn8HCLTErvR Sc/03xgBw+KPuZPasCTHS7sVvw/KOwjrAInYqkaDlj8MgXg1n5bZmMZ5NLvkprwWxHIV SUjVO2lsuIICxKSLgar2omQ1fPHfshLGq/lGGw+EX7PpZYjTq5tyeWL4+lEqn5uZuhZf fgSA== X-Gm-Message-State: AHPjjUg7wvyeIZKCIxB4L0OXvtlzdAqBhNjwLsp/B2oH9+RLRbSt6UCk nxWrjLymQ/++vt59VidRSBjybMXibw== X-Google-Smtp-Source: AOwi7QCfubCRgZ23rm4lA0O9M0TvHURhj0w/mKQ3VlZaXbV7HXzGSotAvj8aOVUFHkoYDsZfSKPy7g== X-Received: by 10.223.199.130 with SMTP id l2mr21344861wrg.113.1507207823489; Thu, 05 Oct 2017 05:50:23 -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 k9sm26405823wrk.27.2017.10.05.05.50.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Oct 2017 05:50:22 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: adrien.mazarguil@6wind.com, yskoh@mellanox.com, ferruh.yigit@intel.com Date: Thu, 5 Oct 2017 14:49:32 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v2 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: Thu, 05 Oct 2017 12:50:24 -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 v2: * rebase on upstream rdma-core/MLNX_OFED 4.2 * split in smaller patches This series apply on top of: http://dpdk.org/ml/archives/dev/2017-September/075575.html 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 | 263 ++-- 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 | 284 ++-- 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 | 58 +- 20 files changed, 4241 insertions(+), 4391 deletions(-) delete mode 100644 drivers/net/mlx5/mlx5_fdir.c -- 2.1.4