[ovs-discuss] Problem on creating bridge interface on OVS_DPDK in a VMware VM guest

Sun Paul paulrbk at gmail.com
Tue Sep 26 04:38:02 UTC 2017


it looks like something we need to do....


http://dpdk.org/doc/vmxnet3-usermap

On Tue, Sep 26, 2017 at 12:26 PM, Sun Paul <paulrbk at gmail.com> wrote:
> we are evauluating the DPDK on VMXNET3 , is sit supported in the VMware guest?
>
> On Tue, Sep 26, 2017 at 12:09 PM, Darrell Ball <dball at vmware.com> wrote:
>> Do you have a hard requirement to use vmxnet3 ?
>> What are you requirements otherwise ?
>>
>>
>> On 9/25/17, 9:06 PM, "ovs-discuss-bounces at openvswitch.org on behalf of Darrell Ball" <ovs-discuss-bounces at openvswitch.org on behalf of dball at vmware.com> wrote:
>>
>>
>>
>>     On 9/25/17, 8:31 PM, "Sun Paul" <paulrbk at gmail.com> wrote:
>>
>>         Hi
>>
>>         thank for the reply. but can you explain what I should do?
>>
>>
>>     Do you have a hard requirement to use ESXi and vmxnet3 ?
>>     What are you requirements otherwise ?
>>
>>
>>
>>         On Tue, Sep 26, 2017 at 3:18 AM, Darrell Ball <dball at vmware.com> wrote:
>>         >
>>         >
>>         > On 9/25/17, 2:53 AM, "ovs-discuss-bounces at openvswitch.org on behalf of Sun Paul" <ovs-discuss-bounces at openvswitch.org on behalf of paulrbk at gmail.com> wrote:
>>         >
>>         >     Hi
>>         >
>>         >     I am trying to have a OVS+DPDK setup on a VM guest in Vmware
>>         >     environment. the network adapter type for the dpdk is vmxnet3.
>>         >
>>         > The present support for guest connectivity for OVS-DPDK is here:
>>         > https://urldefense.proofpoint.com/v2/url?u=http-3A__docs.openvswitch.org_en_latest_topics_dpdk_vhost-2Duser_&d=DwIFaQ&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=U9YEU77bZamqSg208ehS8-3M4sgEVZoZE9yILybkOuU&s=6iVy8pqpuoo_1QAliEi37GLAiW2wEkUl5UGZMf7l5WA&e=
>>         >
>>         >
>>         >     when I am trying to add-port on it, it failed. any idea?
>>         >
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:57Z|00058|netdev_dpdk|ERR|Interface dpdk0 MTU (1500)
>>         >     setup error: Operation not supported
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:57Z|00059|netdev_dpdk|ERR|Interface dpdk0(rxq:1
>>         >     txq:2) configure error: Operation not supported
>>         >
>>         >
>>         >
>>         >     the full log is shown below.
>>         >
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:26Z|00051|ofproto_dpif|INFO|netdev at ovs-netdev:
>>         >     Datapath supports ct_orig_tuple6
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00039|ofproto_dpif|INFO|netdev at ovs-netdev: MPLS label stack length
>>         >     probed as 3
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00040|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports
>>         >     truncate action
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00041|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports
>>         >     unique flow ids
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00042|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports clone
>>         >     action
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00043|ofproto_dpif|INFO|netdev at ovs-netdev: Max sample nesting
>>         >     level probed as 10
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00044|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports
>>         >     eventmask in conntrack action
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00045|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports
>>         >     ct_state
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00046|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports
>>         >     ct_zone
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00047|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports
>>         >     ct_mark
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00048|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports
>>         >     ct_label
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00049|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports
>>         >     ct_state_nat
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00050|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports
>>         >     ct_orig_tuple
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00051|ofproto_dpif|INFO|netdev at ovs-netdev: Datapath supports
>>         >     ct_orig_tuple6
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:26Z|00052|bridge|INFO|bridge c1: added interface c1
>>         >     on port 65534
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00052|bridge|INFO|bridge c1: added interface c1 on port 65534
>>         >     Sep 26 17:51:26 plocalhost kernel: device c1 entered promiscuous mode
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:26Z|00053|bridge|INFO|bridge c1: using datapath ID
>>         >     000076ff8ff75d4e
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00053|bridge|INFO|bridge c1: using datapath ID 000076ff8ff75d4e
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:26Z|00054|connmgr|INFO|c1: added service controller
>>         >     "punix:/usr/local/var/run/openvswitch/c1.mgmt"
>>         >     Sep 26 17:51:26 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00054|connmgr|INFO|c1: added service controller
>>         >     "punix:/usr/local/var/run/openvswitch/c1.mgmt"
>>         >     Sep 26 17:51:57 plocalhost ovs-vsctl: ovs|00001|vsctl|INFO|Called as
>>         >     ovs-vsctl add-port c1 dpdk0 -- set Interface dpdk0 type=dpdk
>>         >     options:dpdk-devargs=0000:03:00.0
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:57Z|00055|dpif_netdev|INFO|PMD thread on numa_id: 0,
>>         >     core id:  0 created.
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00055|dpif_netdev|INFO|PMD thread on numa_id: 0, core id:  0
>>         >     created.
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:57Z|00056|dpif_netdev|INFO|There are 1 pmd threads on
>>         >     numa node 0
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00056|dpif_netdev|INFO|There are 1 pmd threads on numa node 0
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00057|netdev_dpdk|WARN|Rx checksum offload is not supported on
>>         >     port 0
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:57Z|00057|netdev_dpdk|WARN|Rx checksum offload is not
>>         >     supported on port 0
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:57Z|00058|netdev_dpdk|ERR|Interface dpdk0 MTU (1500)
>>         >     setup error: Operation not supported
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:57Z|00059|netdev_dpdk|ERR|Interface dpdk0(rxq:1
>>         >     txq:2) configure error: Operation not supported
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd:
>>         >     2017-09-26T09:51:57Z|00060|bridge|INFO|bridge c1: added interface
>>         >     dpdk0 on port 1
>>         >     Sep 26 17:51:57 plocalhost kernel: pmd12[2671]: segfault at 64 ip
>>         >     000000000067fa98 sp 00007f68faffc680 error 4 in
>>         >     ovs-vswitchd[400000+566000]
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00058|netdev_dpdk|ERR|Interface dpdk0 MTU (1500) setup error:
>>         >     Operation not supported
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00059|netdev_dpdk|ERR|Interface dpdk0(rxq:1 txq:2) configure
>>         >     error: Operation not supported
>>         >     Sep 26 17:51:57 plocalhost ovs-vswitchd[2624]:
>>         >     ovs|00060|bridge|INFO|bridge c1: added interface dpdk0 on port 1
>>         >     Sep 26 17:51:57 plocalhost abrt-hook-ccpp: Process 2624 (ovs-vswitchd)
>>         >     of user 0 killed by SIGSEGV - dumping core
>>         >     Sep 26 17:51:58 plocalhost abrt-hook-ccpp: Failed to create
>>         >     core_backtrace: waitpid failed: No child processes
>>         >     Sep 26 17:51:58 plocalhost systemd: ovs-vswitchd.service: main process
>>         >     exited, code=killed, status=11/SEGV
>>         >     Sep 26 17:51:58 plocalhost systemd: Unit ovs-vswitchd.service entered
>>         >     failed state.
>>         >     Sep 26 17:51:58 plocalhost systemd: ovs-vswitchd.service failed.
>>         >     Sep 26 17:51:58 plocalhost abrt-server: Executable
>>         >     '/usr/local/sbin/ovs-vswitchd' doesn't belong to any package and
>>         >     ProcessUnpackaged is set to 'no'
>>         >     Sep 26 17:51:58 plocalhost abrt-server: 'post-create' on
>>         >     '/var/spool/abrt/ccpp-2017-09-26-17:51:57-2624' exited with 1
>>         >     Sep 26 17:51:58 plocalhost abrt-server: Deleting problem directory
>>         >     '/var/spool/abrt/ccpp-2017-09-26-17:51:57-2624'
>>         >     _______________________________________________
>>         >     discuss mailing list
>>         >     discuss at openvswitch.org
>>         >     https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddiscuss&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=2ENy74DF0JnxWLAbr7vzqlwv0w8VSbHYYUr8m_jjZWo&s=CNE9tw6xFFbCyR9WIkQji5V2z3PKmxUAvMJE3XYFB9M&e=
>>         >
>>         >
>>
>>
>>     _______________________________________________
>>     discuss mailing list
>>     discuss at openvswitch.org
>>     https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddiscuss&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=4bWuoQ4yd7fQpTSNdOsZvgkOhKiApZMy-5WcC81rxNs&s=qIQVrahn2vPw5tVgYq3jEyUMayoxLlorgBPMbbuBdqM&e=
>>
>>


More information about the discuss mailing list