Re: [dpdk-dev] The virtio device mac is empty in vhostuser type.

2017-11-09 Thread Tan, Jianfeng
Hi, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of ? ? > Sent: Thursday, November 9, 2017 11:24 AM > To: dev > Cc: yuanhan.liu; Xie, Huawei > Subject: [dpdk-dev] The virtio device mac is empty in vhostuser type. > > Hi, > > When

[dpdk-dev] The virtio device mac is empty in vhostuser type.

2017-11-08 Thread ? ?
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