virtio: fix crash in secondary process
authorChangchun Ouyang <changchun.ouyang@intel.com>
Fri, 27 Mar 2015 13:23:15 +0000 (21:23 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 30 Mar 2015 20:10:23 +0000 (22:10 +0200)
commit880dcec2874dbcf7d9c001355e70d48231f3a5bb
tree941fa8a19cb1ac8a3434b472cbaa470eb0cb30c0
parent467465d86df1c493345ff21487e97d787d63cce6
virtio: fix crash in secondary process

It needs Rx function even in the case of secondary process,
and it also needs check if it supports mergeable feature or not.

Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
lib/librte_pmd_virtio/virtio_ethdev.c