From patchwork Mon Oct 23 05:38:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wenzhuo Lu X-Patchwork-Id: 30681 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7F9421B351; Mon, 23 Oct 2017 07:36:54 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id AD8C51B34D for ; Mon, 23 Oct 2017 07:36:52 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP; 22 Oct 2017 22:36:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.43,421,1503385200"; d="scan'208"; a="1028121506" Received: from dpdk26.sh.intel.com ([10.67.110.152]) by orsmga003.jf.intel.com with ESMTP; 22 Oct 2017 22:36:50 -0700 From: Wenzhuo Lu To: dev@dpdk.org Cc: Wenzhuo Lu Date: Mon, 23 Oct 2017 13:38:12 +0800 Message-Id: <1508737092-37275-1-git-send-email-wenzhuo.lu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dpdk-dev] [PATCH] doc: how to set VF MAC address on ixgbe 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: , 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 --- 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..bd0dc68 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 pool can be used for different things. It depends on the +mode. In VMDq mode, the pool means a VMDq pool. In IOV mode, the pool means a +VF. +When setting the parameters of a pool, in VMDq mode, it's for a VMDq pool, in +IOV mode, it's for a VF. +There's no RTE API to add a VF's MAC address from PF. On ixgbe, there's a +workaround to do it. "rte_eth_dev_mac_addr_add" also can be used to add a VF's +MAC address. Supported Chipsets and NICs ---------------------------