From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Iremonger Subject: [RFC PATCH v2 0/5] add API's for VF management Date: Fri, 26 Aug 2016 10:10:15 +0100 Message-ID: <1472202620-20487-1-git-send-email-bernard.iremonger@intel.com> References: <1471528125-26357-1-git-send-email-bernard.iremonger@intel.com> Cc: Bernard Iremonger To: rahul.r.shah@intel.com, wenzhuo.lu@intel.com, dev@dpdk.org 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) In-Reply-To: <1471528125-26357-1-git-send-email-bernard.iremonger@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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