From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 09A0C2BF4 for ; Fri, 25 May 2018 18:35:29 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id a67-v6so15894979wmf.3 for ; Fri, 25 May 2018 09:35:29 -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:mime-version:content-disposition; bh=aCtPJZt80TphbmiuUgkr68ZWHehVFv/tjaRSTSV9eY4=; b=JllXn5sj08tQldr26MPB2b4K1vV9f3ARrMyd3wW33TtaiIUZqX4e8FBjljxsRWUMuE HVbofjmFOLnlvW0rwVU9xY+olFddGRCzWLvro2Gwfj7aTT2+2KCq/fNWnp/qjIqbrrGo v3hE+JVhykwAjEjKUl9mIzZNRl7bVeyO/IwJah4SkmKDCSI6+cQ8FMic+V/24M9UxOQv fC92qXwWkR0eFx7VnnNWccPegWZe37lC91HrIEOltjIhMUvDHKPlDN5az020BcuRT+6q 1YpweEmjGyBmw7gMAT9++lUzQRrIXx15g5nnP80EwVYZHF74A/pFABlPNMTJDjGbIjp5 HSHg== 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:mime-version :content-disposition; bh=aCtPJZt80TphbmiuUgkr68ZWHehVFv/tjaRSTSV9eY4=; b=VD/7ElqexHjpXa7di7sGVWBR8yQ3A8THxRlWVZjz+9g/6uomM9oH9FCDA/TIedaBDb P1BcvlEYu3Cq5CPgAOo0BvZhLBMl4g7fVvyqP0npRCN53OcBFJDZe1dC+/et70m7i5mb ZwBwCRaRsqL0hg/9iI+CDBbp3OKX9Rj5AjdhGp2qKmWWi39wKEeTvOa4LcBLrR7yPYJF cqbN+zOcIbTI4WSXliWyUZWS0+HldmQsvnDNvjGM1/jGCnfaRJwkYBTatysahDAJ4YAw 2haMj+WHMbC1RfkAcjzTpzxzWABo/xxLwAxFrORefCLuX7UEezKYa7wQc0LIKsqepKpO HJKA== X-Gm-Message-State: ALKqPwdnClFYxupkYynC1zO9/xWp0PaIUQrZbyesXp07LC3LfzpBZd/Y kJzIFQnENm/4fUVtuebGqRPTmw== X-Google-Smtp-Source: ADUXVKISyXThTnSIFV8nbtEp/EJfgWvV5LmRMu0Wod3pabuu6QtNp80Vl6qLzmIbtgtM9Vpz1jdjvQ== X-Received: by 2002:a1c:ef0c:: with SMTP id n12-v6mr2569192wmh.123.1527266128655; Fri, 25 May 2018 09:35:28 -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 67-v6sm10599971wmw.32.2018.05.25.09.35.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 09:35:27 -0700 (PDT) Date: Fri, 25 May 2018 18:35:13 +0200 From: Adrien Mazarguil To: Shahaf Shuler Cc: dev@dpdk.org Message-ID: <20180525161814.13873-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 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: Fri, 25 May 2018 16:35:29 -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. 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 | 1040 +++++++++++++++----------- drivers/net/mlx5/mlx5.h | 8 +- drivers/net/mlx5/mlx5_ethdev.c | 145 +++- drivers/net/mlx5/mlx5_mac.c | 2 +- drivers/net/mlx5/mlx5_stats.c | 6 +- 7 files changed, 764 insertions(+), 451 deletions(-) -- 2.11.0