linux/drivers/scsi/bnx2fc
Bhanu Prakash Gollapudi aea71a0249 [SCSI] bnx2fc: Introduce interface structure for each vlan interface
Currently, bnx2fc has a hba structure that can work with only a single vlan
interface.  When there is a change in vlan id, it does not have the capability
to switch to different vlan interface. To solve this problem, a new structure
called 'interface' has been introduced, and each hba can now have multiple
interfaces, one per vlan id.

Most of the patch is a moving the interface specific fields from hba to the
interface structure, and appropriately modifying the dereferences. A list of
interfaces (if_list) is maintained along with adapter list. During a create
call, the interface structure is allocated and added to if_list and deleted &
freed on a destroy call.  Link events are propagated to all interfaces
belonging to the hba.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-07-27 15:37:31 +04:00
..
57xx_hsi_bnx2fc.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
bnx2fc_constants.h New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc 2011-06-15 10:56:37 -04:00
bnx2fc_debug.h [SCSI] bnx2fc: Replace printks with KERN_ALERT to KERN_ERR/KERN_INFO 2011-07-26 13:54:41 +04:00
bnx2fc_els.c [SCSI] bnx2fc: Introduce interface structure for each vlan interface 2011-07-27 15:37:31 +04:00
bnx2fc_fcoe.c [SCSI] bnx2fc: Introduce interface structure for each vlan interface 2011-07-27 15:37:31 +04:00
bnx2fc_hwi.c [SCSI] bnx2fc: Introduce interface structure for each vlan interface 2011-07-27 15:37:31 +04:00
bnx2fc_io.c [SCSI] bnx2fc: Introduce interface structure for each vlan interface 2011-07-27 15:37:31 +04:00
bnx2fc_tgt.c [SCSI] bnx2fc: Introduce interface structure for each vlan interface 2011-07-27 15:37:31 +04:00
bnx2fc.h [SCSI] bnx2fc: Introduce interface structure for each vlan interface 2011-07-27 15:37:31 +04:00
Kconfig
Makefile