]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
aoe: use packets that work with the smallest-MTU local interface
authorEd Cashin <ecashin@coraid.com>
Thu, 13 Sep 2012 01:01:34 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Sep 2012 07:28:20 +0000 (17:28 +1000)
commit92dfbf60a16d7a1b89c29cb95666de51bb0d1d33
tree076a1d467f6ea9406d26e65680a97aa6e0883ada
parenta90888818c13389d73cf469fd387f72fe13db19c
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