On 03/08/2017 03:31 AM, Yuanhan Liu wrote:
On Mon, Mar 06, 2017 at 09:27:35AM +0100, Maxime Coquelin wrote:
+static int
+vhost_user_net_set_mtu(struct virtio_net *dev, struct VhostUserMsg *msg)
+{
+ if (msg->payload.u64 < VIRTIO_MIN_MTU ||
+ msg->payload.u64 > VIRTI
On Mon, Mar 06, 2017 at 09:27:35AM +0100, Maxime Coquelin wrote:
> +static int
> +vhost_user_net_set_mtu(struct virtio_net *dev, struct VhostUserMsg *msg)
> +{
> + if (msg->payload.u64 < VIRTIO_MIN_MTU ||
> + msg->payload.u64 > VIRTIO_MAX_MTU) {
> + RTE_LOG(ERR,
This patch implements the vhost-user MTU protocol feature support.
When VIRTIO_NET_F_MTU is negotiated, QEMU notifies the vhost-user
backend with the configured MTU if dedicated protocol feature is
supported.
The value can be used by the application to ensure consistency with
value set by the user
3 matches
Mail list logo