17d87c45b9042fa2f830c5a47cdfd3370bb60729 |
|
03-Jul-2014 |
Saurav Kashyap <saurav.kashyap@qlogic.com> |
bnx2fc: Rebranding bnx2fc driver QLogic has acquired the NetXtremeII products and drivers from Broadcom. This patch re-brands bnx2fc driver as a QLogic driver Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Acked-by: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
|
38e83bff1439ded2ada7cae166ef5513a6d82226 |
|
12-Dec-2013 |
Eddie Wai <eddie.wai@broadcom.com> |
[SCSI] bnx2fc: Updated version to 2.4.2 Old version: 2.4.1 New version: 2.4.2 Signed-off-by: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
245a57542462f0cdbd28ca676bbce441e15178bf |
|
12-Dec-2013 |
Eddie Wai <eddie.wai@broadcom.com> |
[SCSI] bnx2fc: Fixed the handling for the SCSI retry delay SCSI retry delay upon SAM_STAT_BUSY/_SET_FULL was not being handled in bnx2fc. This patch adds such handling by returning TARGET_BUSY to the SCSI ML for the corresponding LUN until the retry timer expires. Signed-off-by: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
aa106202e4485e25e96c5ced29238dabc07bccd1 |
|
18-Sep-2013 |
Eddie Wai <eddie.wai@broadcom.com> |
[SCSI] bnx2fc: Bump version from 1.0.14 to 2.4.1 Signed-off-by: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
f78afb356303e5f78750321a63809ef5c2d13c0d |
|
18-Sep-2013 |
Michael Chan <mchan@broadcom.com> |
bnx2x, cnic, bnx2i, bnx2fc: Fix bnx2i and bnx2fc regressions. commit b9871bcfd211d316adee317608dab44c58d6ea2d bnx2x: VF RSS support - PF side changed the configuration of the doorbell HW and it broke iSCSI and FCoE. We fix this by making compatible changes to the doorbell address in bnx2i and bnx2fc. For the userspace driver, we need to pass a modified CID so that the existing userspace driver will calculate the correct doorbell address and continue to work. Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
0a7d1d360aa3c7578deff480db080ac2544725e8 |
|
09-Mar-2013 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bumped version to 1.0.14 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
cf1221912fcdc2542509ef41543117ee86254d04 |
|
08-Mar-2013 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Update copyright dates Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
c13d2b6d3640d1ef180e40191178b4f1271982c1 |
|
08-Mar-2013 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Include chip number in the symbolic name [jejb: move PCI_DEVICE_ID definitions to include/pci_ids.h] Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
0eb43b4bb081a1a22574daab9c05286a600dd7fe |
|
22-Apr-2013 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
bnx2x, bnx2fc: Use per port max exchange resources The firmware supports a maximum of 4K FCoE exchanges. In 4-port devices, or when working in multi-function mode, this resource needs to be distributed between the various possible FCoE functions. This information needs to be calculated by bnx2x and propagated into bnx2fc via cnic. bnx2fc can then use this value to calculate corresponding xid resources instead of using global constants. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
2b82d825a5fc94c79e7d2a7c54b0cb2d22817cc0 |
|
22-Dec-2012 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bumped version to 1.0.13 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
f246fe2a56b3286d0675aba5ebc79ec3b98117f6 |
|
22-Dec-2012 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Tx/Rx byte counts reset to 0 when exceeding 32 bit values Since the FW counters are 32-bit, accumulate the stats in the driver. [jejb: fix checkpatch warning] Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
e7f4fed5fa96d3da12c3e1c8ed9f536235eec3b5 |
|
22-Dec-2012 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Map the doorbell register between offload and enable requests We used to map doorbell register after FW enable request is complete. This causes a race condition when unsolicited event is received, and FW sends a CQE for it. Since the doorbell is not mapped, driver does not arm CQ, which means FW will not notify the driver for further CQ completions. To resolve this, map the doorbell between offload and enable, so that driver is ready to receive the unsolicited packets and arm the CQ as soon as FW enable is performed. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
eb47aa2c2145f106a9ba2f95696b16520f1c8119 |
|
07-Jun-2012 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bumped version to 1.0.12 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
5c17ae217ad13463f821c3bab774335777da9c33 |
|
07-Jun-2012 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Improve error recovery by handling parity errors During parity errors, the ramrods are not issued to FW. bnx2fc waits for the timeout value, and proceeds with cleaning up the IOs. Since we are already out-of-sync with FW, cleanup commands timeout too, and do not get the completion. This operation takes 36 secs for each session to upload causing huge delays. To fix this, bnx2fc now gets a PARITY_ERROR from cnic driver, and upon failure, the driver does not issue any commands to the FW and finishes the upload process sooner. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
3db8cc106569aa81088ee83d46f52a631471811c |
|
05-Jun-2012 |
Joe Perches <joe@perches.com> |
[SCSI] bnx2fc: Reduce object size by consolidating formats Deduplication of formats and consolidating tests makes the object much smaller. Add bnx2fc_debug.c, add functions for a few logging functions (BNX2FC_IO_DBG, BNX2FC_TGT_DBG, BNX2FC_HBA_DBG). Use printf extension %pV. Add and use pr_fmt and pr_<level>. Move the debug #include below structure definitions. $ size drivers/scsi/bnx2fc/built-in.o* text data bss dec hex filename 101563 1165 24976 127704 1f2d8 drivers/scsi/bnx2fc/built-in.o.new 138473 1109 33400 172982 2a3b6 drivers/scsi/bnx2fc/built-in.o.old Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
2e499d3cc13365a87815266dda59904dcb8c8d6c |
|
26-Jun-2012 |
Barak Witkowski <barak@broadcom.com> |
bnx2x, bnx2fc, bnx2i, cnic: Add statistics support and FCoE capabilities advertisement 1. When FCoE offload driver is registered, copy its capabilities to the chip scratchpad. 2. Copy FCoE/iSCSI MAC addresses in aligned manner to chip scratchpad. 3. Add FCoE/iSCSI statistics collection support Signed-off-by: Barak Witkowski <barak@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
fd8f89027d816cb023edf6bfd4c744f194150a05 |
|
23-May-2012 |
Robert Love <robert.w.love@intel.com> |
[SCSI] bnx2fc: Allocate fcoe_ctlr with bnx2fc_interface, not as a member Currently the fcoe_ctlr associated with an interface is allocated as a member of struct bnx2fc_interface. This causes problems when when later patches attempt to use the new fcoe_sysfs APIs which allow us to allocate the bnx2fc_interface as private data to a fcoe_ctlr_device instance. The problem is that libfcoe wants to be able use pointer math to find a fcoe_ctlr's fcoe_ctlr_device as well as finding a fcoe_ctlr_device's assocated fcoe_ctlr. To do this we need to allocate the fcoe_ctlr_device, with private data for the LLD. The private data will contain the fcoe_ctlr and its private data will be the bnx2fc_interface. +-------------------+ | fcoe_ctlr_device | +-------------------+ | fcoe_ctlr | +-------------------+ | bnx2fc_interface | +-------------------+ This prep work will allow us to go from a fcoe_ctlr_device instance to its fcoe_ctlr as well as from a fcoe_ctlr to its fcoe_ctlr_device once the fcoe_sysfs API is in use (later patches in this series). Signed-off-by: Robert Love <robert.w.love@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
e91506dbcfc9e405b2a8013e3a59741bbedce471 |
|
25-Apr-2012 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bumped version to 1.0.11 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
98788a134979fe66c32a1393adf66f7d3faf16ea |
|
24-Jan-2012 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bumped version to 1.0.10 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
7d742f659e00f08016a4446a9134036e47f9a0cf |
|
24-Jan-2012 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: NPIV ports go offline when interface is brought down & up When there are 255 NPIV ports, and the interface is brought down & up, both physical and NPIV ports are logged off and never logged back in. Since discovery happens on single CPU, XID resources on that CPU will be limited, which when exhausted the discovery fails. Increase the XID resource range to ensure that the discovery completes successfully. Also ensure that fc_exch_mgr_alloc() doesn't fail on the system that has lower number of CPUs. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
44c570b5b09d1d1cc3167834f89f754f1bc5ac14 |
|
24-Jan-2012 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Handle LOGO flooding from the target Host drops sessions when flood of unsolicited LOGOs are received from the target. Because of unsufficient PLOGI retries, upon exceeding the retry count of 3, the target sessions are dropped. Increased the retry count to 255 to allow sufficient retries in this scenario. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
fd2541893da50cbc1e547a9aaebf104bed859915 |
|
24-Oct-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bumped version to 1.0.9 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
99cc600cdd6f938633394523447378f7a43f4340 |
|
24-Oct-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Handle ABTS timeout during ulp timeout If the IO and the corresponding ABTS are not responded by a target, cleanup the IO and issue explicit logout when ulp timer expires while waiting for ABTS to complete. Wait for the session to be ready before returning to the SCSI layer. If the session is not ready let the SCSI-ml escalate the error recovery. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
29f366e8a99fdced4c0b5417a478d7539adc66d3 |
|
04-Oct-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bumped version to 1.0.8 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
0a336d6f1b9e2419c2fa724a5463b63fa9df7ee5 |
|
20-Sep-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bumped version to 1.0.7 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
cf00025d1d04cef76ef979d39e54122c3b9233e9 |
|
31-Aug-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bumped version to 1.0.6 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
8a5badf1ea10c726b9cc04e52f91395b1248e034 |
|
31-Aug-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Send solicitation only after vlan discovery is complete Link up event is generated to the driver even before vlan discovery has started. Because of this driver can send discovery solicitation on a stale vlan. Call fcoe_ctlr_link_up() only when the driver is in enabled state, which implies the vlan discovery is complete before sending solicitation. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
dc219a2e4812eecdc5438d2a0e2434b03d3efbf2 |
|
26-Aug-2011 |
Michael Chan <mchan@broadcom.com> |
cnic, bnx2fc: Increase maximum FCoE sessions. Increase it to NVRAM configured limit or 1024 whichever is less. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
55a3a35dd4fe616301450c85a77e2d5b5f4bb7bf |
|
05-Aug-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bump version to 1.0.5 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
adfc5217e9db68d3f0cec8dd847c1a6d3ab549ee |
|
07-Apr-2011 |
Jeff Kirsher <jeffrey.t.kirsher@intel.com> |
broadcom: Move the Broadcom drivers Moves the drivers for Broadcom devices into drivers/net/ethernet/broadcom/ and the necessary Kconfig and Makefile changes. CC: Eilon Greenstein <eilong@broadcom.com> CC: Michael Chan <mchan@broadcom.com> CC: Matt Carlson <mcarlson@broadcom.com> CC: Gary Zambrano <zambrano@broadcom.com> CC: "Maciej W. Rozycki" <macro@linux-mips.org> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|
9b35baae3a62c33a73a6fd8bf4d1b6c4e3b5b5f3 |
|
27-Jul-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Update copyright and bump version to 1.0.4 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
7b594769120b43b8da1ff8f7b4c31a47fabd6ac0 |
|
27-Jul-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Handle REC_TOV error code from firmware Driver decides to initiate REC on REC_TOV timer pop. The firmware maintains the REC timer and informs the driver as a firmware error message, which is an unsolicited event to the driver. Driver also issues REC on other unsolicited events from firmware that indicate data loss. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
744469542951d32979a8dcb1dbed560bfed1745e |
|
27-Jul-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: REC/SRR link service request and response handling Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
6c5a7ce4f176b641fd11e59be4df31ee3e6202dd |
|
27-Jul-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Support 'sequence cleanup' task For the devices that support sequence level error recovery, based on the REC response, the firmware has to be informed about the offset from which the retransmission should happen. Driver initiates sequence cleanup task to firmware so that the firmware can program the task. Upon the sequence cleanup completion, SRR is issued to retransmit the sequence. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
b252f4c7c39cc43c1a34c68951f98d7391a1a103 |
|
26-Jul-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Enable REC & CONF support for the session Based on PRLI response, identify if the target is FCP-2 (seq level error recovery) capable, and appropriately set the corresponding CONF, REC flags when offloading the session. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
aea71a024914e8b5b8bed31256dae42195a0a207 |
|
26-Jul-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[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>
|
2382d2364a60dc9d49b0ca12ef01b46dc8169e95 |
|
27-May-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Bumped version to 1.0.2 Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
d36b3279e157641c345b12eddb3db78fb42da80f |
|
27-May-2011 |
Bhanu Prakash Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Fix kernel panic when deleting NPIV ports Deleting NPIV port causes a kernel panic when the NPIV port is in the same zone as the physical port and shares the same LUN. This happens due to the fact that vport destroy and unsolicited ELS are scheduled to run on the same workqueue, and vport destroy destroys the lport and the unsolicited ELS tries to access the invalid lport. This patch fixes this issue by maintaining a list of valid lports and verifying if the lport is valid or not before accessing it. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
619c5cb6885b936c44ae1422ef805b69c6291485 |
|
14-Jun-2011 |
Vlad Zolotarov <vladz@broadcom.com> |
New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc New FW/HSI (7.0): - Added support to 578xx chips - Improved HSI - much less driver's direct access to the FW internal memory needed. New implementation of the HSI handling layer in the bnx2x (bnx2x_sp.c): - Introduced chip dependent objects that have chip independent interfaces for configuration of MACs, multicast addresses, Rx mode, indirection table, fast path queues and function initialization/cleanup. - Objects functionality is based on the private function pointers, which allows not only a per-chip but also PF/VF differentiation while still preserving the same interface towards the driver. - Objects interface is not influenced by the HSI changes which do not require providing new parameters keeping the code outside the bnx2x_sp.c invariant with regard to such HSI chnages. Changes in a CNIC, bnx2fc and bnx2i modules due to the new HSI. Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@conan.davemloft.net>
|
befc9b4dda55a146f3e7e1d00abcb4a18fd75887 |
|
25-Apr-2011 |
Nithin Nayak Sujir <nsujir@broadcom.com> |
[SCSI] bnx2fc: increase cleanup wait time FW may take more time cleaning up IOs issued to multiple targets. Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
d9f7f37b90e7b0180961cb6567ae423ac3757db8 |
|
18-Mar-2011 |
Nithin Sujir <nsujir@broadcom.com> |
[SCSI] bnx2fc: Bump version to 1.0.1 Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
1294bfe60960c89a0c875cffb90c3bacf1d675d2 |
|
18-Mar-2011 |
Bhanu Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Fix MTU issue by using static MTU bnx2x now uses seperate MTUs for networking and FCoE. FCoE MTU is fixed to 2500 and bnx2fc now needs to match this logic by using FCOE_MTU instead of netdev->mtu. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
0ea5c27583e1cc164bba7ca29fe48a225f52d19b |
|
18-Mar-2011 |
Bhanu Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: common free list for cleanup commands Cleanup commands are issued to the firmware to cleanup any stuck ios that are supposed to be implicitly aborted. In the worst case we can have all scsi ios filling up the free_list and we may not be able to allocate cleanup tasks. So the driver has to reserve free_list entries to be able to allocate the cleanup tasks. This reserve free_list common to all cpus is allocated as one additional entry in the per cpu free_lists. In bnx2fc_cmd_alloc(), there is a related fix to use get_cpu() for the free_list_index. This will prevent using the wrong index if the CPU is preempted. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|
853e2bd2103aaa91d1ba1c0b57ba17628d836f03 |
|
04-Feb-2011 |
Bhanu Gollapudi <bprakash@broadcom.com> |
[SCSI] bnx2fc: Broadcom FCoE offload driver This driver is for Broadcom Netxtreme II 57712 chip. The following patch contains the driver sources for bnx2fc driver. libfc/libfcoe changes to enable bnx2fc have already gone through the fcoe tree. bnx2fc is a SCSI low level driver that interfaces with SCSI midlayer, libfc, libfcoe, cnic modules. bnx2fc driver uses services of libfc for slow path operations such as FIP and fabric discovery. The fast path IO perations are performed after offloading the session information to the underlying FCoE firmware. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|