]> git.openfabrics.org - ~emulex/infiniband.git/commit
aoe: associate frames with the AoE storage target
authorEd Cashin <ecashin@coraid.com>
Fri, 5 Oct 2012 00:16:33 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:27 +0000 (03:05 +0900)
commit64a80f5ac78a289f66c373ace61973205d960ee7
tree3a8b9f5c1860acd8bab6d022dbbca32985e228ee
parent6583303c5e324a918ee1d57201acd9869f3be6da
aoe: associate frames with the AoE storage target

In the driver code, "target" and aoetgt refer to a particular remote
interface on the AoE storage target.  The latter is identified by its AoE
major and minor addresses.  Commands that are being sent to an AoE storage
target {major, minor} can be sent or retransmitted to any of the remote
MAC addresses associated with the AoE storage target.

That is, frames are naturally associated with not an aoetgt (AoE major,
AoE minor, remote MAC address) but an aoedev (AoE major, AoE minor).
Making the code reflect that reality simplifies the driver, especially
when the path to a remote MAC address becomes unusable.

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
drivers/block/aoe/aoedev.c