]> git.karo-electronics.de Git - karo-tx-linux.git/commit
aoe: associate frames with the AoE storage target
authorEd Cashin <ecashin@coraid.com>
Fri, 7 Sep 2012 00:25:12 +0000 (10:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 05:36:38 +0000 (15:36 +1000)
commit2527eb034fed4935883a63b0165603312480fb05
tree43d0a70dceaf5c20a4ff53cfc682ad3c1d3ec46a
parent2365f69cedd6f176e551658a4a1890f2718c6a78
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>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoecmd.c
drivers/block/aoe/aoedev.c