[dpdk-dev] [PATCH v3 6/8] vhost: handle VHOST_USER_SEND_RARP request

2016-02-19 Thread Yuanhan Liu
On Fri, Feb 19, 2016 at 03:03:26PM +0800, Yuanhan Liu wrote: > On Fri, Feb 19, 2016 at 02:11:36PM +0800, Tan, Jianfeng wrote: > > What I suggest here is to move user_send_rarp() to rte_vhost_dequeue_burst() > > using a flag to control, so that this arp packet can be broadcasted in its > > own L2

[dpdk-dev] [PATCH v3 6/8] vhost: handle VHOST_USER_SEND_RARP request

2016-02-19 Thread Yuanhan Liu
On Fri, Feb 19, 2016 at 02:11:36PM +0800, Tan, Jianfeng wrote: > Hi Yuanhan, > > On 1/29/2016 12:58 PM, Yuanhan Liu wrote: > >While in former patch we enabled GUEST_ANNOUNCE feature, so that the > >guest OS will broadcast a GARP message after migration to notify the > >switch about the new

[dpdk-dev] [PATCH v3 6/8] vhost: handle VHOST_USER_SEND_RARP request

2016-02-19 Thread Tan, Jianfeng
Hi Yuanhan, On 1/29/2016 12:58 PM, Yuanhan Liu wrote: > While in former patch we enabled GUEST_ANNOUNCE feature, so that the > guest OS will broadcast a GARP message after migration to notify the > switch about the new location of migrated VM, the thing is that > GUEST_ANNOUNCE is enabled since

[dpdk-dev] [PATCH v3 6/8] vhost: handle VHOST_USER_SEND_RARP request

2016-01-29 Thread Yuanhan Liu
While in former patch we enabled GUEST_ANNOUNCE feature, so that the guest OS will broadcast a GARP message after migration to notify the switch about the new location of migrated VM, the thing is that GUEST_ANNOUNCE is enabled since kernel v3.5 only. For older kernel, VHOST_USER_SEND_RARP request