net/ixgbe: enable Pf host new mbox version

Message ID 1564730647-10312-1-git-send-email-wei.zhao1@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Qi Zhang
Headers
Series net/ixgbe: enable Pf host new mbox version |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-Compile-Testing success Compile Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing success Performance Testing PASS

Commit Message

Zhao1, Wei Aug. 2, 2019, 7:24 a.m. UTC
  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

Xiaolong Ye Aug. 21, 2019, 6:43 a.m. UTC | #1
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
>
  
Zhao1, Wei Aug. 28, 2019, 8:15 a.m. UTC | #2
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
> >
  

Patch

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;