RE: [PATCH] net: core: Fix to store new mtu setting in netdevice.

From: Murali Krishna Policharla
Date: Tue Jan 01 2019 - 04:49:05 EST

Hi Andrew,
Currently net/dsa/slave.c does not have
ndo_change_mtu function. But shortly I will be submitting a separate
patch outside this fix that has ndo_change_mtu function support added to
DSA switch. As part of testing the newly added ndo_change_mtu function
for DSA switch it uncovered that new mtu size is not being updated to
netdevice structure. This patch fixes this issue and updates new mtu size
to netdevice structure.

Hope this clarifies, let me know if you need any further information.


-----Original Message-----
From: Andrew Lunn [mailto:andrew@xxxxxxx]
Sent: Tuesday, January 1, 2019 2:05 PM
To: Murali Krishna Policharla
Cc: davem@xxxxxxxxxxxxx; amritha.nambiar@xxxxxxxxx; ecree@xxxxxxxxxxxxxx;
ktkhai@xxxxxxxxxxxxx; alexander.h.duyck@xxxxxxxxx; netdev@xxxxxxxxxxxxxxx;
Subject: Re: [PATCH] net: core: Fix to store new mtu setting in netdevice.

On Tue, Jan 01, 2019 at 12:12:14PM +0530, Murali Krishna Policharla wrote:
> Store newly configured mtu settings in the netdevice after mtu
> configuration is successful to the dsa switch.

Hi Murali

Please could you give more details. net/dsa/slave.c does not have a
ndo_change_mtu function, so i don't know what you mean by the
reference to DSA.