net/ixgbe: enable Pf host new mbox version
PATCH 1/1 net/ixgbe: enable Pf host new mbox version
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.
--- drivers/net/ixgbe/ixgbe_pf.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ixgbe/ixgbe_pf.c +1 -0
@@ -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 ;
Signature · 1 line
2.7.5
Hi, wei
Is it a fix patch?
Thanks,
Xiaolong
Quoted 23 lines · Wei Zhao
a new mail box version of
ixgbe_mbox_api_13need to enable for pf host, in order that it can communicate with vf for queue number.Signed-off-by Wei Zhao <[email protected]>---
drivers/net/ixgbe/ixgbe_pf.c| 1 +1 file changed, 1 insertion(+)drivers/net/ixgbe/ixgbe_pf.c +1
-0@@ -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 ;Signature · 1 line
2.7.5
Hi, Xiaolong
It is used for enable a new mbox API TYPE
Quoted 39 lines
-----Original Message-----
From: Ye, Xiaolong
Sent: Wednesday, August 21, 2019 2:43 PM
To: Zhao1, Wei <[email protected]>
Cc: [email protected]; [email protected]; Zhang, Qi Z <[email protected]>
Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: enable Pf host new mbox versionHi, wei
Is it a fix patch?
Thanks,
Xiaolongdrivers/net/ixgbe/ixgbe_pf.c ixgbe_get_vf_queues(struct rte_eth_dev *dev,
Quoted 13 lines · Wei Zhao
a new mail box version of
ixgbe_mbox_api_13need to enable for pf host, in order that it can communicate with vf for queue number.Signed-off-by Wei Zhao <[email protected]>---
drivers/net/ixgbe/ixgbe_pf.c| 1 +1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/drivers/net/ixgbe/ixgbe_pf.cindex fafff6b..85e5ec2 100644drivers/net/ixgbe/ixgbe_pf.c +0
-0@@ -616,6 +616,7 @@ ixgbe_get_vf_queues(struct rte_eth_dev *dev,
uint32_tvf,uint32_t*msgbuf)Quoted 10 lines
drivers/net/ixgbe/ixgbe_pf.c +1
-1case 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 v2 1/1 net/ixgbe: enable Pf host new mbox version
In reply to Wei Zhaoa 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.
---
v2:
-add more commit log info
--- drivers/net/ixgbe/ixgbe_pf.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ixgbe/ixgbe_pf.c +1 -0
@@ -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 ;
Signature · 1 line
2.7.5
Quoted 31 lines · Wei Zhao
a new mail box version of
ixgbe_mbox_api_13need to enable for pf host, in order that it can communicate with vf for queue number.Fixes 46b14c231106 ("ixgbe: get VF queue number")Signed-off-by Wei Zhao <[email protected]>---
v2:
-add more commit log info
---drivers/net/ixgbe/ixgbe_pf.c| 1 +1 file changed, 1 insertion(+)drivers/net/ixgbe/ixgbe_pf.c +1
-0@@ -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 ;Signature · 1 line
2.7.5
Applied to dpdk-next-net-intel.