1. 23 Jan, 2019 32 commits
  2. 22 Jan, 2019 8 commits
    • Xue Chaojing's avatar
      hinic: Add pci device ids · 6679cf09
      Xue Chaojing authored
      This patch adds PCI device IDs to support following cards:
      
      1. Add device id 0x0205 for HINIC 100GE dual port mezz card.
      2. Add device id 0x0210 for HINIC 25GE quad port mezz card.
      3. Delete device id 0x0201 for HINIC 100GE dual port card, because
      this is used by other product.
      4. Macro of device id 0x200 is modified for HINIC 100GE dual port card.
      Signed-off-by: default avatarXue Chaojing <xuechaojing@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6679cf09
    • Heiner Kallweit's avatar
      r8169: remove PCI DAC support · 10b63e85
      Heiner Kallweit authored
      The old non-PCIe chip versions support PCI DAC, however this feature
      seems to be fragile, see comment in the PCI error handler. Therefore
      it's disabled per default. I think meanwhile it's time remove support
      for this legacy feature. This helps to reduce complexity of the driver.
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      10b63e85
    • Heiner Kallweit's avatar
      r8169: improve rx buffer allocation · 6dc8b74b
      Heiner Kallweit authored
      8 years ago, as part of 6f0333b8 ("r8169: use 50% less ram for RX
      ring"), the alignment requirement for rx buffers was silently changed
      from 8 bytes to 16 bytes. I found nothing explaining this, also the
      chip specs I have only mention an 8 byte requirement.
      AFAICS kmalloc_node() guarantees allocated memory to be at least
      "long long" aligned, what is 8 bytes on a 32 bit machine.
      So we can take this memory as-is and avoid some overhead by changing
      the alignment requirement back to 8 bytes.
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6dc8b74b
    • Heiner Kallweit's avatar
      net: phy: improve phy_init_hw · a5996989
      Heiner Kallweit authored
      Currently the soft reset (if defined) is done only if the driver also
      implements the config_init callback. I think this dependency is a
      mistake, so let's remove it.
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a5996989
    • Heiner Kallweit's avatar
      net: phy: fix issue with loading PHY driver w/o initramfs · 21e19442
      Heiner Kallweit authored
      It was reported that on a system with nfsboot and w/o initramfs network
      fails because trying to load the PHY driver returns -ENOENT. Reason was
      that due to missing initramfs the modprobe binary isn't available.
      So we have to ignore error code -ENOENT.
      
      Fixes: 13d0ab67 ("net: phy: check return code when requesting PHY driver module")
      Reported-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Tested-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      21e19442
    • David S. Miller's avatar
      Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 0da2b183
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      40GbE Intel Wired LAN Driver Updates 2019-01-22
      
      This series contains updates to i40e and xsk.
      
      Jan exports xdp_get_umem_from_qid() for other drivers/modules to use.
      Refactored the code use the netdev provided umems, instead of containing
      them inside our i40e_vsi.
      
      Aleksandr fixes an issue where RSS queues were misconfigured, so limit
      the RSS queue number to the online CPU number.
      
      Damian adds support for ethtool's setting and getting the FEC
      configuration.
      
      Grzegorz fixes a type mismatch, where the return value was not matching
      the function declaration.
      
      Sergey adds checks in the queue configuration handler to ensure the
      number of queue pairs requested by the VF is less than maximum possible.
      
      Lihong cleans up code left around from earlier silicon validation in the
      i40e debugfs code.
      
      Julia Lawall and Colin Ian King clean up white space indentation issues
      found.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0da2b183
    • David S. Miller's avatar
      Merge branch 'bonding-add-3ad-stats-and-export-them-via-xstats' · cc648f85
      David S. Miller authored
      Nikolay Aleksandrov says:
      
      ====================
      bonding: add 3ad stats and export them via xstats
      
      This set adds support for counting some 3ad-specific packet types and
      exports the new stats via the xstats API. atomic64 counters are used
      since these are not fastpaths and we can avoid the per-cpu allocations.
      Each 3ad counter is exported as a separate attribute to be easily
      extensible since we plan to add more later. The stats are per-slave and
      when the master stats are requested the slaves' stats are summed up.
      Patches 01 and 02 do minor cleanups in preparation for the new stats
      API. Patch 03 adds the new stats and patch 04 adds xstats support to
      export them.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cc648f85
    • Nikolay Aleksandrov's avatar
      bonding: add support for xstats and export 3ad stats · a258aeac
      Nikolay Aleksandrov authored
      This patch adds support for extended statistics (xstats) call to the
      bonding. The first user would be the 3ad code which counts the following
      events:
       - LACPDU Rx/Tx
       - LACPDU unknown type Rx
       - LACPDU illegal Rx
       - Marker Rx/Tx
       - Marker response Rx/Tx
       - Marker unknown type Rx
      
      All of these are exported via netlink as separate attributes to be
      easily extensible as we plan to add more in the future.
      Similar to how the bridge and other xstats exports, the structure
      inside is:
       [ IFLA_STATS_LINK_XSTATS ]
         -> [ LINK_XSTATS_TYPE_BOND ]
              -> [ BOND_XSTATS_3AD ]
                   -> [ 3ad stats attributes ]
      
      With this structure it's easy to add more stat types later.
      Signed-off-by: default avatarNikolay Aleksandrov <nikolay@cumulusnetworks.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a258aeac