History log of /drivers/scsi/bfa/bfa_fcs.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7826f304b1efa5ab839cf029742290f51c4fa009 21-Jul-2011 Krishna Gudipati <kgudipat@brocade.com> [SCSI] bfa: Add FC-transport based Asynchronous Event Notification support.

- Added support to post vendor unique events on fc_host.
- Supports adapter, port, ioc, flash and remote port based AEN events.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
/drivers/scsi/bfa/bfa_fcs.c
d7be54cc5c5f6f9cb9ac67462aadda57813698b8 25-Jun-2011 Krishna Gudipati <kgudipat@brocade.com> [SCSI] bfa: FCS bug fixes.

- Added logic to initiate a PLOGI to the target, while processing a LOGO
from the same target in Direct attach mode.
- Added logic to generate a FCCT Reject indicating unsupported command,
upon receiving FCCT/FCGS requests.
- Added logic to set the fcpim in offline state and avoid any PRLI retries
if a PRLI response is a reject with a reason Command Not Supported.
- Updated the FDMI Supported/Current speeds.
- Added logic to wait for the response from the firmware before sending
ACC to PLOGI and transitioning to subsequent states - while processing an
Incoming PLOGI in online state.
- Added a wait state in the fcs_vport state machine - For case where
FDISC is in progress and we get a vport delete request we wait for
fdisc response and will transition to the appropriate state based on
rsp status, else its causing both driver/fw resources to be not
freed.
- Remove the fc_credit_recovery module param.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
/drivers/scsi/bfa/bfa_fcs.c
3fd459804ff8e002db2671900debd0fc6dc6c443 25-Jun-2011 Krishna Gudipati <kgudipat@brocade.com> [SCSI] bfa: Brocade-1860 Fabric Adapter vHBA support.

- Introduced partitioning of the BFA resources.
- Added h/w queue ID in CPE messages, firmware uses h/w queue ID
from messages to pick a matching RME queue.
- Added message header to bfa_reqq_produce(). h/w queue ID is set
in the message header and firmware modules use h/w queue ID from
message header instead of from cpqe event.
- Made changes to allow using all 256 queues of Brocade-1860 asic.
Previously only a single queue per queue group was used.
- Added function tag to BFI message header. Only used by FC BFI
messages. Used to translate host tag to firmware tag. bfa_lpuid()
is changed to bfa_fn_lpu() that encodes both PCI function and port
ID in BFI message header.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
/drivers/scsi/bfa/bfa_fcs.c
b85daafe46eeb0a9ad32c4b2c3a4e09ffcae9599 14-Jun-2011 Krishna Gudipati <kgudipat@brocade.com> [SCSI] bfa: Add BSG interface to support ELS, CT and vendor commands.

- Added BSG interface support to BFA driver
- Adds support to send ELS/CT FC passthru commands and
few vendor specific BSG requests.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
/drivers/scsi/bfa/bfa_fcs.c
75332a70a84908810ab5f525b03f230be9e31753 14-Jun-2011 Krishna Gudipati <kgudipat@brocade.com> [SCSI] bfa: Driver initialization and model description fix

- Moved FCS initialization, which internally does the im_port creation
as well as the scsi_host creation before bfa_init.

Once the bfa_init is complete & successful:
- Reset the FCS base port cfg params such as pwwn/nwwn and setup fc host
params - based on the values learned during the ioc getattr request.
- Change needed to support BSG commands even on bfa init failure.
- Model description fixes for Brocade adapters.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
/drivers/scsi/bfa/bfa_fcs.c
be540a991e2097c313d7304e0daaf89d68011bb9 14-Jun-2011 Krishna Gudipati <kgudipat@brocade.com> [SCSI] bfa: FC credit recovery and misc bug fixes.

- Introduce FC credit recovery.
- Added module parameter to enable/disable credit recovery.

Bug Fixes:
- Removed check for ignoring plogi from initiator in switched fabric mode.
- The ABTS for PLOGI is going out few millisecs earlier due to FW
timer calibration (around 300 miilisecs earlier). So there is a
window if an accept comes during this time HBA would have initiated
an ABORT.
- Added 1 to FC_ELS_TOV for compensating for FW timer.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
/drivers/scsi/bfa/bfa_fcs.c
dd5aaf4536c5111784a18d935b9b5adeac9f914c 14-Jun-2011 Krishna Gudipati <kgudipat@brocade.com> [SCSI] bfa: Changes to support vport disable and enable operations.

Made changes to FCS lport, vport state machines to support vport
enable / disable operations.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
/drivers/scsi/bfa/bfa_fcs.c
25985edcedea6396277003854657b5f3cb31a628 31-Mar-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix common misspellings

Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
/drivers/scsi/bfa/bfa_fcs.c
d4b671c58ebeb56dfc8fe8bcca25e0a06bc9359a 27-Dec-2010 Jing Huang <huangj@brocade.com> [SCSI] bfa: replace bfa_assert with WARN_ON

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
f16a17507b09e10e0cccc4d675ccbfe030d51ef1 10-Dec-2010 Maggie Zhang <xmzhang@brocade.com> [SCSI] bfa: remove all OS wrappers

Remove OS wrapper functions/macros, and as a result remove bfa_os_inc.h.

Signed-off-by: Maggie Zhang <xmzhang@brocade.com>
Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
f7f73812e95077c19a2801bbf4f483fcdab5232f 10-Dec-2010 Maggie Zhang <xmzhang@brocade.com> [SCSI] bfa: clean up one line functions

Cleaned up one line functions.

Signed-off-by: Maggie Zhang <xmzhang@brocade.com>
Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
df0f1933eb5454a5c481311837076056557467ad 10-Dec-2010 Maggie Zhang <xmzhang@brocade.com> [SCSI] bfa: remove unused and empty functions

Removed unused and empty functions.

Signed-off-by: Maggie Zhang <xmzhang@brocade.com>
Signed-off-by: Jing Huang <xmzhang@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
8816624222b12e5d7e291e9d1973fc42b994eb6b 10-Dec-2010 Jing Huang <huangj@brocade.com> [SCSI] bfa: rename log_level to bfa_log_level

Rename log_level to bfa_log_level to make the global variable more bfa
specific and avoid clashes with other drivers which was causing a
build failure.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
5fbe25c7a664601666895e8f95eaa59bd9741392 19-Oct-2010 Jing Huang <huangj@brocade.com> [SCSI] bfa: fix comments for c files

This patch addresses the comments from Randy Dunlap (Randy.Dunlap@oracle.com)
regarding comment blocks that begining with "/**". bfa driver comments
currently do not follow kernel-doc convention, we hence replace all
/** with /* and **/ with */.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
ba816ea8e2eacbf3d198ad1859f413c2d6213434 19-Oct-2010 Jing Huang <huangj@brocade.com> [SCSI] bfa: replace endian swap macros with the ones provided by linux

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
6a18b1675fdf08a6dc861e39c3f94309a03e7f16 19-Oct-2010 Jing Huang <huangj@brocade.com> [SCSI] bfa: remove os wrapper and unused functions

This patch removes os wrapper and unused functions.
bfa_os_assign(), bfa_os_memset(), bfa_os_memcpy(), bfa_os_udelay()
bfa_os_vsprintf(), bfa_os_snprintf(), and bfa_os_get_clock() are replaced with
direct assignment or native linux functions. Some unused functions related to VF
(Vitual fabric) are also removed.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
a36c61f9025b8924f99f54d518763bee7aa84085 15-Sep-2010 Krishna Gudipati <kgudipat@brocade.com> [SCSI] bfa: cleanup driver

We have flattened the BFA hierarchy and also reduced the number of
source and header files we used to have earlier.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
3cfc2c42c1cbc8e238bb9c0612c0df4565e3a8b4 05-Aug-2010 Linus Torvalds <torvalds@linux-foundation.org> Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial

* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits)
Documentation: update broken web addresses.
fix comment typo "choosed" -> "chosen"
hostap:hostap_hw.c Fix typo in comment
Fix spelling contorller -> controller in comments
Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -> Fault
fs/Kconfig: Fix typo Userpace -> Userspace
Removing dead MACH_U300_BS26
drivers/infiniband: Remove unnecessary casts of private_data
fs/ocfs2: Remove unnecessary casts of private_data
libfc: use ARRAY_SIZE
scsi: bfa: use ARRAY_SIZE
drm: i915: use ARRAY_SIZE
drm: drm_edid: use ARRAY_SIZE
synclink: use ARRAY_SIZE
block: cciss: use ARRAY_SIZE
comment typo fixes: charater => character
fix comment typos concerning "challenge"
arm: plat-spear: fix typo in kerneldoc
reiserfs: typo comment fix
update email address
...
d9883548a0b0afec4786e6c5cd8d03d43a30b779 09-Jul-2010 Jing Huang <huangj@brocade.com> [SCSI] bfa: PBC vport create

This patch enables creating PBC vport.
During fcs init, fcs will read PBC vport using bfa iocfc API and invoke fcb
callback to add the pbc vport entries into a list. The pbc vport list will be
traversed in the subsequent pci probe process and vport will be created using
fc transport provided vport create function.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
501af8d110f1fca597ff61c8611d018360ff9bf7 28-Jun-2010 Kulikov Vasiliy <segooon@gmail.com> scsi: bfa: use ARRAY_SIZE

Change sizeof(x) / sizeof(*x) to ARRAY_SIZE(x).

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
/drivers/scsi/bfa/bfa_fcs.c
82794a2e4153657d12a0c29272e40b47eaadb748 04-Mar-2010 Krishna Gudipati <kgudipat@brocade.com> [SCSI] bfa: New interface to handle firmware upgrade scenario

Split bfa_fcs_init() into bfa_fcs_attach() and bfa_fcs_init().

Removed empty function definitions in FCS modules

Modified driver to call bfa_fcs_attach() and bfa_fcs_init() as needed.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
5b098082e22c168b7df4c5c3cd924047cee7d995 04-Mar-2010 Krishna Gudipati <kgudipat@brocade.com> [SCSI] bfa: Changes to support FDMI Driver Parameter

Added a FCS function to be called during driver init, to set the FDMI
Driver parameter.

fdmi.c: Created a disabled state when fdmi is disabled.

bfad.c:
* Added fdmi_enable driver parameter.
* Added support to call bfa_fcs_set_fdmi_param() to initialize fcs
fdmi setting.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c
7725ccfda59715ecf8f99e3b520a0b84cc2ea79e 24-Sep-2009 Jing Huang <huangj@brocade.com> [SCSI] bfa: Brocade BFA FC SCSI driver

Add new driver for Brocade Hardware

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
/drivers/scsi/bfa/bfa_fcs.c