]> git.karo-electronics.de Git - karo-tx-linux.git/commit
aoe: use packets that work with the smallest-MTU local interface
authorEd Cashin <ecashin@coraid.com>
Fri, 28 Sep 2012 00:22:23 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:01:43 +0000 (14:01 +1000)
commit595db31dfa6ddc4b910afa6f4a66fdf8166debb3
tree49992d5065813e6af00ce9076b7834e63a549319
parent74158a5e01e35ea0467e2c8b2a8cbfc67723073d
aoe: use packets that work with the smallest-MTU local interface

Users with several network interfaces dedicated to AoE generally do not
configure them to support different-sized AoE data payloads on purpose.

For a given AoE target, there will be a set of local network interfaces
that can reach it.  Using only the payload that will fit in the
smallest-sized MTU of all those local interfaces greatly simplifies the
driver, especially in failure scenarios.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoecmd.c