net/vhost: allocate interface name from heap
authorItsuro Oda <oda@valinux.co.jp>
Thu, 6 Feb 2020 01:39:33 +0000 (10:39 +0900)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Feb 2020 11:42:13 +0000 (12:42 +0100)
commite045e858444349323cb02e0951cd977d4a0edd0d
tree7171f626027914a3a2a550fc0efc5b263473a64f
parent966f89d998a20eddb45666f06dd42a3c3fc94574
net/vhost: allocate interface name from heap

This patch allocates iface_name of pmd_internal from heap
in order to be able to refer from secondary processes.

Fixes: 4852aa8f6e21 ("drivers/net: enable hotplug on secondary process")
Cc: stable@dpdk.org
Signed-off-by: Itsuro Oda <oda@valinux.co.jp>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/vhost/rte_eth_vhost.c