[dpdk-stable] [PATCH] net/i40e: fixed build error with icc
Yuanhan Liu
yuanhan.liu at linux.intel.com
Thu Nov 24 14:57:38 CET 2016
On Thu, Nov 24, 2016 at 03:56:18PM +0800, Qiming Yang wrote:
> Fixes: 718d2475357a ("40e: fix VF bonded device link down")
Applied to dpdk-stable branch 16.07.
Thanks.
--yliu
>
> Signed-off-by: Qiming Yang <qiming.yang at intel.com>
> ---
> drivers/net/i40e/i40e_pf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c
> index 350f6a0..4e2f6b6 100644
> --- a/drivers/net/i40e/i40e_pf.c
> +++ b/drivers/net/i40e/i40e_pf.c
> @@ -906,7 +906,7 @@ i40e_notify_vf_link_status(struct rte_eth_dev *dev, struct i40e_pf_vf *vf)
> event.event_data.link_event.link_status =
> dev->data->dev_link.link_status;
> event.event_data.link_event.link_speed =
> - dev->data->dev_link.link_speed;
> + (enum i40e_aq_link_speed)dev->data->dev_link.link_speed;
> i40e_pf_host_send_msg_to_vf(vf, I40E_VIRTCHNL_OP_EVENT,
> I40E_SUCCESS, (uint8_t *)&event, sizeof(event));
> }
> --
> 2.7.4
More information about the stable
mailing list