* [dpdk-stable] [PATCH] net/i40e: fixed build error with icc
@ 2016-11-24 7:56 Qiming Yang
2016-11-24 13:57 ` Yuanhan Liu
0 siblings, 1 reply; 2+ messages in thread
From: Qiming Yang @ 2016-11-24 7:56 UTC (permalink / raw)
To: stable; +Cc: Qiming Yang
Fixes: 718d2475357a ("40e: fix VF bonded device link down")
Signed-off-by: Qiming Yang <qiming.yang@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-stable] [PATCH] net/i40e: fixed build error with icc
2016-11-24 7:56 [dpdk-stable] [PATCH] net/i40e: fixed build error with icc Qiming Yang
@ 2016-11-24 13:57 ` Yuanhan Liu
0 siblings, 0 replies; 2+ messages in thread
From: Yuanhan Liu @ 2016-11-24 13:57 UTC (permalink / raw)
To: Qiming Yang; +Cc: stable
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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-24 13:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-24 7:56 [dpdk-stable] [PATCH] net/i40e: fixed build error with icc Qiming Yang
2016-11-24 13:57 ` Yuanhan Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).