1. 14 11月, 2011 2 次提交
  2. 28 10月, 2011 1 次提交
  3. 18 8月, 2011 2 次提交
  4. 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
  5. 22 7月, 2011 1 次提交
  6. 20 7月, 2011 2 次提交
  7. 15 7月, 2011 2 次提交
    • 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
    • A
      bnx2x: Renaming the "reset_task" to "sp_rtnl_task" · 7be08a72
      Ariel Elior 提交于
      Renaming the "reset_task" to a more general purpose name,
       "sp_rtnl_task", as it is already used for another purpose
       other than reset which is parity recovery, and since I
       plan to add a third operation for this task, updating the
       priority to traffic class and traffic class to transmission
       queues mappings after dcbx negotiation takes place.
      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>
      7be08a72
  8. 28 6月, 2011 1 次提交
  9. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf
  10. 15 6月, 2011 8 次提交
  11. 02 6月, 2011 1 次提交
  12. 19 5月, 2011 1 次提交
  13. 06 5月, 2011 3 次提交
  14. 13 4月, 2011 1 次提交
    • M
      net: bnx2x: convert to hw_features · 66371c44
      Michał Mirosław 提交于
      Since ndo_fix_features callback is postponing features change when
      bp->recovery_state != BNX2X_RECOVERY_DONE, netdev_update_features()
      has to be called again when this condition changes. Previously,
      ethtool_ops->set_flags callback returned -EBUSY in that case
      (it's not possible in the new model).
      Signed-off-by: NMichał Mirosław <mirq-linux@rere.qmqm.pl>
      
      v5: - don't delay set_features, as it's rtnl_locked - same as recovery process
      v4: - complete bp->rx_csum -> NETIF_F_RXCSUM conversion
          - add check for failed ndo_set_features in ndo_open callback
      v3: - include NETIF_F_LRO in hw_features
          - don't call netdev_update_features() if bnx2x_nic_load() failed
      v2: - comment in ndo_fix_features callback
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      66371c44
  15. 31 3月, 2011 1 次提交
  16. 07 3月, 2011 2 次提交
  17. 01 3月, 2011 3 次提交
  18. 18 2月, 2011 1 次提交
  19. 07 2月, 2011 2 次提交
  20. 01 2月, 2011 2 次提交
  21. 31 1月, 2011 1 次提交
  22. 28 1月, 2011 1 次提交