1. 25 3月, 2014 6 次提交
    • D
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · 35d499ee
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates
      
      This series contains updates to igb, ixgbe, ixgbevf, i40e and i40evf.
      
      Anjali provides a i40e/i40evf patch to add Energy Efficient Ethernet
      Low Power Idle stats and a fix for i40e to change the string
      "Side Band" to "Sideband" for consistency.
      
      Mitch provides 2 patches for i40evf to fix if the driver encounters
      an error while communicating with the PF driver, do not shut down the
      admin queue unconditionally.  Add an error message when the admin
      queue message never completes and fix formatting on another message
      that was unnecessarily wrapped.
      
      Mark provides a ixgbe patch and five ixgbevf patches.  Fix a possible
      infinite recursion when an adapter is removed and registers all read
      as all one's in ixgbe_clear_vmdq_generic() and ixgbe_clear_rar_generic().
      Converts macros to static inline functions to align kernel coding standard
      and prepare for adding Live Error Recovery (LER) to ixgbevf.  Change the
      ethtool register test to use the normal register accessor functions and
      eliminate macors used for calling register test functions to make error
      exits more clear.  Checks all register reads for adapter removal by checking
      the status register after any register read that returns all F's since the
      status register will never return 0xFFFFFFFF unless the adapter is removed.
      
      Jacob implements SIOCGHWTSTAMP ioctl for igb which enables user processes
      to read the current hardware stamp config settings non-destructively.
      
      Todd adds the initial register read and write for surprise removal (LER)
      for igb.
      
      Christian Engelmayer fixes an igb memory leak in the igb_get_module_eeprom()
      error handling path.
      
      Ken Ichikawa provides a fix for igb, specifically for 82575 hardware to
      specify -1 to the phc_index for ethtool's get_ts_info, otherwise a wrong
      value will be set to the phc_index.
      
      Christopher Paasch fixes a null pointer dereference in igb and makes sure
      to unset the HAS_MSIX flag when the driver falls back to MSI only.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      35d499ee
    • L
      ipv4: remove ip_rt_dump from route.c · 0b8c7f6f
      Li RongQing 提交于
      ip_rt_dump do nothing after IPv4 route caches removal, so we can remove it.
      Signed-off-by: NLi RongQing <roy.qing.li@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0b8c7f6f
    • W
      atheros/atlx: use SET_ETHTOOL_OPS directly · dffe278f
      wangweidong 提交于
      As commit a6e28b34("staging/et131x: use SET_ETHTOOL_OPS
      directly"), using a wrapper around SET_ETHTOOL_OPS macro is
      not actually required, remove and use SET_ETHTOOL_OPS directly.
      Signed-off-by: NWang Weidong <wangweidong1@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dffe278f
    • V
      Altera TSE: Correct two typos in original submission · 80175f93
      Vince Bridgers 提交于
      This patch addresses two typos in the original driver submission. One derived
      from a cut & paste error, and another is a misspelling.
      Signed-off-by: NVince Bridgers <vbridgers2013@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      80175f93
    • V
      Altera TSE: Correct typecast issue detected by kbuild test robot · a804ad0e
      Vince Bridgers 提交于
      This patch addresses a portable pointer arithmetic issue in the
      original submission found by the kbuild test robot.
      
      config: make ARCH=i386 allyesconfig
      
         altera_sgdma.c: In function 'sgdma_txphysaddr':
      >> altera_sgdma.c:393:33: warning: cast from
      >> pointer to integer of different size [-Wpointer-to-int-cast]
           dma_addr_t offs = (dma_addr_t)((dma_addr_t)desc -
                                          ^
      >> altera_sgdma.c:394:5: warning: cast from
      >> pointer to integer of different size [-Wpointer-to-int-cast]
              (dma_addr_t)priv->tx_dma_desc);
              ^
         altera_sgdma.c: In function 'sgdma_rxphysaddr':
      >> altera_sgdma.c:403:33: warning: cast from
      >> pointer to integer of different size [-Wpointer-to-int-cast]
           dma_addr_t offs = (dma_addr_t)((dma_addr_t)desc -
                                          ^
      >> altera_sgdma.c:404:5: warning: cast from
      >> pointer to integer of different size [-Wpointer-to-int-cast]
              (dma_addr_t)priv->rx_dma_desc);
              ^
      Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: NVince Bridgers <vbridgers2013@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a804ad0e
    • V
      Altera TSE: Set version number by driver's get regs · 8adfc3ae
      Vince Bridgers 提交于
      Set the version number returned by the driver's get regs routine
      invoked by ethtool so formatting can be dependent on the version
      number returned, and any interesting formatted output can check
      the version number for specific types of register data returned.
      Signed-off-by: NVince Bridgers <vbridgers2013@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8adfc3ae
  2. 24 3月, 2014 7 次提交
  3. 23 3月, 2014 1 次提交
    • D
      Merge tag 'batman-adv-for-davem' of git://git.open-mesh.org/linux-merge · 860b4042
      David S. Miller 提交于
      Antonio Quartulli says:
      
      ====================
      Included changes:
      - use ether_addr_copy instead of memcpy when possible
      - implement new multicast packet optimisation
      - improve several kerneldoc sections
      - minor code cleanups
      
      here you have our patchset for net-next/linux-3.15.  They are 16
      patches but most of them are just small cleanups and kerneldoc
      improvements.
      
      The only big change is the one from patch 8 to 13 by Linus Lüssing
      that introduces a new multicast packets optimisation. This new
      component aims to reduce the air overhead by sending multicast packets
      as bat-unicast when only one destination exists or by dropping them
      directly at the source if the multicast group is totally empty.
      
      In patch 11 Linus introduces an atomic_t variable, that like others
      that we already have is only object of write and read, thus making the
      atomic characteristic totally useless.  Unfortunately this is part of
      our sysfs framework, that helps the developer to introduce new knobs
      by using few macros only. For this reason we decided to keep Linus'
      new knob for now, but I'd like to let you know that we are in the
      process of re-working such framework in order to convert all the
      current (useless) atomic_t to boolean in one go.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      860b4042
  4. 22 3月, 2014 26 次提交