1. 12 6月, 2015 6 次提交
  2. 22 2月, 2015 1 次提交
  3. 18 12月, 2013 2 次提交
    • R
      bna: RX Filter Enhancements · fe1624cf
      Rasesh Mody 提交于
      Change Details:
       - Added bna_rx_ucast_listset() for synchronous ucast listadd operation.
       - Clear mac->handle before adding it to free_q.
       - bnad_set_rx_mode() rewritten. bnad_set_rx_mode() adds the MACs in uc_list
         to UCAM. If it exceeds the max supported, DEFAULT mode is turned on. If
         MCAM limit is exceeded, ALLMULTI mode is turned on.
       - Clear CF flags, check for the new mode and reprogram the Rx approach.
       - Added bnad_set_rx_ucast_fltr() and bnad_set_rx_mcast_fltr().
       - Check for IFF_PROMISC to set the correct mode.
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fe1624cf
    • R
      bna: Fix Filter Add Del · 20b298f5
      Rasesh Mody 提交于
      Change Details:
       - bna_rx_mcast_listset() API first looks at free_q only and not at other
         pending Qs rendering it non-deterministic of giving an upper limit.
         Modify bna_rx_mcast_listset() implementation to not use only half of the
         limit.
       - Allocate and initialize queue for deleting
       - Segregate the adding and deleting process by using separate queues.
       - The filter framework in bna does not let adding addresses to its max capacity
         due to asynchronous operations involved.
         Provide a synchronous option to set a given list.
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      20b298f5
  4. 21 5月, 2013 1 次提交
    • R
      bna: Fix Ucast Failure Handling · f489a4ba
      Rasesh Mody 提交于
      Failure of the UCAST set for base mac address fails when user configures a
      duplicate mac address that matches that of another vNIC on the same port.
      The bna does not handle the ucast failure and keeps this address in cache.
      On disable of the vNIC, bna tries to delete the failed base mac address and the
      fw asserts.
      
      On failure of ucast address, mark ucast address set to false.
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f489a4ba
  5. 12 12月, 2012 1 次提交
    • R
      bna: Tx and Rx Optimizations · 5216562a
      Rasesh Mody 提交于
      Change details:
       -      Have contiguous queue pages for TxQ, RxQ and CQ. Data structure and
              QPT changes related to contiguous queue pages
       -      Optimized Tx and Rx unmap structures. Tx and Rx fast path changes due to
              unmap data structure changes
       -      Re-factored Tx and Rx fastpath routines as per the new queue data structures
       -      Implemented bnad_txq_wi_prepare() to program the opcode, flags, frame_len
              and num_vectors in the work item
       -      Reduced Max TxQ and RxQ depth to 2048 while default value for Tx/Rx queue
              depth is unaltered (512)
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5216562a
  6. 11 7月, 2012 1 次提交
  7. 17 9月, 2011 1 次提交
  8. 16 9月, 2011 1 次提交
  9. 11 8月, 2011 4 次提交
    • R
      bna: Remove Obsolete Files · e827e326
      Rasesh Mody 提交于
      Change details:
       - Removec bfi_ll.h bna_hw.h bna_ctrl.c and bna_txrx.c due to ENET, MSGQ
         and TXRX changes for new FW Driver interface and TX RX re-design.
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e827e326
    • R
      bna: Remove Unused Code · f6d46a2e
      Rasesh Mody 提交于
      Remove unused code.
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f6d46a2e
    • R
      bna: ENET and Tx Rx Redesign Enablement · 078086f3
      Rasesh Mody 提交于
      Change details:
      This patch contains additional structure and function definition changes
      that are required to enable the new msgq/enet/txrx redesign introduced
      by the previous 4 patches.
       - structure and function definition changes to header files as a result
         of Ethport, Enet, IOCEth, Tx, Rx redesign.
       - ethtool changes to use new enet function and definitions
       - Set number of Tx and Rx queues bassed on underlying hardware. Define
         separate macros for maximum and supported numbers of Tx and Rx queues
         based on underlying hardware. Take VLAN header into account for MTU
         calculation. Default to INTx mode when pci_enable_msix() fails. Set a
         bit in Rx poll routine, check and wait for that bit to be cleared in
         the cleanup routine before proceeding.
       - The TX and Rx coalesce settings are programmed in steps of 5 us. The value
         that are not divisible by 5 are rounded to the next lower number. This was
         causing the value os 1 to 4 to be rounded to 0, which is an invalid setting.
         When creating Rx and Tx object, we are currently assigning the default
         values of Rx and Tx coalescing_timeo. If these values are changed in the
         driver to a different value, the change is lost during such operations as
         MTU change. In order to avoid that, pass the configured value of
         coalescing_timeo before Rx and Tx object creation. Fix
         bnad_tx_coalescing_timeo_set() so it applies to all the Tx objects.
       - Reorg uninitialization path in case of pci_probe failure.
       - Hardware clock setup changes to pass asic generation, port modes and
         asic mode as part firmware boot parameters to firmware.
       - FW mailbox interface changes to defined asic specific mailbox interfaces.
         h/w mailbox interfaces take 8-bit FIDs and 2-bit port id for owner. Cleaned
         up mailbox definitions and usage for new and old HW. Eliminated usage of
         ASIC ID. MSI-X vector assignment and programming done by firmware. Fixed
         host offsets for CPE/RME queue registers.
       - Implement polling mechanism for FW ready to have poll mechanism replaces
         the current interrupt based FW READY method. The timer based poll routine
         in IOC will query the ioc_fwstate register to see if there is a state
         change in FW, and sends the READY event. Removed infrastructure needed to
         support mbox READY event from fw as well as IOC code.
       - Move FW init to HW init. Handle the case where PCI mapping goes away when
         IOCPF state machine is waiting for semaphore.
       - Add IOC mbox call back to client indicating that the command is sent.
      Signed-off-by: NRasesh Mody <rmody@brocade.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      078086f3
    • J
      bna: Move the Brocade driver · f844a0ea
      Jeff Kirsher 提交于
      Moves the Brocade driver into drivers/net/ethernet/brocade/ and make
      the necessary Kconfig and Makefile changes.
      
      CC: Rasesh Mody <rmody@brocade.com>
      CC: Debashis Dutt <ddutt@brocade.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      f844a0ea
  10. 23 7月, 2011 2 次提交
  11. 26 12月, 2010 2 次提交
  12. 06 10月, 2010 1 次提交
  13. 24 8月, 2010 1 次提交