[v2] net/ixgbe: enable Pf host new mbox version
Checks
Commit Message
a new mail box version of ixgbe_mbox_api_13 need to enable for pf
host, in order that it can communicate with vf for queue number.
Fixes: 46b14c231106 ("ixgbe: get VF queue number")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
v2:
-add more commit log info
---
drivers/net/ixgbe/ixgbe_pf.c | 1 +
1 file changed, 1 insertion(+)
Comments
On 08/28, Wei Zhao wrote:
>a new mail box version of ixgbe_mbox_api_13 need to enable for pf
>host, in order that it can communicate with vf for queue number.
>
>Fixes: 46b14c231106 ("ixgbe: get VF queue number")
>Cc: stable@dpdk.org
>
>Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
>
>---
>
>v2:
>-add more commit log info
>---
> drivers/net/ixgbe/ixgbe_pf.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c
>index c88d56e..be729ba 100644
>--- a/drivers/net/ixgbe/ixgbe_pf.c
>+++ b/drivers/net/ixgbe/ixgbe_pf.c
>@@ -618,6 +618,7 @@ ixgbe_get_vf_queues(struct rte_eth_dev *dev, uint32_t vf, uint32_t *msgbuf)
> case ixgbe_mbox_api_20:
> case ixgbe_mbox_api_11:
> case ixgbe_mbox_api_12:
>+ case ixgbe_mbox_api_13:
> break;
> default:
> return -1;
>--
>2.7.5
>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
Applied to dpdk-next-net-intel.
@@ -618,6 +618,7 @@ ixgbe_get_vf_queues(struct rte_eth_dev *dev, uint32_t vf, uint32_t *msgbuf)
case ixgbe_mbox_api_20:
case ixgbe_mbox_api_11:
case ixgbe_mbox_api_12:
+ case ixgbe_mbox_api_13:
break;
default:
return -1;