Re: [Qemu-devel] [RFC v2 2/3] vhost-net: Add new MTU feature support

2016-11-21 Thread Maxime Coquelin
On 11/17/2016 11:39 PM, Michael S. Tsirkin wrote: On Thu, Nov 17, 2016 at 10:58:06PM +0100, Maxime Coquelin wrote: > If VHOST_USER_F_MTU feature is negociated, vhost-net makes the negotiated Excuse my "frenglish"... It will be fixed in next revision. Thanks, Maxime

Re: [Qemu-devel] [RFC v2 2/3] vhost-net: Add new MTU feature support

2016-11-18 Thread Aaron Conole
Maxime Coquelin writes: > If VHOST_USER_F_MTU feature is negociated, vhost-net makes the > advised MTU available to virtio-net through a vhost_net_get_mtu() s/advised/maximum/ > call. > > Cc: Michael S. Tsirkin > Cc: Aaron Conole > Signed-off-by: Maxime Coquelin > --- > hw/net/vhost_net.c

Re: [Qemu-devel] [RFC v2 2/3] vhost-net: Add new MTU feature support

2016-11-17 Thread Michael S. Tsirkin
On Thu, Nov 17, 2016 at 10:58:06PM +0100, Maxime Coquelin wrote: > If VHOST_USER_F_MTU feature is negociated, vhost-net makes the negotiated > advised MTU available to virtio-net through a vhost_net_get_mtu() > call. > > Cc: Michael S. Tsirkin > Cc: Aaron Conole > Signed-off-by: Maxime Coquel

[Qemu-devel] [RFC v2 2/3] vhost-net: Add new MTU feature support

2016-11-17 Thread Maxime Coquelin
If VHOST_USER_F_MTU feature is negociated, vhost-net makes the advised MTU available to virtio-net through a vhost_net_get_mtu() call. Cc: Michael S. Tsirkin Cc: Aaron Conole Signed-off-by: Maxime Coquelin --- hw/net/vhost_net.c | 11 +++ include/net/vhost_net.h | 2 ++ 2 files c