]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ethernet-use-core-min-max-mtu'
authorDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 15:34:22 +0000 (11:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 15:34:22 +0000 (11:34 -0400)
commit80d01bdc86b4d6a9c3d60753c8109b4ff3c2ba42
tree97dff06ab97f91387a88de2dfb3c6d959609d321
parent5d8f3ae7f27a1e7772e82a6199c74a0949a7b647
parentf3b857fee3655a2bac84706c0a9198f0a5234bee
Merge branch 'ethernet-use-core-min-max-mtu'

Jarod Wilson says:

====================
ethernet: use core min/max MTU checking

Now that the network stack core min/max MTU checking infrastructure is in
place, time to start making drivers use it. We'll start with the easiest
ones, the ethernet drivers, split roughly by vendor, with a catch-all
patch at the end.

For the most part, every patch does the same essential thing: removes the
MTU range checking from the drivers' ndo_change_mtu function, puts those
ranges into the core net_device min_mtu and max_mtu fields, and where
possible, removes ndo_change_mtu functions entirely.

These patches have all been built through the 0-day build infrastructure
provided by Intel, on top of net-next as of October 17.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>