hi all:
I use contrail 3.0 integered with vcenter without Openstack
the contrail webui url is https://172.16.161.174:8143/vcenter
but I canot find physic devices
I know contrail with openstack this menu is can work well
Is it because vcenter-only mode can not use physic device?
any helps will be appricate
发件人: [email protected]
[mailto:[email protected]] 代表 CARVER, PAUL
发送时间: 2017年5月18日 20:09
收件人: Deepak Tiwari; [email protected]
主题: Re: [opencontrail-dev] Contrail-vrouter compilation with DPDK 17.02
failing
If the DPDK changes are going to span more that one Gerrit change set, I'd
suggest evryone working on parts should agree on a Gerrit topic to use so
that it's possible and find all the related changes.
--
Paul Carver
V: 732.545.7377
C: 908.803.1656
-------- Original message --------
From: Deepak Tiwari <[email protected]>
Date: 5/18/17 05:17 (GMT-05:00)
To: [email protected]
Subject: [opencontrail-dev] Contrail-vrouter compilation with DPDK 17.02
failing
Hi,
I need to compile contrail-vrouter (both master as well as r3.2 branches)
with DPDK 17.02 branch but the compilation is failing as some of the
structures provided by DPDK lib have changed from 2.1 to 17.02, while
contrail-vrouter code has not been updated accordingly. I checked the
contrail-vrouter r4.0 branch code as well but here too I don't see the
required updates for making it compatible with DPDK 17.02 branch.
Is the work to make vrouter code compile with DPDK 17.02 underway? If yes,
is there some specific branch for the same?
If this work is yet to start then please let me know the schedule by which
DPDK 17.02 compatible vrouter code will be available?
gcc -o build/debug/vrouter/dpdk/vr_dpdk_ethdev.o -c -O0 -DDEBUG -g -Werror
-Wall -msse4.2 -DCOMPILE_DEBUG_LOGS -Ivrouter/include
-Ibuild/debug/vrouter/sandesh/gen-c -Ivrouter/sandesh/gen-c -Itools
-Itools/sandesh/library/c
-Ibuild/debug/vrouter/dpdk/x86_64-native-linuxapp-gcc/include
-Ivrouter/dpdk/x86_64-native-linuxapp-gcc/include
vrouter/dpdk/vr_dpdk_ethdev.c
vrouter/dpdk/vr_dpdk_ethdev.c:30:5: error: unknown field ‘link_speed’
specified in initializer
.link_speed = 0, /* ETH_LINK_SPEED_10[0|00|000], or 0 for
autonegotation */
^
vrouter/dpdk/vr_dpdk_ethdev.c:31:5: error: unknown field ‘link_duplex’
specified in initializer
.link_duplex = 0, /* ETH_LINK_[HALF_DUPLEX|FULL_DUPLEX], or 0 for
autonegotation */
^
vrouter/dpdk/vr_dpdk_ethdev.c:31:5: error: missing braces around initializer
[-Werror=missing-braces]
vrouter/dpdk/vr_dpdk_ethdev.c:31:5: error: (near initialization for
‘ethdev_conf.rxmode’) [-Werror=missing-braces]
vrouter/dpdk/vr_dpdk_ethdev.c: In function ‘vr_dpdk_ethdev_filter_add’:
vrouter/dpdk/vr_dpdk_ethdev.c:120:28: error: storage size of ‘filter’
isn’t known
struct rte_fdir_filter filter;
^
vrouter/dpdk/vr_dpdk_ethdev.c:131:21: error: ‘RTE_FDIR_IPTYPE_IPV4’
undeclared (first use in this function)
filter.iptype = RTE_FDIR_IPTYPE_IPV4;
^
vrouter/dpdk/vr_dpdk_ethdev.c:131:21: note: each undeclared identifier is
reported only once for each function it appears in
vrouter/dpdk/vr_dpdk_ethdev.c:132:21: error: ‘RTE_FDIR_L4TYPE_UDP’
undeclared (first use in this function)
filter.l4type = RTE_FDIR_L4TYPE_UDP;
^
vrouter/dpdk/vr_dpdk_ethdev.c:146:5: error: implicit declaration of function
‘rte_eth_dev_fdir_add_perfect_filter’
[-Werror=implicit-function-declaration]
ret = rte_eth_dev_fdir_add_perfect_filter(port_id, &filter,
(uint16_t)mpls_label,
^
vrouter/dpdk/vr_dpdk_ethdev.c:120:28: error: unused variable ‘filter’
[-Werror=unused-variable]
struct rte_fdir_filter filter;
^
vrouter/dpdk/vr_dpdk_ethdev.c: In function
‘vr_dpdk_ethdev_filtering_init’:
vrouter/dpdk/vr_dpdk_ethdev.c:563:27: error: storage size of ‘masks’ isn’
t known
struct rte_fdir_masks masks;
^
vrouter/dpdk/vr_dpdk_ethdev.c:564:25: error: storage size of ‘fdir_info’
isn’t known
struct rte_eth_fdir fdir_info;
^
vrouter/dpdk/vr_dpdk_ethdev.c:568:5: error: implicit declaration of function
‘rte_eth_dev_fdir_get_infos’ [-Werror=implicit-function-declaration]
ret = rte_eth_dev_fdir_get_infos(port_id, &fdir_info);
^
vrouter/dpdk/vr_dpdk_ethdev.c:587:5: error: implicit declaration of function
‘rte_eth_dev_fdir_set_masks’ [-Werror=implicit-function-declaration]
ret = rte_eth_dev_fdir_set_masks(port_id, &masks);
^
vrouter/dpdk/vr_dpdk_ethdev.c:564:25: error: unused variable ‘fdir_info’
[-Werror=unused-variable]
struct rte_eth_fdir fdir_info;
^
vrouter/dpdk/vr_dpdk_ethdev.c:563:27: error: unused variable ‘masks’
[-Werror=unused-variable]
struct rte_fdir_masks masks;
^
vrouter/dpdk/vr_dpdk_ethdev.c: In function ‘dpdk_ethdev_bond_info_update’:
vrouter/dpdk/vr_dpdk_ethdev.c:627:55: error: ‘struct rte_eth_dev’ has no
member named ‘pci_dev’
pci_addr = &rte_eth_devices[slave_port_id].pci_dev->addr;
^
cc1: all warnings being treated as errors
scons: *** [build/debug/vrouter/dpdk/vr_dpdk_ethdev.o] Error 1
scons: building terminated because of errors.
Br, Deepak
"DISCLAIMER: This message is proprietary to Aricent and is intended solely
for the use of the individual to whom it is addressed. It may contain
privileged or confidential information and should not be circulated or used
for any purpose other than for what it is intended. If you have received
this message in error, please notify the originator immediately. If you are
not the intended recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this
message. Aricent accepts no responsibility for loss or damage arising from
the use of the information transmitted by this email including damage from
virus."
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org