ionic: set MTU floor at ETH_MIN_MTU
authorShannon Nelson <snelson@pensando.io>
Thu, 27 Aug 2020 23:00:19 +0000 (16:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2020 15:01:29 +0000 (08:01 -0700)
commiteba8760948ba04a0909e9c40d552d7fbc6bfb7d3
tree076da95864741d683cd318b40e9070450531a43a
parent161e31066757a70076aea4016b167d352915b32a
ionic: set MTU floor at ETH_MIN_MTU

The NIC might tell us its minimum MTU, but let's be sure not
to use something smaller than ETH_MIN_MTU.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c