[dpdk-dev] [PATCH] ethdev: fix copying bug in rte_eth_set_queue_rate_limit

Stephen Hemminger stephen at networkplumber.org
Mon Nov 19 18:10:42 CET 2018


On Mon, 19 Nov 2018 08:38:44 +0000
Leah Tekoa <Leah at Ethernitynet.com> wrote:

> -	link = dev->data->dev_link;
> +	memcpy(&link, &dev->data->dev_link, sizeof(struct rte_eth_link));
>  

If structure assignment and memcpy don't give same result, then
you have a buggy compiler.


More information about the dev mailing list