[v2] net/ixgbe: enable Pf host new mbox version

Message ID 1566980212-28691-1-git-send-email-wei.zhao1@intel.com (mailing list archive)
State Accepted, archived
Delegated to: xiaolong ye
Headers
Series [v2] net/ixgbe: enable Pf host new mbox version |

Checks

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

Commit Message

Zhao1, Wei Aug. 28, 2019, 8:16 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.

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

Xiaolong Ye Sept. 5, 2019, 10:41 a.m. UTC | #1
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.
  

Patch

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;