From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 681D6F94 for ; Fri, 26 Aug 2016 11:10:25 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP; 26 Aug 2016 02:10:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,580,1464678000"; d="scan'208";a="1047579289" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 26 Aug 2016 02:10:23 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u7Q9AMAw018155; Fri, 26 Aug 2016 10:10:23 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id u7Q9AMrS020525; Fri, 26 Aug 2016 10:10:22 +0100 Received: (from bairemon@localhost) by sivswdev01.ir.intel.com with id u7Q9AM02020521; Fri, 26 Aug 2016 10:10:22 +0100 From: Bernard Iremonger To: rahul.r.shah@intel.com, wenzhuo.lu@intel.com, dev@dpdk.org Cc: Bernard Iremonger Date: Fri, 26 Aug 2016 10:10:15 +0100 Message-Id: <1472202620-20487-1-git-send-email-bernard.iremonger@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1471528125-26357-1-git-send-email-bernard.iremonger@intel.com> References: <1471528125-26357-1-git-send-email-bernard.iremonger@intel.com> Subject: [dpdk-dev] [RFC PATCH v2 0/5] add API's for VF management X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 09:10:25 -0000 This RFC patchset contains new DPDK API's requested by AT&T for use with the Virtual Function Daemon (VFD). The need to configure and manage VF's on a NIC has grown to the point where AT&T have devloped a DPDK based tool, VFD, to do this. This RFC proposes to add the following API extensions to DPDK: mailbox communication callback support VF configuration Nine new functions have been added to the eth_dev_ops structure. Corresponding functions have been added to the ixgbe PMD for the Niantic NIC. Two new callback functions have been added. Changes have been made to the ixgbe_rcv_msg_from_vf function to use the callback functions. Changes have been made to testpmd to facilitate testing of the new API's. The testpmd documentation has been updated to document the testpmd changes. Note: Adding new functions to the eth_dev_ops structure will cause an ABI breakage. Changes in V2: rebase to latest master branch. fix compile error with clang. Bernard Iremonger (5): librte_ether: add internal callback functions net/ixgbe: add callback to user app on VF to PF mbox msg librte_ether: add API's for VF management net/ixgbe: add functions for VF management app/test_pmd: add tests for new API's app/test-pmd/cmdline.c | 700 ++++++++++++++++++++++++++++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 68 ++- drivers/net/ixgbe/ixgbe_ethdev.c | 179 +++++++ drivers/net/ixgbe/ixgbe_pf.c | 39 +- lib/librte_ether/rte_ethdev.c | 176 +++++++ lib/librte_ether/rte_ethdev.h | 284 +++++++++++ lib/librte_ether/rte_ether_version.map | 16 + 7 files changed, 1455 insertions(+), 7 deletions(-) -- 2.9.0