diff options
author | Ed Cashin <ecashin@coraid.com> | 2012-12-17 16:04:15 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 17:15:26 -0800 |
commit | 4a6c9ee93cd03604bd0e61066ce6aaf4bc0f1eb9 (patch) | |
tree | d2201824b6e62127d25dae9908c03b0857bf689f /drivers/block/aoe/aoe.h | |
parent | c450ba0fc12153cb5d3fd582b4ec82c75217a989 (diff) | |
download | linux-4a6c9ee93cd03604bd0e61066ce6aaf4bc0f1eb9.tar.gz linux-4a6c9ee93cd03604bd0e61066ce6aaf4bc0f1eb9.tar.bz2 linux-4a6c9ee93cd03604bd0e61066ce6aaf4bc0f1eb9.zip |
aoe: allow comma separator in aoe_iflist value
By default, the aoe driver uses any ethernet interface for AoE, but the
aoe_iflist module parameter provides a convenient way to limit AoE
traffic to a specific list of local network interfaces.
This change allows a list to be specified using the comma character as a
separator. For example,
modprobe aoe aoe_iflist=eth2,eth3
Before, it was inconvenient to get the quoting right in shell scripts
when setting aoe_iflist to have more than one network interface.
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r-- | drivers/block/aoe/aoe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index 0f478dcfc199..f8d6c7e18a8b 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h @@ -11,7 +11,7 @@ #define AOE_PARTITIONS (16) #endif -#define WHITESPACE " \t\v\f\n" +#define WHITESPACE " \t\v\f\n," enum { AOECMD_ATA, |