[SCSI] bnx2fc: Support interface creation on non-VLAN interface also.
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Mon, 4 Jun 2012 23:15:44 +0000 (16:15 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:19 +0000 (08:58 +0100)
commit7adc5a3746553971c13fdebc75d6ac1678638d94
tree947cda934dfec36705ff4580416e545f3d23d0ab
parent3db8cc106569aa81088ee83d46f52a631471811c
[SCSI] bnx2fc: Support interface creation on non-VLAN interface also.

bnx2fc had an assumption that the fcoe interface will always start on the vlan
dev. However, some switch implementations (Eg., HP virtual connect FlexFabric)
expects the fcoe interface to be started on physical interface. Do not error
out if the netdev is not a vlan dev.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c