From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wenzhuo Lu Subject: [PATCH v2] doc: how to set VF MAC address on ixgbe Date: Tue, 24 Oct 2017 08:57:24 +0800 Message-ID: <1508806644-66586-1-git-send-email-wenzhuo.lu@intel.com> References: <1508737092-37275-1-git-send-email-wenzhuo.lu@intel.com> Cc: john.mcnamara@intel.com, Wenzhuo Lu To: dev@dpdk.org Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id F08AD1B70B for ; Tue, 24 Oct 2017 02:56:04 +0200 (CEST) In-Reply-To: <1508737092-37275-1-git-send-email-wenzhuo.lu@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the description of how to add a MAC address for a VF from PF on ixgbe. Signed-off-by: Wenzhuo Lu --- v2: - reworded. doc/guides/nics/ixgbe.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index 696ff69..c687c63 100644 --- a/doc/guides/nics/ixgbe.rst +++ b/doc/guides/nics/ixgbe.rst @@ -227,6 +227,17 @@ So when the user sets different MTUs on PF and VF ports in one physical port, the real MTU for all these PF and VF ports is the largest value set. This behavior is based on the kernel driver behavior. +VF MAC address setting +~~~~~~~~~~~~~~~~~~~~~~ + +On ixgbe, the concept of "pool" can be used for different things depending on +the mode. In VMDq mode, "pool" means a VMDq pool. In IOV mode, "pool" means a +VF. + +There is no RTE API to add a VF's MAC address from the PF. On ixgbe, the +``rte_eth_dev_mac_addr_add()`` function can be used to add a VF's MAC address, +as a workaround. + Supported Chipsets and NICs --------------------------- -- 1.9.3