From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id B9D0F997A for ; Wed, 2 Aug 2017 16:10:59 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id m85so42749619wma.1 for ; Wed, 02 Aug 2017 07:10:59 -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; bh=WSGwJ30whG4pmg5IIrFFwy703AjewIi+476hiqBVG08=; b=Goz36sVVwIkwMfOxMngc6l7xyeSCNxKQMkRUcb/oZWBzEzLXniBDLqWEp/fLYDU33g OKqyM6x3aWxpSZFLXO2B82bbORrzA5BQ8lMw61rb81OAmkWUNioxbG7huzEUtfNQuBJp IvGalMrBctmOUdCayKQ0l9vJ8to8+fkr/wkJQa8NF6gfqHvw1/Q9vEhra+PfIis21DDp x4HDOaSEXMa3X5n/q+USB2Z8OQjIN9cLniVAo+6Bu8ERsav0yOO+29W/2s3J4x8NJIP6 iGw1Zot/BVkjDWoYTxvcujuZqZbdmXCfsDW6Q5+dvYKwIeXeSM1d3+0PQnzpI5h3JY3K j9vw== 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; bh=WSGwJ30whG4pmg5IIrFFwy703AjewIi+476hiqBVG08=; b=joU/atdvUnBqcmuqY4TpIo4GUP9QIZ9nrSbSJkJkast/T9QMOH839bJJGOM+a+Bwy3 HlgkZwHtW831s93I+X+jskjr1R0xWf8Cj5bf1PKyEpEOHBO6PXAc73S0AGowduMKJ0WX 0zJQGNVYM95FvPJcvhEb/BbzdZncoALKETbasB/4FHTJ+4W/GFWMz4vpzvuvb9mykQag HI6lIXFBzAJZDuu5OQhvkG0ROBOsKxTd+x5AAAOQ/NrpHQ2B28NV+f1kgp63yeEu5PMH DXxVDG1KIGIrA9LF1M/Q6z8J32+iFLg2qNbXb22hZYPu47mjpLgOfSFu+5GbgWlxaDpD 0XhQ== X-Gm-Message-State: AIVw111SoAOo1yGgVBQFFBnryLXAgGux8rm6tQk5Fyk8hJaApJoT08GT OV0nSBHFuJtPUDs7tpftKg== X-Received: by 10.28.180.69 with SMTP id d66mr3795070wmf.56.1501683058689; Wed, 02 Aug 2017 07:10:58 -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 d53sm39449552wrd.81.2017.08.02.07.10.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Aug 2017 07:10:58 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: adrien.mazarguil@6wind.com Date: Wed, 2 Aug 2017 16:10:15 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH v1 00/21] 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: Wed, 02 Aug 2017 14:10:59 -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. Nelio Laranjeiro (21): net/mlx5: merge action and flow parser structure net/mlx5: remove flow director support net/mlx5: prefix Rx queue control structures net/mlx5: prefix Tx control queue structures net/mlx5: remove redundant started flag net/mlx5: verify all flows are been removed on close 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: remove queue drop support net/mlx5: make indirection tables sharable net/mlx5: add Hash Rx queue object net/mlx5: disable priority protection in flows 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: support RSS hash configuration in generic flow action doc/guides/nics/features/mlx5.ini | 1 - doc/guides/nics/mlx5.rst | 2 - drivers/net/mlx5/Makefile | 1 - drivers/net/mlx5/mlx5.c | 91 +- drivers/net/mlx5/mlx5.h | 85 +- drivers/net/mlx5/mlx5_defs.h | 3 - drivers/net/mlx5/mlx5_ethdev.c | 16 +- drivers/net/mlx5/mlx5_fdir.c | 1094 ------------------- drivers/net/mlx5/mlx5_flow.c | 1009 ++++++++++-------- drivers/net/mlx5/mlx5_mac.c | 403 +------ drivers/net/mlx5/mlx5_mr.c | 229 ++-- drivers/net/mlx5/mlx5_rss.c | 127 +-- drivers/net/mlx5/mlx5_rxmode.c | 376 +------ drivers/net/mlx5/mlx5_rxq.c | 1929 ++++++++++++++++------------------ drivers/net/mlx5/mlx5_rxtx.c | 39 +- drivers/net/mlx5/mlx5_rxtx.h | 285 +++-- drivers/net/mlx5/mlx5_rxtx_vec_sse.c | 35 +- drivers/net/mlx5/mlx5_stats.c | 4 +- drivers/net/mlx5/mlx5_trigger.c | 301 +++++- drivers/net/mlx5/mlx5_txq.c | 711 ++++++++----- drivers/net/mlx5/mlx5_utils.h | 2 + drivers/net/mlx5/mlx5_vlan.c | 61 +- 22 files changed, 2695 insertions(+), 4109 deletions(-) delete mode 100644 drivers/net/mlx5/mlx5_fdir.c -- 2.1.4