1. 04 7月, 2018 5 次提交
    • J
      igb: Refactor igb_configure_cbs() · 91db3642
      Jesus Sanchez-Palencia 提交于
      Make this function retrieve what it needs from the Tx ring being
      addressed since it already relies on what had been saved on it before.
      Also, since this function will be used by the upcoming Launchtime
      patches rename it to better reflect its intention. Note that
      Launchtime is not part of what 802.1Qav specifies, but the i210
      datasheet refers to this set of functionality as "Qav Transmission
      Mode".
      
      Here we also perform a tiny refactor at is_any_cbs_enabled(), and add
      further documentation to igb_setup_tx_mode().
      Signed-off-by: NJesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      91db3642
    • M
      net: usb: asix: allow optionally getting mac address from device tree · 03fc5d4f
      Marcel Ziswiler 提交于
      For Embedded use where e.g. AX88772B chips may be used without external
      EEPROMs the boot loader may choose to pass the MAC address to be used
      via device tree. Therefore, allow for optionally getting the MAC
      address from device tree data e.g. as follows (excerpt from a T30 based
      board, local-mac-address to be filled in by boot loader):
      
      /* EHCI instance 1: USB2_DP/N -> AX88772B */
      usb@7d004000 {
      	status = "okay";
      	#address-cells = <1>;
      	#size-cells = <0>;
      	asix@1 {
      		reg = <1>;
      		local-mac-address = [00 00 00 00 00 00];
      	};
      };
      Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      03fc5d4f
    • E
      sfc: batch up RX delivery · e090bfb9
      Edward Cree 提交于
      Improves packet rate of 1-byte UDP receives by up to 10%.
      Signed-off-by: NEdward Cree <ecree@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e090bfb9
    • L
      net: dsa: Add Vitesse VSC73xx DSA router driver · 05bd97fc
      Linus Walleij 提交于
      This adds a DSA driver for:
      
      Vitesse VSC7385 SparX-G5 5-port Integrated Gigabit Ethernet Switch
      Vitesse VSC7388 SparX-G8 8-port Integrated Gigabit Ethernet Switch
      Vitesse VSC7395 SparX-G5e 5+1-port Integrated Gigabit Ethernet Switch
      Vitesse VSC7398 SparX-G8e 8-port Integrated Gigabit Ethernet Switch
      
      These switches have a built-in 8051 CPU and can download and execute
      firmware in this CPU. They can also be configured to use an external
      CPU handling the switch in a memory-mapped manner by connecting to
      that external CPU's memory bus.
      
      This driver (currently) only takes control of the switch chip over
      SPI and configures it to route packages around when connected to a
      CPU port. The chip has embedded PHYs and VLAN support so we model it
      using DSA as a best fit so we can easily add VLAN support and maybe
      later also exploit the internal frame header to get more direct
      control over the switch.
      
      The four built-in GPIO lines are exposed using a standard GPIO chip.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      05bd97fc
    • L
      net: phy: vitesse: Add support for VSC73xx · 975ae7c6
      Linus Walleij 提交于
      The VSC7385, VSC7388, VSC7395 and VSC7398 are integrated
      switch/router chips for 5+1 or 8-port switches/routers. When
      managed directly by Linux using DSA we need to do a special
      set-up "dance" on the PHY. Unfortunately these sequences
      switches the PHY to undocumented pages named 2a30 and 52b6
      and does undocumented things. It is described by these opaque
      sequences also in the reference manual. This is a best
      effort to integrate it anyways.
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      975ae7c6
  2. 03 7月, 2018 8 次提交
  3. 02 7月, 2018 19 次提交
  4. 30 6月, 2018 8 次提交