]> git.baikalelectronics.ru Git - kernel.git/commit
aoe: use packets that work with the smallest-MTU local interface
authorEd Cashin <ecashin@coraid.com>
Fri, 5 Oct 2012 00:16:27 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:25 +0000 (03:05 +0900)
commit8e0b85c559e83ba68ae645ffb45816e8c0a92ca3
tree05e8f202fff8f7b848fee76a297c8a7ebbd101f6
parent9aee5eaa16c77a93e03a2e26ce8b44ff27967429
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoecmd.c