1. 08 6月, 2012 1 次提交
  2. 01 5月, 2012 1 次提交
    • E
      bnx2x: remove some bloat · 1191cb83
      Eric Dumazet 提交于
      Before doing skb->head_frag work on bnx2x driver, I found too much stuff
      was inlined in bnx2x/bnx2x_cmn.h for no good reason and made my work not
      very easy.
      
      Move some big functions out of this include file to the respective .c
      file.
      
      A lot of inline keywords are not needed at all in this huge driver.
      
         text	   data	    bss	    dec	    hex	filename
       490083	   1270	     56	 491409	  77f91	bnx2x/bnx2x.ko.before
       484206	   1270	     56	 485532	  7689c	bnx2x/bnx2x.ko
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Cc: Eilon Greenstein <eilong@broadcom.com>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: Maciej Żenczykowski <maze@google.com>
      Cc: Neal Cardwell <ncardwell@google.com>
      Cc: Tom Herbert <therbert@google.com>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: Ben Hutchings <bhutchings@solarflare.com>
      Cc: Matt Carlson <mcarlson@broadcom.com>
      Cc: Michael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1191cb83
  3. 24 4月, 2012 1 次提交
    • B
      bnx2x: add afex support · a3348722
      Barak Witkowski 提交于
      Following patch adds afex multifunction support to the driver (afex
      multifunction is based on vntag header) and updates FW version used to 7.2.51.
      
      Support includes the following:
      
      1. Configure vif parameters in firmware (default vlan, vif id, default
         priority, allowed priorities) according to values received from NIC.
      2. Configure FW to strip/add default vlan according to afex vlan mode.
      3. Notify link up to OS only after vif is fully initialized.
      4. Support vif list set/get requests and configure FW accordingly.
      5. Supply afex statistics upon request from NIC.
      6. Special handling to L2 interface in case of FCoE vif.
      Signed-off-by: NBarak Witkowski <barak@broadcom.com>
      Signed-off-by: NEilon Greenstein <eilong@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a3348722
  4. 20 3月, 2012 2 次提交
  5. 13 3月, 2012 1 次提交
  6. 16 2月, 2012 1 次提交
  7. 14 2月, 2012 1 次提交
  8. 27 1月, 2012 1 次提交
  9. 07 12月, 2011 3 次提交
  10. 14 11月, 2011 1 次提交
  11. 18 8月, 2011 1 次提交
  12. 11 8月, 2011 1 次提交
    • J
      broadcom: Move the Broadcom drivers · adfc5217
      Jeff Kirsher 提交于
      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: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      adfc5217
  13. 15 7月, 2011 1 次提交
    • A
      bnx2x: Multiple concurrent l2 traffic classes · 6383c0b3
      Ariel Elior 提交于
      Overview:
       Support mapping of priorities to traffic classes and
       traffic classes to transmission queues ranges in the net device.
       The queue ranges are (count, offset) pairs relating to the txq
       array.
       This can be done via DCBX negotiation or by kernel.
       As a result Enhanced Transmission Selection (ETS) and Priority Flow
       Control (PFC) are supported between L2 network traffic classes.
      
       Mapping:
       This patch uses the netdev_set_num_tc, netdev_set_prio_tc_map and
       netdev_set_tc_queue functions to map priorities to traffic classes
       and traffic classes to transmission queue ranges.
       This mapping is performed by bnx2x_setup_tc function which is
       connected to the ndo_setup_tc.
       This function is always called at nic load where by default it
       maps all priorities to tc 0, and it may also be called by the
       kernel or by the bnx2x upon DCBX negotiation to modify the mapping.
      
       rtnl lock:
       When the ndo_setup_tc is called at nic load or by kernel the rtnl
       lock is already taken. However, when DCBX negotiation takes place
       the lock is not taken. The work is therefore scheduled to be
       handled by the sp_rtnl task.
      
       Fastpath:
       The fastpath structure of the bnx2x which was previously used
       to hold the information of one tx queue and one rx queue was
       redesigned to represent multiple tx queues, one for each traffic
       class.
       The transmission queue supplied in the skb by the kernel can no
       longer be interpreted as a straightforward index into the fastpath
       structure array, but it must rather be decoded to the appropriate
       fastpath index and the tc within that fastpath.
      
       Slowpath:
       The bnx2x's queue object was redesigned to accommodate multiple
       transmission queues. The queue object's state machine was enhanced
       to allow opening multiple transmission-only connections on top of
       the regular tx-rx connection.
      
       Firmware:
       This feature relies on the tx-only queue feature introduced in the
       bnx2x 7.0.23 firmware and the FW likewise must have the bnx2x multi
       cos support.
      Signed-off-by: NAriel Elior <ariele@broadcom.com>
      Signed-off-by: NEilon Greenstein <eilong@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6383c0b3
  14. 15 6月, 2011 1 次提交
    • V
      New 7.0 FW: bnx2x, cnic, bnx2i, bnx2fc · 619c5cb6
      Vlad Zolotarov 提交于
      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: NVladislav Zolotarov <vladz@broadcom.com>
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NBhanu Prakash Gollapudi <bprakash@broadcom.com>
      Signed-off-by: NEilon Greenstein <eilong@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@conan.davemloft.net>
      619c5cb6
  15. 06 5月, 2011 1 次提交
  16. 01 3月, 2011 1 次提交
  17. 10 1月, 2011 1 次提交
  18. 17 12月, 2010 1 次提交
  19. 07 10月, 2010 6 次提交
  20. 26 8月, 2010 1 次提交
  21. 28 7月, 2010 1 次提交