]> 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, 21 Sep 2012 01:03:32 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Sep 2012 08:46:52 +0000 (18:46 +1000)
commit56bf6b0d6d5f275782613261474dda7f50c743b2
tree250a4cb4fe5525b309aa97c2a927f6911e2ef945
parent2ad550663cacc02952c99e9c751355e891d8a598
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