[ovs-dev] [PATCH 1/3] netdev-dpdk: Can't set specified vhost port's admin state
Binbin Xu
xu.binbin1 at zte.com.cn
Wed Nov 9 16:06:05 UTC 2016
- Previous message: [ovs-dev] Good day My Dear. Greetings in the name of our Lord Jesus Christ . Amen. In brief introduction, my name is Mrs. Modese Dossongui, I am 59 years old, my late husband who was a nuclear power plant engineer, expatriates working with Fukushima nuclear power plant in Ivory Coast was killed during a typhoon disaster last year, while he was working at sea and it was for merci of God, unfortunately I was diagnose ovarian cancer, and doctors say I do not have much to spend days on earth. Fortunately for me, I had in my possession some vital documents covering the sum of USD$ 9.200.000.million deposit in a bank belonging to my late husband. Now I need your help to receive private funds in your country for investment projects as a foreign associate of my late husband because he left instructions with the bank that the fund may only be transferred to a foreign associate in case he is not available and also my asylum status does not allow me to control such huge amount of mo ney here. I must let you know that this was a very hard decision, But I had to take a bold step towards this issue because I have no further option. I hope you will help see my last wishes come true. please my dear, I am waiting for your response. Yours in Christ, Mrs. Modese Dossongui.
- Next message: [ovs-dev] [PATCH 2/3] netdev-dpdk: Fix the issue of physical port's admin state configuration
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
When we set a vhost port's admin state via ovs-appctl, the
application doesn't work and returns the information
"Not a DPDK Interface".
Signed-off-by: Binbin Xu <xu.binbin1 at zte.com.cn>
---
lib/netdev-dpdk.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 7c1523e..c536992 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -391,7 +391,8 @@ struct netdev_rxq_dpdk {
int port_id;
};
-static int netdev_dpdk_construct(struct netdev *);
+static int netdev_dpdk_class_init(void);
+static int netdev_dpdk_vhost_class_init(void);
int netdev_dpdk_get_vid(const struct netdev_dpdk *dev);
@@ -401,7 +402,8 @@ netdev_dpdk_get_ingress_policer(const struct netdev_dpdk *dev);
static bool
is_dpdk_class(const struct netdev_class *class)
{
- return class->construct == netdev_dpdk_construct;
+ return class->init == netdev_dpdk_class_init
+ || class->init == netdev_dpdk_vhost_class_init;
}
/* DPDK NIC drivers allocate RX buffers at a particular granularity, typically
--
2.9.3
- Previous message: [ovs-dev] Good day My Dear. Greetings in the name of our Lord Jesus Christ . Amen. In brief introduction, my name is Mrs. Modese Dossongui, I am 59 years old, my late husband who was a nuclear power plant engineer, expatriates working with Fukushima nuclear power plant in Ivory Coast was killed during a typhoon disaster last year, while he was working at sea and it was for merci of God, unfortunately I was diagnose ovarian cancer, and doctors say I do not have much to spend days on earth. Fortunately for me, I had in my possession some vital documents covering the sum of USD$ 9.200.000.million deposit in a bank belonging to my late husband. Now I need your help to receive private funds in your country for investment projects as a foreign associate of my late husband because he left instructions with the bank that the fund may only be transferred to a foreign associate in case he is not available and also my asylum status does not allow me to control such huge amount of mo ney here. I must let you know that this was a very hard decision, But I had to take a bold step towards this issue because I have no further option. I hope you will help see my last wishes come true. please my dear, I am waiting for your response. Yours in Christ, Mrs. Modese Dossongui.
- Next message: [ovs-dev] [PATCH 2/3] netdev-dpdk: Fix the issue of physical port's admin state configuration
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dev
mailing list