From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id E577E1E357 for ; Thu, 14 Jun 2018 10:35:03 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id k16-v6so5451779wro.0 for ; Thu, 14 Jun 2018 01:35:03 -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=AzSZnmv21u/qFq+M3HI/OJwT9M7i+v946uzvSBNe3wk=; b=krMwrZ0AGEtzZQQh+1XX7YKdiwq2JKNTQa5wY1xdEXK34pdtc0HPcBirjfI8sRTJms Ez2s93POf1Blbs3Bsy2kRXM4scl7eEacyma73rIfQe9LSElbs3yXBJFbDcpfNfZ6EbaX Ck5Ds6kJgfU9FqO3UDMN61jaI1h60XaUVoKo0+6e8Rw1gPwhVnnSDgW+pIW5yVYDqt5E Reb2+G2XnpxPcPO2oce5NWtBHESHXDCekLRVmqAbm5fXIggmBqWYRHFzrwKM+nnnyYPW HAgioxbRusauyUy9Wd7+g5mA5heGuD0lltEg6VgXZS466MtJ1WYLg+hP1v/agccvJMz2 2cNg== 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=AzSZnmv21u/qFq+M3HI/OJwT9M7i+v946uzvSBNe3wk=; b=b6Hak569Ftn6eq83oKFaABilBs8NSJePXRN3jbvlJmrsuiiro5jGcUKOO+qdYpSBh0 eLYfq4PZQH0ziw2beZP8KqPfGNC6MQPGMGqdu9l9voyhLZA2SDcJLqSN2jnIRbYquj5i pZXsmxmIGicvmJfCgI8asEh58glyICOdvyotQvlZ2rjvfHUpSLzhjZsKiUapEU5aQyMy TmWR+77ZWHMmzMtJo1bWylo9YI8VinR4eel2pa8Xw8OqX2OOotNdQDN30ebPGbBptR8B P5a0kEi+L5r3f0VaSO0f/7kv4wrCOydG/umTuyisd0RwoEz3UIZVPJHmtWbqi4ZkwhJ9 fm+A== X-Gm-Message-State: APt69E33SiFxu6luy6iHSkhZvBxJ4bv0qV85Whp8RdGKKq3yzsfmWsgv NEub3C30Kc/P0SaUlrvhR7prGQ== X-Google-Smtp-Source: ADUXVKINGVorMMtSNqxPAGKU2YdYHkEQ6qVOQW8qy9Tu3PMHn4MvdyLeLdFwefSqLq23phfhvldAcA== X-Received: by 2002:adf:9f0f:: with SMTP id l15-v6mr1331106wrf.206.1528965303697; Thu, 14 Jun 2018 01:35:03 -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 b74-v6sm6403495wmi.13.2018.06.14.01.35.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 01:35:02 -0700 (PDT) Date: Thu, 14 Jun 2018 10:34:47 +0200 From: Adrien Mazarguil To: Shahaf Shuler Cc: dev@dpdk.org Message-ID: <20180614083047.10812-1-adrien.mazarguil@6wind.com> References: <20180525161814.13873-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180525161814.13873-1-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v2 0/7] 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, 14 Jun 2018 08:35:04 -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. v2 changes: - See individual patches for details. - Rebased series. Adrien Mazarguil (7): net/mlx5: rename confusing object in probe code net/mlx5: remove redundant objects in probe code 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: add parameter for port representors doc/guides/nics/mlx5.rst | 12 + doc/guides/prog_guide/poll_mode_drv.rst | 2 + drivers/net/mlx5/mlx5.c | 1100 +++++++++++++++----------- drivers/net/mlx5/mlx5.h | 9 +- drivers/net/mlx5/mlx5_ethdev.c | 151 +++- drivers/net/mlx5/mlx5_mac.c | 2 +- drivers/net/mlx5/mlx5_stats.c | 6 +- 7 files changed, 818 insertions(+), 464 deletions(-) -- 2.11.0