DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] The virtio device mac is empty in vhostuser type.
@ 2017-11-09  3:24 ? ?
  2017-11-10  5:44 ` Tan, Jianfeng
  0 siblings, 1 reply; 2+ messages in thread
From: ? ? @ 2017-11-09  3:24 UTC (permalink / raw)
  To: dev; +Cc: yuanhan.liu, huawei.xie

Hi,

When I attached a virtio device to ovs bridge in vhostuser type, the virtual port does not have the mac address.
After checked the dpdk code, I found the 'mac' which is the member of struct 'virtio_net' is empty.
It only been assigned in case VHOST_USER_SEND_RARP of function 'vhost_user_msg_handler'.
But the comments said VHOST_USER_SEND_RARP would be handled during VM migration.

Therefore I would like to ask when I launch the dpdk vhost-user program, how could I get the virtio NIC MAC address?

Thanks
________________________________
Best Regards,
Hering
heringlinux@outlook.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-10  5:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-09  3:24 [dpdk-dev] The virtio device mac is empty in vhostuser type ? ?
2017-11-10  5:44 ` Tan, Jianfeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).