[dpdk-dev] [PATCH 0/3] support setting i40e VF MAC address from DPDK host side
Pei, Yulong
yulong.pei at intel.com
Fri Feb 26 09:14:44 CET 2016
Tested-by: yulong.pei at intel.com
-----Original Message-----
From: Zhang, Helin
Sent: Thursday, January 28, 2016 4:40 PM
To: dev at dpdk.org
Cc: Pei, Yulong <yulong.pei at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>; Tao, Zhe <zhe.tao at intel.com>; Xu, Qian Q <qian.q.xu at intel.com>; Zhang, Helin <helin.zhang at intel.com>
Subject: [PATCH 0/3] support setting i40e VF MAC address from DPDK host side
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
More information about the dev
mailing list