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 35B9E2C11 for ; Fri, 26 Feb 2016 09:14:51 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 26 Feb 2016 00:14:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,498,1449561600"; d="scan'208";a="924331337" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 26 Feb 2016 00:14:50 -0800 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 26 Feb 2016 00:14:49 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 26 Feb 2016 00:14:49 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.232]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.18]) with mapi id 14.03.0248.002; Fri, 26 Feb 2016 16:14:45 +0800 From: "Pei, Yulong" To: "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [PATCH 0/3] support setting i40e VF MAC address from DPDK host side Thread-Index: AQHRWaeXkx6HOWXBJ0ueiSJR+zNmy58+JmLg Date: Fri, 26 Feb 2016 08:14:44 +0000 Message-ID: <188971FCDA171749BED5DA74ABF3E6F00353ADAF@shsmsx102.ccr.corp.intel.com> References: <1453970423-15234-1-git-send-email-helin.zhang@intel.com> In-Reply-To: <1453970423-15234-1-git-send-email-helin.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmViM2NlMmEtNmYzOC00MjU1LWE4OGEtOWQ3OWUxNWViYTRlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjQuMTAuMTkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMEhOMGtFZnlXVnlWdHpYNXNSMHJLa0pyeEsxRTJSbjQyUDJ1OUtIbklUOD0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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: Fri, 26 Feb 2016 08:14:51 -0000 Tested-by: yulong.pei@intel.com -----Original Message----- From: Zhang, Helin=20 Sent: Thursday, January 28, 2016 4:40 PM To: dev@dpdk.org Cc: Pei, Yulong ; Wu, Jingjing ; Tao, Zhe ; Xu, Qian Q ; Zhang, H= elin Subject: [PATCH 0/3] support setting i40e VF MAC address from DPDK host sid= e It adds pre-setting i40e VF MAC addresses from DPDK PF host side, during ho= st 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