18 Sep, 2011

1 commit


27 Aug, 2011

3 commits


28 Jul, 2011

1 commit


27 Jul, 2011

2 commits

  • 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
    Signed-off-by: James Bottomley

    Bhanu Prakash Gollapudi
     
  • 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
    Signed-off-by: James Bottomley

    Bhanu Prakash Gollapudi
     

26 Jul, 2011

1 commit


15 Jun, 2011

1 commit

  • 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
    Signed-off-by: Michael Chan
    Signed-off-by: Bhanu Prakash Gollapudi
    Signed-off-by: Eilon Greenstein
    Signed-off-by: David S. Miller

    Vlad Zolotarov
     

31 Mar, 2011

1 commit


24 Mar, 2011

1 commit

  • With kernel debugging enabled, holding cq_lock when calling
    bnx2fc_free_session_resc() which calls iounmap() leads to a warning
    stack trace [INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected].
    iounmap() grabs a HARDIRQ-unsafe vmlist lock, so holding
    spin_lock_bh(cq_lock) when calling iounmap() will trigger the LOCKDEP
    warning. Since cq_lock is required only to guard against deletion, hold
    the lock just before freeing the cq.

    Signed-off-by: Bhanu Prakash Gollapudi
    Signed-off-by: Nithin Nayak Sujir
    Signed-off-by: Michael Chan
    Signed-off-by: James Bottomley

    Bhanu Gollapudi
     

01 Mar, 2011

1 commit

  • 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
    Reviewed-by: Mike Christie
    Signed-off-by: James Bottomley

    Bhanu Gollapudi