1. 10 3月, 2015 13 次提交
  2. 09 3月, 2015 20 次提交
  3. 08 3月, 2015 7 次提交
    • D
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · d7ed7474
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates 2015-03-07
      
      This series contains updates to i40e and i40evf only.
      
      Most notably, Greg provides the patch to remove the dreaded configfs
      changes in the driver.
      
      Shannon cleans up a sparse warning by simply straighting out the code
      so it is less convoluted.  Fixes an issue where the vector allocation
      was trying too hard to save vectors for VMDq, to the point of not giving
      the PF enough when in a tight situation, such as an NPAR partition.
      Changed the driver to make sure that the PF will get all the queues and
      vectors it wants to fill out its destiny.  Cleans up reporting to only
      print the port and VEB stats if it is the first partition of a
      multiplexed port.
      
      Catherine cleans up some duplicated code by simply removing the duplicate
      code.
      
      Kamil cleans up the driver by removing an un-needed endian conversion
      because it is already done by a register read function.
      
      Jesse fixes a variable width of a datatype, where a u16 should have been
      a u32.  Also cleans up debug_read_register() to resolve some sparse
      warnings.  Updates the driver to use prefetch() to get the next Tx
      descriptor, like in ixgbe, to improve performance.
      
      Akeem moves around code to enable/disable loopback so that other non-SRIOV
      supported driver functions can take advantage of the changes.
      
      Anjali cleans up the logging for adding/deleting FD-SB filters, since
      ethtool shows all the filters on an interface.  Updates the driver to
      use l4_tunnel type generically to keep code flow simple.  Simplifies
      the RSS code since the driver initializes the rss_size_max in sw_init.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d7ed7474
    • G
      net: dsa: mv88e6352: Add support for EEE · 04b0a80b
      Guenter Roeck 提交于
      Enable EEE support for MV88E6352.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      04b0a80b
    • G
      net: dsa: mv88e6xxx: Add EEE support · 11b3b45d
      Guenter Roeck 提交于
      EEE configuration is similar for the various MV88E6xxx chips.
      Add generic support for it.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      11b3b45d
    • P
      net: bcmgenet: rework Rx queue init · 6f5a272c
      Petri Gynther 提交于
      In preparation for supporting multiple Rx queues:
      1. Move the initialization of priv->num_rx_bds, priv->rx_bds, and
         priv->rx_cbs from bcmgenet_init_rx_ring() to bcmgenet_init_dma()
         since they are not specific to a single Rx queue. Mimics the Tx
         init model where priv->num_tx_bds, priv->tx_bds, and priv->tx_cbs
         are initialized in bcmgenet_init_dma().
      2. Program DMA_MBUF_DONE_THRESH = 1 so that future Rx queues Q0-Q15
         will get per-packet Rx interrupt.
      3. Group DMA_START_ADDR, RDMA_READ_PTR, RDMA_WRITE_PTR, and DMA_END_ADDR
         initialization together. Mimics the Tx init model.
      4. There is 1-to-1 mapping between RxCBs and RxBDs.
         Precalculate RxCB->bd_addr so that it can be used in the future.
      Signed-off-by: NPetri Gynther <pgynther@google.com>
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6f5a272c
    • D
      Merge branch 'macb-next' · ae00ec95
      David S. Miller 提交于
      Merge branch 'macb-next'
      
      Boris Brezillon says:
      
      ====================
      net/macb: merge at91_ether driver into macb driver
      
      The rm9200 boards use the dedicated at91_ether driver instead of the
      regular macb driver.
      
      Both the macb and at91_ether drivers can be compiled as separated
      modules.
      Since the at91_ether driver uses code from the macb driver, at91_ether.ko
      depends on macb.ko.
      
      However the macb.ko module always fails to load on rm9200 boards: the
      macb_probe() function expects a hclk clock which doesn't exist on rm9200.
      Then the at91_ether.ko can't be loaded in turn due to unresolved
      dependencies.
      
      This series of patches fix this issue by merging at91_ether into macb.
      
      Patch 1 is fixing a problem that might happen when enabling ARM
      multi-platform suppot.
      
      Changes since v3:
      - move "net: macb: remove #if defined(CONFIG_ARCH_AT91) sections" patch
        into this series to avoid dependency on other patch series.
      
      Changes since v2:
      - rebase after changed brought by commit "net: macb: remove #if
        defined(CONFIG_ARCH_AT91) sections"
      
      Changes since v1:
      - rework probe functions to share common probing logic
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ae00ec95
    • C
      net/macb: merge at91_ether driver into macb driver · 421d9df0
      Cyrille Pitchen 提交于
      macb and at91_ether drivers can be compiled as modules, but the at91_ether
      driver use some functions and variables defined in the macb one, thus
      creating a dependency on the macb driver.
      
      Since these drivers are sharing the same logic we can easily merge
      at91_ether into macb.
      
      In order to factorize common probing logic we've added an ->init() function
      to struct macb_config (the structure associated with the compatible
      string), and moved macb specific init code from macb_probe to macb_init.
      Signed-off-by: NCyrille Pitchen <cyrille.pitchen@atmel.com>
      Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
      Tested-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      421d9df0
    • C
      net/macb: unify clock management · 93b31f48
      Cyrille Pitchen 提交于
      Most of the functions from the Common Clk Framework handle NULL pointer as
      input argument.
      
      Since the TX clock is optional, we now set tx_clk to NULL value
      instead of ERR_PTR(-ENOENT) when this clock is not available. This simplifies
      the clock management and avoid the need to test tx_clk value.
      Signed-off-by: NCyrille Pitchen <cyrille.pitchen@atmel.com>
      Acked-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
      Acked-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      93b31f48