Hi Stephen,
From: Stephen Hemminger
Sent: Monday, October 9, 2023 8:18 AM
> On Thu, 5 Oct 2023 23:17:28 +
> Sam Andrew wrote:
> > +
> > +static int
> > +hn_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) {
> > + struct hn_data *hv = dev->data->dev_private;
> > + unsigned int orig_m
On Thu, 5 Oct 2023 23:17:28 +
Sam Andrew wrote:
> +
> +static int
> +hn_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu)
> +{
> + struct hn_data *hv = dev->data->dev_private;
> + unsigned int orig_mtu = dev->data->mtu;
> + uint32_t rndis_mtu;
> + int ret = 0;
> + int i;
Add support for changing the netvsc MTU. The MTU can only be set at nvs
initialization, therefore to change the MTU the underlying vmbus
channel(s) are torn down and the vmbus device unmapped and remapped. The
existing rx and tx queue(s) are reconnected to the new vmbus channel(s).
Signed-off-by:
4 matches
Mail list logo