On Wed, 21 Aug 2019 02:16:58 +0000
"Myers, Charles" <charles.my...@spirent.com> wrote:

>  
>  static int
> +vmxnet3_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu)
> +{
> +     if (dev->data->dev_started) {
> +             PMD_DRV_LOG(ERR, "Port %d must be stopped to configure MTU",
> +                         dev->data->port_id);
> +             return -EBUSY;
> +     }
> +
> +     return 0;
> +}
> +

Don't you need to reset the rx ring to change mtu on the fly?
At a minimum you need to communicate this value to host through the
shared driver page.

Reply via email to