Skip to contentSkip to conversation

net/ixgbe: enable Pf host new mbox version

PATCH Superseded Wei Zhao 2 participants 5 messages Aug 2, 2019 – Sep 5, 2019 Network drivers

lore
Share & tools
lore

Wei Zhao

author
#0 lore raw

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
index fafff6b..85e5ec2 100644
@@ -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
#1 lore raw

Hi, wei

Is it a fix patch?

Thanks,
Xiaolong

Quoted 23 lines · Wei Zhao

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
index fafff6b..85e5ec2 100644
@@ -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
author
#2 lore raw

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 version

Hi, wei

Is it a fix patch?

Thanks,
Xiaolong

drivers/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_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(+)
(quoted diff) +0 -0

b/drivers/net/ixgbe/ixgbe_pf.c index fafff6b..85e5ec2 100644

drivers/net/ixgbe/ixgbe_pf.c +0 -0
@@ -616,6 +616,7 @@ ixgbe_get_vf_queues(struct rte_eth_dev *dev,

uint32_t vf, uint32_t *msgbuf)

Quoted 10 lines
drivers/net/ixgbe/ixgbe_pf.c +1 -1
 	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

author
#3 lore raw

PATCH v2 1/1 net/ixgbe: enable Pf host new mbox version

In reply to Wei Zhao

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")

---

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
index c88d56e..be729ba 100644
@@ -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
Acked-by on v2 1/1 Applied
#4 lore raw
Quoted 31 lines · Wei Zhao

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")

---

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
index c88d56e..be729ba 100644
@@ -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.