From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 0A6B8C3D8 for ; Thu, 28 Jan 2016 09:40:38 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 28 Jan 2016 00:40:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,357,1449561600"; d="scan'208";a="899942159" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 28 Jan 2016 00:40:29 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id u0S8eQGs003547; Thu, 28 Jan 2016 16:40:26 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u0S8eOhd015383; Thu, 28 Jan 2016 16:40:26 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u0S8eOcG015379; Thu, 28 Jan 2016 16:40:24 +0800 From: Helin Zhang To: dev@dpdk.org Date: Thu, 28 Jan 2016 16:40:20 +0800 Message-Id: <1453970423-15234-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 0/3] support setting i40e VF MAC address from DPDK host side 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: Thu, 28 Jan 2016 08:40:39 -0000 It adds pre-setting i40e VF MAC addresses from DPDK PF host side, during host port initialization, by introduing a new port configuration element. It then can pre-set VF MAC addresses before any launching VFs, and the VF MAC addresses will not be random each time launching a VF. There should be no ABI broken, as ABI changes in 'struct rte_eth_conf' has already been announced in R2.2. Helin Zhang (3): i40e: add setting VF MAC address in DPDK PF host i40evf: use ether interface for validating MAC address app/testpmd: set default MAC addresses for each VF app/test-pmd/testpmd.c | 19 +++++++++++++++++++ doc/guides/rel_notes/release_2_3.rst | 9 +++++++++ drivers/net/i40e/i40e_ethdev.c | 21 +++++++++++++++++++++ drivers/net/i40e/i40e_ethdev.h | 1 + drivers/net/i40e/i40e_ethdev_vf.c | 14 +++++++------- drivers/net/i40e/i40e_pf.c | 2 ++ lib/librte_ether/rte_ethdev.h | 10 ++++++++++ 7 files changed, 69 insertions(+), 7 deletions(-) -- 2.5.0