Re: [dpdk-dev] [PATCH v2 4/7] vhost: Add API to get MTU value

2017-03-12 Thread Maxime Coquelin
On 03/08/2017 03:45 AM, Yuanhan Liu wrote: On Mon, Mar 06, 2017 at 09:27:37AM +0100, Maxime Coquelin wrote: This patch implements the function for the application to get the MTU value. rte_vhost_mtu_get() fills the mtu parameter with the MTU value set in QEMU if VIRTIO_NET_F_MTU has been nego

Re: [dpdk-dev] [PATCH v2 4/7] vhost: Add API to get MTU value

2017-03-07 Thread Yuanhan Liu
On Mon, Mar 06, 2017 at 09:27:37AM +0100, Maxime Coquelin wrote: > This patch implements the function for the application to > get the MTU value. > > rte_vhost_mtu_get() fills the mtu parameter with the MTU value > set in QEMU if VIRTIO_NET_F_MTU has been negotiated and returns 0, > -ENOTSUP other