Re: [dpdk-dev] [PATCH] eal: fix secondary process segfault on multipe virtio devices

2017-07-03 Thread Tan, Jianfeng
HI Thomas, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Saturday, July 1, 2017 10:10 PM > To: Tan, Jianfeng > Cc: dev@dpdk.org; yuanhan@linux.intel.com; > maxime.coque...@redhat.com > Subject: Re: [dpdk-dev] [PATCH] eal:

Re: [dpdk-dev] [PATCH] eal: fix secondary process segfault on multipe virtio devices

2017-07-01 Thread Thomas Monjalon
02/06/2017 18:20, Jianfeng Tan: > Suppose we have 2 virtio devices for a VM, with only the first one, > virtio0, binding to igb_uio. Start a primary DPDK process, driving > only virtio0. Then start a secondary DPDK process, it encounters > segfault at eth_virtio_dev_init() because hw is NULL, when

[dpdk-dev] [PATCH] eal: fix secondary process segfault on multipe virtio devices

2017-06-02 Thread Jianfeng Tan
Suppose we have 2 virtio devices for a VM, with only the first one, virtio0, binding to igb_uio. Start a primary DPDK process, driving only virtio0. Then start a secondary DPDK process, it encounters segfault at eth_virtio_dev_init() because hw is NULL, when trying to initialize the 2nd virtio devi