From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id BBD061BF71 for ; Thu, 5 Jul 2018 10:45:40 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id z13-v6so9478834wma.5 for ; Thu, 05 Jul 2018 01:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Ljkx+TowYAxMTzzrujOMa1vZhSny/h1A3+Ik32aue/M=; b=Q+qii/iHO4tbRJ42yvTSJPjqZwxguczOnRWmO1Pai8df5jM5Ikn+zn9vY420RAYLIk MjC3HdYUhmBhFNWvig0THbX3lFXHgfA3u5Mnoxw/7MdGLcKibfi8G8VB+klIanGgLNad MS1Zbmy/J1ohFVaqS+Rh1GKihIQgAtrNNFhWeePOCf2CMoW5qrdGz6eHXwzRd0dU1fTh xUYF5fDCJ4KXtKibV65gkqJg8xIcdfhXMPqJA5NR0HJGFRmdUoGFrfFXjT6XkgUdsrN2 nnUBDJlqar/ZQ5Tp8MRVFC6l8pbPVqJGJ0ch1qTO/LXnpG6TyFxvpqjsdMfXG3ivjusI /vbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Ljkx+TowYAxMTzzrujOMa1vZhSny/h1A3+Ik32aue/M=; b=lgw115zCvZQusrLSW+wlalcgY7QAPCe9heh3UffSlaxPJOF2RoVUq6rF86z3zbql1w monQqIi7idXbWKyjvmUkhNWlblPAz45W7sf0MqnXvnN4ICzKus6QFiY6SoEP24Y3HwER FMfJo2uVbJo7ahs/vY/wGhdeWi++N6o0aX+1ZiO6i0bnzrBPwWsOlhwFHjziXx4gu9+m Gh4CCwbVF3NyafDEW8uIVpG2rBFXEQ1E3Cy2YBls5WIepNM5WzgbB/b/rYX58tTFVAqT 1xxr3MCn1j8EmzXpEQdc8nGuo8N/XrNPB0bwLS0+uZf00dkfMuR7ybl8i8r9yPTuCQpR QFAQ== X-Gm-Message-State: APt69E1oFOE+MksmHM4207/E3oZ5J6M5vUwJWC8VJWP6lRmu9q3CLrbW t9zSNH8CZ5n9OuqpFUmcH8tlbw== X-Google-Smtp-Source: AAOMgpcEbOkmBwmudm2CcYLDGDlFoheyeq4c++Z+P6k82395gmitzRaGEMubXAUb/gc6PJhivLIyPA== X-Received: by 2002:adf:9d1c:: with SMTP id k28-v6mr4057656wre.29.1530780340560; Thu, 05 Jul 2018 01:45:40 -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 s12-v6sm1698075wmc.2.2018.07.05.01.45.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jul 2018 01:45:39 -0700 (PDT) Date: Thu, 5 Jul 2018 10:45:22 +0200 From: Adrien Mazarguil To: Shahaf Shuler Cc: dev@dpdk.org Message-ID: <20180705083934.5535-1-adrien.mazarguil@6wind.com> References: <20180704172322.22571-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180704172322.22571-1-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v4 00/10] net/mlx5: add port representor support 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 Jul 2018 08:45:40 -0000 This series adds support for port (VF) representors to the mlx5 PMD, which can be instantiated using the standard "representor" device parameter. Note the PMD only probes existing representors which exist as Verbs devices; their creation is part of the host system configuration. v4 changes: - Fixed domain ID release that did not work, see relevant patch. - Rebased series. v3 changes: - Added the following patches: - net/mlx5: drop useless support for several Verbs ports - net/mlx5: probe port representors in natural order - net/mlx5: support negative identifiers for port representors - See individual patches for details. - Rebased series. v2 changes: - See individual patches for details. - Rebased series. Adrien Mazarguil (10): net/mlx5: rename confusing object in probe code net/mlx5: remove redundant objects in probe code net/mlx5: drop useless support for several Verbs ports net/mlx5: split PCI from generic probing code net/mlx5: re-indent generic probing function net/mlx5: add port representor awareness net/mlx5: probe all port representors net/mlx5: probe port representors in natural order net/mlx5: add parameter for port representors net/mlx5: support negative identifiers for port representors doc/guides/nics/mlx5.rst | 12 + doc/guides/prog_guide/poll_mode_drv.rst | 2 + drivers/net/mlx5/Makefile | 30 + drivers/net/mlx5/mlx5.c | 1108 ++++++++++++++++---------- drivers/net/mlx5/mlx5.h | 29 +- drivers/net/mlx5/mlx5_ethdev.c | 135 +++- drivers/net/mlx5/mlx5_mac.c | 2 +- drivers/net/mlx5/mlx5_nl.c | 297 ++++++- drivers/net/mlx5/mlx5_stats.c | 6 +- drivers/net/mlx5/mlx5_txq.c | 2 +- 10 files changed, 1149 insertions(+), 474 deletions(-) -- 2.11.0