Thread (28 messages) 28 messages, 6 authors, 2019-07-01

Re: [net-next 2/4] gve: Add transmit and receive support

From: Catherine Sullivan <hidden>
Date: 2019-06-28 17:50:26

On Wed, Jun 26, 2019 at 12:42 PM Andrew Lunn [off-list ref] wrote:
quoted
+static int gve_change_mtu(struct net_device *dev, int new_mtu)
+{
+     dev->mtu = new_mtu;
+     return 0;
+}
The default implementation does this.

Also, i think your mtu has a limit of PAGE size.  So you should set
the dev->max_mtu so the core will enforce this.

    Andrew
Ah, thanks, gve_change_mtu will be removed in v2.
We already set dev->max_mtu to PAGE_SIZE in init_priv.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help