From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by dpdk.org (Postfix) with ESMTP id DD19F5F16 for ; Tue, 10 Jul 2018 18:04:56 +0200 (CEST) Received: by mail-wr1-f44.google.com with SMTP id g6-v6so6287387wrp.0 for ; Tue, 10 Jul 2018 09:04:56 -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=0hvVOwVlJl2yqHELAOpHyWxYxUzuFemUii5y1Vw25bc=; b=AQfZ86rr0gusfGPBcEakgipvGjulUHjK55BCwW5oPZjlh6Mm3C+tiFdTq5M/6QeJOJ anvWQ/v1PsrBqnSOzLPlSvFXHfeFAeL7SS/17aL7xijBO7oXV9huM9SmOCeAIyRhMWQY jMwk8CUWGpBFTRhsUhpkT+bfyD8ReDJpNrn/ABkpF7BDPM+JorqrFj4jMfDd6TBfept7 Krx3xcq1r8BU4PIYampLJJp/AqMQhqOE8sDlR5BzwikHDDEyWhogPLSAETiDeP+J0e/p ObAlsm5+pB93PZmftFBNoT0YIC7YYBtw8gJ93zBggq1X+NuyAJWSC5eZMuPoRwd3gGEM wC1w== 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=0hvVOwVlJl2yqHELAOpHyWxYxUzuFemUii5y1Vw25bc=; b=irJknV8R3A4iUCtUztBonoVIDh+QrFE2I91OE0XtYGcQDM5X1+d18f+aHBK14Oo74P cs8R6hk5vc2rEuTtDpErZxq4fnIeiYBqRMg8RtKVFeRemp2bmVnC4smbCbCsPhptwNeX 6JWERLGMObNhuXSg9PKbrdPLFSI2aornZrUed1Ftgf90H5FbNWqQyP9tpmyDUo+97LjZ 4PnAeX8lMlhUFMFD7PYFPjX8I0t8awsVLMqe4TD9bOxFF4ZaqySDrOYth3dcOEXtXyNL s1IsuVHaIbDkSIHD4xM00xMWtviyMvGF/vOLGNu61g9Couo6wNFTnRHiCfoeG+GddWip ipqA== X-Gm-Message-State: AOUpUlE6KT/LKgfMlPe9n3HTysDyy+axIFHZ1AEFDLsLUjaLbWBPyLc7 wq9G3NAdZejuSEIINJ42+f7rPliv X-Google-Smtp-Source: AAOMgpel/IdM60npukXSHvCsVTDXpgwh9Fcf1oNjr10vjX13Hq4tIWATmckgRU/y0KmcvfWrwp+HkA== X-Received: by 2002:adf:f8c7:: with SMTP id f7-v6mr10216025wrq.237.1531238696731; Tue, 10 Jul 2018 09:04:56 -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 k14-v6sm15088259wrg.38.2018.07.10.09.04.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 09:04:55 -0700 (PDT) Date: Tue, 10 Jul 2018 18:04:39 +0200 From: Adrien Mazarguil To: Shahaf Shuler Cc: dev@dpdk.org Message-ID: <20180710155743.14448-1-adrien.mazarguil@6wind.com> References: <20180705083934.5535-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180705083934.5535-1-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v5 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: Tue, 10 Jul 2018 16:04:57 -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. v5 changes: - Fixed and added missing HAVE_* definitions to Makefile for systems that do not expose them. Series now compiles fine down to RHEL 7.2 inclusive. 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 | 45 ++ 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 | 308 ++++++- drivers/net/mlx5/mlx5_stats.c | 6 +- drivers/net/mlx5/mlx5_txq.c | 2 +- 10 files changed, 1175 insertions(+), 474 deletions(-) -- 2.11.0