]> 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>
Thu, 13 Sep 2012 01:01:34 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 14 Sep 2012 07:05:51 +0000 (17:05 +1000)
commit8f1e9113536d5ddd9696bb14e9400d040e5b3476
tree9ba99626cc726a703d23175300edffbf4dff5884
parentc9e1f77a8996fa164420ebcf36162fb66dbc30a0
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