]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r300008
authorarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 4 Jun 2016 16:52:04 +0000 (16:52 +0000)
committerarybchik <arybchik@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 4 Jun 2016 16:52:04 +0000 (16:52 +0000)
commita046bde7d4424a5648684a8544844e324a748e93
tree2b3f41ba54fe350ca9674d79dc05bcddb2e526b6
parent90d900e4bdafc1ce98b8a40ca7f11f6b25ba4e30
MFC r300008

sfxge(4): query and use current MTU if setting the MTU fails

This allows the driver to fall back to the largest usable MTU if a
user attempts to configure an unprivileged function with an MTU higher
than that of the attached port.

Submitted by:   Mark Spender <mspender at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@301380 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sfxge/common/ef10_impl.h
sys/dev/sfxge/common/ef10_mac.c
sys/dev/sfxge/common/efx.h
sys/dev/sfxge/common/efx_impl.h
sys/dev/sfxge/common/efx_mac.c
sys/dev/sfxge/common/siena_impl.h
sys/dev/sfxge/common/siena_mac.c