[dpdk-dev] [PATCH v7 1/3] ethdev: fix adding invalid MAC addr

Yuanhan Liu yuanhan.liu at linux.intel.com
Sun May 7 06:39:10 CEST 2017


On Fri, May 05, 2017 at 04:21:53PM +0200, Thomas Monjalon wrote:
> 05/05/2017 02:40, Wei Dai:
> > Some customers find adding MAC addr to VF sometimes can fail,
> > but it is still stored in dev->data->mac_addrs[ ]. So this
> > can lead to some errors that assumes the non-zero entry in
> > dev->data->mac_addrs[ ] is valid.
> > Following acknowledgements are from specific NIC PMD
> > maintainer for their managing part.
> > 
> > This patch changes the ethdev API, it should not be
> > backported to a stable/LTS release so far.
> 
> It changes only the internal function pointer used by drivers,
> not the API.

Oh, right. I was thinking the eth API rte_eth_dev_mac_addr also has to
be changed. It turned out that it's already been designed with returning
"int".

Sorry for the noise.

	--yliu


More information about the dev mailing list