WSL2-Linux-Kernel/drivers/net/ethernet/sun
David S. Miller f9aa9dc7d2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
All conflicts were simple overlapping changes except perhaps
for the Thunder driver.

That driver has a change_mtu method explicitly for sending
a message to the hardware.  If that fails it returns an
error.

Normally a driver doesn't need an ndo_change_mtu method becuase those
are usually just range changes, which are now handled generically.
But since this extra operation is needed in the Thunder driver, it has
to stay.

However, if the message send fails we have to restore the original
MTU before the change because the entire call chain expects that if
an error is thrown by ndo_change_mtu then the MTU did not change.
Therefore code is added to nicvf_change_mtu to remember the original
MTU, and to restore it upon nicvf_update_hw_max_frs() failue.

Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-22 13:27:16 -05:00
..
Kconfig ldmvsw: Add ldmvsw.c driver code 2016-03-18 19:33:00 -04:00
Makefile ldmvsw: Add ldmvsw.c driver code 2016-03-18 19:33:00 -04:00
cassini.c ethernet/sun: use core min/max MTU checking 2016-10-18 11:34:20 -04:00
cassini.h ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
ldmvsw.c ethernet/sun: use core min/max MTU checking 2016-10-18 11:34:20 -04:00
niu.c ethernet/sun: use core min/max MTU checking 2016-10-18 11:34:20 -04:00
niu.h
sunbmac.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-11-22 13:27:16 -05:00
sunbmac.h sunbmac: Fix compiler warning 2016-11-18 11:18:27 -08:00
sungem.c ethernet/sun: use core min/max MTU checking 2016-10-18 11:34:20 -04:00
sungem.h
sunhme.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
sunhme.h sunhme: stop using net_device.{base_addr, irq}. 2012-04-07 11:47:03 +02:00
sunqe.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-11-22 13:27:16 -05:00
sunqe.h sunqe: Fix compiler warnings 2016-11-18 11:18:26 -08:00
sunvnet.c ethernet/sun: use core min/max MTU checking 2016-10-18 11:34:20 -04:00
sunvnet_common.c ldmvsw: tx queue stuck in stopped state after LDC reset 2016-10-31 15:20:29 -04:00
sunvnet_common.h ethernet/sun: use core min/max MTU checking 2016-10-18 11:34:20 -04:00