1. 10 Apr, 2017 9 commits
  2. 09 Apr, 2017 2 commits
    • David S. Miller's avatar
      Revert "rtnl: Add support for netdev event to link messages" · bf74b20d
      David S. Miller authored
      This reverts commit def12888.
      
      As per discussion between Roopa Prabhu and David Ahern, it is
      advisable that we instead have the code collect the setlink triggered
      events into a bitmask emitted in the IFLA_EVENT netlink attribute.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bf74b20d
    • David S. Miller's avatar
      Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 0492b71c
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      40GbE Intel Wired LAN Driver Updates 2017-04-08
      
      This series contains updates to i40e and i40evf only.
      
      Mitch fixes an issue where the client driver (i40iw) was attempting to
      load on x710 devices (which do not support iWARP), so only register with
      the client if iWARP is supported.
      
      Jake fixes up error messages to better clarify to the user when adding a
      invalid flow type.  Updates the driver to look up the MAC address from
      eth_get_platform_mac_address() first before checking what the firmware
      provides.  Cleans up code so we are not repeating a duplicate loop, by
      checking both transmit and receive queues in a single loop.  Also cleans
      up flags never used, so remove the definitions.
      
      Alex does cleanup so that we are always updating pf->flags when a change
      is made to the private flags.  Adds support for 3K buffers to the receive
      path so that we can provide the additional padding needed in the event
      of NET_IP_ALIGN being non-zero or a cache line being greater than 64.
      Adds support for build_skb() to i40e/i40evf.
      
      Maciej adjusts the scope of the rtnl lock held during reset because it
      was stopping other PFs from running their reset procedures.
      
      Alan reduces code complexity in i40e_detect_recover_hung_queue().
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0492b71c
  3. 08 Apr, 2017 26 commits
  4. 07 Apr, 2017 3 commits
    • Thanneeru Srinivasulu's avatar
      net: thunderx: Enable TSO and checksum offloads for ipv6 · 3a9024f5
      Thanneeru Srinivasulu authored
      Adding support for TSO and checksum hardware offloads for ipv6.
      Signed-off-by: default avatarThanneeru Srinivasulu <tsrinivasulu@cavium.com>
      Signed-off-by: default avatarSunil Goutham <sgoutham@cavium.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3a9024f5
    • David S. Miller's avatar
      Merge branch 'dsa-mediatek-MT7530' · c339c1c2
      David S. Miller authored
      Sean Wang says:
      
      ====================
      net-next: dsa: add Mediatek MT7530 support
      
      MT7530 is a 7-ports Gigabit Ethernet Switch that could be found on
      Mediatek router platforms such as MT7623A or MT7623N which includes 7-port
      Gigabit Ethernet MAC and 5-port Gigabit Ethernet PHY. Among these ports,
      The port from 0 to 4 are the user ports connecting with the remote devices
      while the port 5 and 6 are the CPU ports connecting into Mediatek Ethernet
      GMAC.
      
      The patch series integrated Mediatek MT7530 into DSA support which
      includes the most of the essential callbacks such as tag insertion for
      port distinguishing, port control, bridge offloading, STP setup and
      ethtool operations to allow DSA to model each user port into independently
      standalone netdevice as the other DSA driver had done.
      
      Changes since v1:
      - rebased into 4.11-rc1
      - refined binding document including below five items
      - changed the type of mediatek,mcm into bool
      - used reset controller binding for MCM reset and removed "mediatek,ethsys"
        property from binding
      - reused CPU port's ethernet Phandle instead of creating new one and removed
        "mediatek,ethernet" property from binding
      - aligned naming for GPIO reset with dsa/marvell.txt
      - added phy-mode as required property child nodes within ports container
      - handled gpio reset with devm_gpiod_* API
      - refined comment words
      - removed condition for CDM setting since the setup looks both fine for all cases
      - allowed of_find_net_device_by_node() working with pointing the device node into
        real netdev instance
      - fixed Kbuild warnings
      
      Changes since v2:
      - reuse readx_poll_timeout() to poll
      - add proper macro instead of hard coding
      - treat inconsistent cpu port as warning
      - remove the usage for regmap-debugfs
      - show error message when invalid id is found
      - put the logic for the setup of trgmii into adjut_link()
      - refine and reuse logic between port_[disable,enable], and default port setup
      - correct typo
      
      Changes since v3:
      - used struct as the parameter for readx_poll_timeout() and kill
        extra lpriv defined
      - moved around function to get out of an additional declaration
      - fixed kbuild errors caused by missing proper include in the latest tree
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c339c1c2
    • Sean Wang's avatar
      net-next: dsa: add dsa support for Mediatek MT7530 switch · b8f126a8
      Sean Wang authored
      MT7530 is a 7-ports Gigabit Ethernet Switch that could be found on
      Mediatek router platforms such as MT7623A or MT7623N platform which
      includes 7-port Gigabit Ethernet MAC and 5-port Gigabit Ethernet PHY.
      Among these ports, The port from 0 to 4 are the user ports connecting
      with the remote devices while the port 5 and 6 are the CPU ports
      connecting into Mediatek Ethernet GMAC.
      
      For port 6, it can communicate with the CPU via Mediatek Ethernet GMAC
      through either the TRGMII or RGMII which could be controlled by phy-mode
      in the dt-bindings to specify which mode is preferred to use. And for
      port 5, only RGMII can be specified. However, currently, only port 6 is
      being supported in this DSA driver.
      
      The driver is made with the reference to qca8k and other existing DSA
      driver. The most of the essential callbacks of the DSA are already
      support in the driver, including tag insert for user port distinguishing,
      port control, bridge offloading, STP setup and ethtool operation to allow
      DSA to model each user port into a standalone netdevice as the other DSA
      driver had done.
      Signed-off-by: default avatarSean Wang <sean.wang@mediatek.com>
      Signed-off-by: default avatarLanden Chao <Landen.Chao@mediatek.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b8f126a8