summaryrefslogtreecommitdiff
path: root/include/linux/iscsi_boot_sysfs.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-02-25 20:56:04 +0300
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2016-05-16 18:14:23 +0300
commit9a99425f0736a416442525ac7b15903173888b86 (patch)
treec02eb2ce974720b40d076faa9f24766c148d3f9f /include/linux/iscsi_boot_sysfs.h
parent18558cae0272f8fd9647e69d3fec1565a7949865 (diff)
downloadlinux-9a99425f0736a416442525ac7b15903173888b86.tar.xz
iscsi_ibft: Add prefix-len attr and display netmask
The iBFT table only specifies a prefix length, not a netmask. And the netmask is pretty much pointless for IPv6. So introduce a new attribute 'prefix-len'. Some older user-space code might rely on the netmask attribute being present, so we should always display it. Changes from v1: - Combined two patches into one Changes from v2: - Cleaned up/corrected wording for patch description Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Lee Duncan <lduncan@suse.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
Diffstat (limited to 'include/linux/iscsi_boot_sysfs.h')
-rw-r--r--include/linux/iscsi_boot_sysfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iscsi_boot_sysfs.h b/include/linux/iscsi_boot_sysfs.h
index 2a8b1659bf35..548d55395488 100644
--- a/include/linux/iscsi_boot_sysfs.h
+++ b/include/linux/iscsi_boot_sysfs.h
@@ -23,6 +23,7 @@ enum iscsi_boot_eth_properties_enum {
ISCSI_BOOT_ETH_INDEX,
ISCSI_BOOT_ETH_FLAGS,
ISCSI_BOOT_ETH_IP_ADDR,
+ ISCSI_BOOT_ETH_PREFIX_LEN,
ISCSI_BOOT_ETH_SUBNET_MASK,
ISCSI_BOOT_ETH_ORIGIN,
ISCSI_BOOT_ETH_GATEWAY,