MFC - r302384 to 10-STABLE
authorsbruno <sbruno@FreeBSD.org>
Wed, 20 Jul 2016 18:26:48 +0000 (18:26 +0000)
committersbruno <sbruno@FreeBSD.org>
Wed, 20 Jul 2016 18:26:48 +0000 (18:26 +0000)
commit6e4ce2c512d4f0bfe68a7064025acf48d6b293f7
treefb197b1baba6a7986bc833339b08c656fa5dc127
parente747ac9c645f3f184976184a45d5cbfb3c50d1af
MFC - r302384 to 10-STABLE
Do not initialize the adapter on MTU change when adapter status is down.
This fixes long-standing problems when changing settings of the adapter.

Discussed in:
https://lists.freebsd.org/pipermail/freebsd-net/2016-June/045509.html

Differential Revision: https://reviews.freebsd.org/D7254
sys/dev/e1000/if_em.c
sys/dev/e1000/if_igb.c
sys/dev/e1000/if_lem.c
sys/dev/ixgb/if_ixgb.c
sys/dev/ixgbe/if_ix.c
sys/dev/ixgbe/if_ixv.c
sys/dev/ixl/if_ixl.c
sys/dev/ixl/if_ixlv.c