1. 08 8月, 2017 2 次提交
  2. 07 8月, 2017 1 次提交
    • K
      net: systemport: Support 64bit statistics · 10377ba7
      kiki good 提交于
      When using Broadcom Systemport device in 32bit Platform, ifconfig can
      only report up to 4G tx,rx status, which will be wrapped to 0 when the
      number of incoming or outgoing packets exceeds 4G, only taking
      around 2 hours in busy network environment (such as streaming).
      Therefore, it makes hard for network diagnostic tool to get reliable
      statistical result, so the patch is used to add 64bit support for
      Broadcom Systemport device in 32bit Platform.
      
      This patch provides 64bit statistics capability on both ethtool and ifconfig.
      Signed-off-by: NJianming.qiao <kiki-good@hotmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      10377ba7
  3. 03 8月, 2017 1 次提交
    • A
      net: bcmgenet: drop COMPILE_TEST dependency · aa6c16c4
      Arnd Bergmann 提交于
      The last patch added the dependency on 'OF && HAS_IOMEM' but left
      COMPILE_TEST as an alternative, which kind of defeats the purpose
      of adding the dependency, we still get randconfig build warnings:
      
      warning: (NET_DSA_BCM_SF2 && BCMGENET) selects MDIO_BCM_UNIMAC which has unmet direct dependencies (NETDEVICES && MDIO_BUS && HAS_IOMEM && OF_MDIO)
      
      For compile-testing purposes, we don't really need this anyway,
      as CONFIG_OF can be enabled on all architectures, and HAS_IOMEM
      is present on all architectures we do meaningful compile-testing on
      (the exception being arch/um).
      
      This makes both OF and HAS_IOMEM hard dependencies.
      
      Fixes: 5af74bb4 ("net: bcmgenet: Add dependency on HAS_IOMEM && OF")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      aa6c16c4
  4. 01 8月, 2017 5 次提交
  5. 26 7月, 2017 5 次提交
  6. 25 7月, 2017 11 次提交
  7. 16 7月, 2017 4 次提交
  8. 15 7月, 2017 1 次提交
    • A
      bnx2x: fix format overflow warning · be9cdf1b
      Arnd Bergmann 提交于
      gcc notices that large queue numbers would overflow the queue name
      string:
      
      drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c: In function 'bnx2x_get_strings':
      drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c:3165:25: error: '%d' directive writing between 1 and 10 bytes into a region of size 5 [-Werror=format-overflow=]
      drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c:3165:25: note: directive argument in the range [0, 2147483647]
      drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c:3165:5: note: 'sprintf' output between 2 and 11 bytes into a destination of size 5
      
      There is a hard limit in place that makes the number at most two
      digits, so the code is fine. This changes it to use snprintf()
      to truncate instead of overflowing, which shuts up that warning.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      be9cdf1b
  9. 14 7月, 2017 1 次提交
  10. 12 7月, 2017 3 次提交
  11. 25 6月, 2017 1 次提交
  12. 24 6月, 2017 3 次提交
  13. 16 6月, 2017 2 次提交