diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2011-10-06 04:17:42 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2011-10-06 04:17:42 -0500 |
commit | 304ed371122570a2af6106ed800bca56ddb0d1e1 (patch) | |
tree | 95927914a07f2ebdc87695062a0bcc20dc78c7d5 /include | |
parent | c4aee089c879ee51c93d9cb48cd7a521efc667b2 (diff) | |
download | open-iscsi-304ed371122570a2af6106ed800bca56ddb0d1e1.tar.gz |
iscsi tools: fix up vlan support
This syncs userspace up with what has been sent to linux-scsi
by fixing:
1. link_local_autocfg sysfs file naming.
2. init vlan, port and mtu sysfs handling so that they are
initialized to 0 on failure to read them.
3. Change ISCSI_NET_PARAM_VLAN_ID to ISCSI_NET_PARAM_VLAN_TAG
because we are setting the tag and not just the id.
Diffstat (limited to 'include')
-rw-r--r-- | include/iscsi_if.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/iscsi_if.h b/include/iscsi_if.h index 0a96080..28447df 100644 --- a/include/iscsi_if.h +++ b/include/iscsi_if.h @@ -320,10 +320,11 @@ enum iscsi_net_param { ISCSI_NET_PARAM_VLAN_ID = 13, ISCSI_NET_PARAM_VLAN_PRIORITY = 14, ISCSI_NET_PARAM_VLAN_ENABLED = 15, - ISCSI_NET_PARAM_IFACE_TYPE = 16, - ISCSI_NET_PARAM_IFACE_NAME = 17, - ISCSI_NET_PARAM_MTU = 18, - ISCSI_NET_PARAM_PORT = 19, + ISCSI_NET_PARAM_VLAN_TAG = 16, + ISCSI_NET_PARAM_IFACE_TYPE = 17, + ISCSI_NET_PARAM_IFACE_NAME = 18, + ISCSI_NET_PARAM_MTU = 19, + ISCSI_NET_PARAM_PORT = 20, }; enum iscsi_conn_state { |