[SCSI] iscsi class: fix vlan configuration
authorMike Christie <michaelc@cs.wisc.edu>
Tue, 11 Oct 2011 22:55:11 +0000 (17:55 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 20 Oct 2011 15:13:55 +0000 (10:13 -0500)
commit2d63673b4d469cf2ddba309a916090b54e31cc35
treec6d4b607abcf218f5d51f3d298be0230a72dab80
parent00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80
[SCSI] iscsi class: fix vlan configuration

Userspace was sending the priority/id part of the vlan tag
and sysfs was displaying the id in the vlan file. This
renames the vlan sysfs file to vlan_id to reflect that it
was showing the id and to match the vlan_priority file.
This also adds a ISCSI_NET_PARAM_VLAN_TAG iscsi nl command
to relfect that we are sending down the vlan/priority
part of the tag.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c
drivers/scsi/scsi_transport_iscsi.c
include/scsi/iscsi_if.h