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.
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
---
drivers/net/ixgbe/ixgbe_pf.c | 1 +
1 file changed, 1 insertion(+)
Comments
Hi, wei
Is it a fix patch?
Thanks,
Xiaolong
On 08/02, 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.
>
>Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
>---
> 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 fafff6b..85e5ec2 100644
>--- a/drivers/net/ixgbe/ixgbe_pf.c
>+++ b/drivers/net/ixgbe/ixgbe_pf.c
>@@ -616,6 +616,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
>
Hi, Xiaolong
It is used for enable a new mbox API TYPE
> -----Original Message-----
> From: Ye, Xiaolong
> Sent: Wednesday, August 21, 2019 2:43 PM
> To: Zhao1, Wei <wei.zhao1@intel.com>
> Cc: dev@dpdk.org; stable@dpdk.org; Zhang, Qi Z <qi.z.zhang@intel.com>
> Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: enable Pf host new mbox version
>
> Hi, wei
>
> Is it a fix patch?
>
> Thanks,
> Xiaolong
>
> On 08/02, 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.
> >
> >Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
> >---
> > 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 fafff6b..85e5ec2 100644
> >--- a/drivers/net/ixgbe/ixgbe_pf.c
> >+++ b/drivers/net/ixgbe/ixgbe_pf.c
> >@@ -616,6 +616,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
> >
@@ -616,6 +616,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;