forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller: "This is a re-do of the net-next pull request for the current merge window. The only difference from the one I made the other day is that this has Eliezer's interface renames and the timeout handling changes made based upon your feedback, as well as a few bug fixes that have trickeled in. Highlights: 1) Low latency device polling, eliminating the cost of interrupt handling and context switches. Allows direct polling of a network device from socket operations, such as recvmsg() and poll(). Currently ixgbe, mlx4, and bnx2x support this feature. Full high level description, performance numbers, and design in commit 0a4db18 ("Merge branch 'll_poll'") From Eliezer Tamir. 2) With the routing cache removed, ip_check_mc_rcu() gets exercised more than ever before in the case where we have lots of multicast addresses. Use a hash table instead of a simple linked list, from Eric Dumazet. 3) Add driver for Atheros CQA98xx 802.11ac wireless devices, from Bartosz Markowski, Janusz Dziedzic, Kalle Valo, Marek Kwaczynski, Marek Puzyniak, Michal Kazior, and Sujith Manoharan. 4) Support reporting the TUN device persist flag to userspace, from Pavel Emelyanov. 5) Allow controlling network device VF link state using netlink, from Rony Efraim. 6) Support GRE tunneling in openvswitch, from Pravin B Shelar. 7) Adjust SOCK_MIN_RCVBUF and SOCK_MIN_SNDBUF for modern times, from Daniel Borkmann and Eric Dumazet. 8) Allow controlling of TCP quickack behavior on a per-route basis, from Cong Wang. 9) Several bug fixes and improvements to vxlan from Stephen Hemminger, Pravin B Shelar, and Mike Rapoport. In particular, support receiving on multiple UDP ports. 10) Major cleanups, particular in the area of debugging and cookie lifetime handline, to the SCTP protocol code. From Daniel Borkmann. 11) Allow packets to cross network namespaces when traversing tunnel devices. From Nicolas Dichtel. 12) Allow monitoring netlink traffic via AF_PACKET sockets, in a manner akin to how we monitor real network traffic via ptype_all. From Daniel Borkmann. 13) Several bug fixes and improvements for the new alx device driver, from Johannes Berg. 14) Fix scalability issues in the netem packet scheduler's time queue, by using an rbtree. From Eric Dumazet. 15) Several bug fixes in TCP loss recovery handling, from Yuchung Cheng. 16) Add support for GSO segmentation of MPLS packets, from Simon Horman. 17) Make network notifiers have a real data type for the opaque pointer that's passed into them. Use this to properly handle network device flag changes in arp_netdev_event(). From Jiri Pirko and Timo Teräs. 18) Convert several drivers over to module_pci_driver(), from Peter Huewe. 19) tcp_fixup_rcvbuf() can loop 500 times over loopback, just use a O(1) calculation instead. From Eric Dumazet. 20) Support setting of explicit tunnel peer addresses in ipv6, just like ipv4. From Nicolas Dichtel. 21) Protect x86 BPF JIT against spraying attacks, from Eric Dumazet. 22) Prevent a single high rate flow from overruning an individual cpu during RX packet processing via selective flow shedding. From Willem de Bruijn. 23) Don't use spinlocks in TCP md5 signing fast paths, from Eric Dumazet. 24) Don't just drop GSO packets which are above the TBF scheduler's burst limit, chop them up so they are in-bounds instead. Also from Eric Dumazet. 25) VLAN offloads are missed when configured on top of a bridge, fix from Vlad Yasevich. 26) Support IPV6 in ping sockets. From Lorenzo Colitti. 27) Receive flow steering targets should be updated at poll() time too, from David Majnemer. 28) Fix several corner case regressions in PMTU/redirect handling due to the routing cache removal, from Timo Teräs. 29) We have to be mindful of ipv4 mapped ipv6 sockets in upd_v6_push_pending_frames(). From Hannes Frederic Sowa. 30) Fix L2TP sequence number handling bugs, from James Chapman." * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1214 commits) drivers/net: caif: fix wrong rtnl_is_locked() usage drivers/net: enic: release rtnl_lock on error-path vhost-net: fix use-after-free in vhost_net_flush net: mv643xx_eth: do not use port number as platform device id net: sctp: confirm route during forward progress virtio_net: fix race in RX VQ processing virtio: support unlocked queue poll net/cadence/macb: fix bug/typo in extracting gem_irq_read_clear bit Documentation: Fix references to defunct [email protected] net/fs: change busy poll time accounting net: rename low latency sockets functions to busy poll bridge: fix some kernel warning in multicast timer sfc: Fix memory leak when discarding scattered packets sit: fix tunnel update via netlink dt:net:stmmac: Add dt specific phy reset callback support. dt:net:stmmac: Add support to dwmac version 3.610 and 3.710 dt:net:stmmac: Allocate platform data only if its NULL. net:stmmac: fix memleak in the open method ipv6: rt6_check_neigh should successfully verify neigh if no NUD information are available net: ipv6: fix wrong ping_v6_sendmsg return value ...
- Loading branch information
Showing
1,181 changed files
with
74,016 additions
and
21,793 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/net/allwinner,sun4i-emac.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
* Allwinner EMAC ethernet controller | ||
|
||
Required properties: | ||
- compatible: should be "allwinner,sun4i-emac". | ||
- reg: address and length of the register set for the device. | ||
- interrupts: interrupt for the device | ||
- phy: A phandle to a phy node defining the PHY address (as the reg | ||
property, a single integer). | ||
- clocks: A phandle to the reference clock for this device | ||
|
||
Optional properties: | ||
- (local-)mac-address: mac address to be used by this driver | ||
|
||
Example: | ||
|
||
emac: ethernet@01c0b000 { | ||
compatible = "allwinner,sun4i-emac"; | ||
reg = <0x01c0b000 0x1000>; | ||
interrupts = <55>; | ||
clocks = <&ahb_gates 17>; | ||
phy = <&phy0>; | ||
}; |
26 changes: 26 additions & 0 deletions
26
Documentation/devicetree/bindings/net/allwinner,sun4i-mdio.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
* Allwinner A10 MDIO Ethernet Controller interface | ||
|
||
Required properties: | ||
- compatible: should be "allwinner,sun4i-mdio". | ||
- reg: address and length of the register set for the device. | ||
|
||
Optional properties: | ||
- phy-supply: phandle to a regulator if the PHY needs one | ||
|
||
Example at the SoC level: | ||
mdio@01c0b080 { | ||
compatible = "allwinner,sun4i-mdio"; | ||
reg = <0x01c0b080 0x14>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; | ||
|
||
And at the board level: | ||
|
||
mdio@01c0b080 { | ||
phy-supply = <®_emac_3v3>; | ||
|
||
phy0: ethernet-phy@0 { | ||
reg = <0>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
* Synopsys ARC EMAC 10/100 Ethernet driver (EMAC) | ||
|
||
Required properties: | ||
- compatible: Should be "snps,arc-emac" | ||
- reg: Address and length of the register set for the device | ||
- interrupts: Should contain the EMAC interrupts | ||
- clock-frequency: CPU frequency. It is needed to calculate and set polling | ||
period of EMAC. | ||
- max-speed: Maximum supported data-rate in Mbit/s. In some HW configurations | ||
bandwidth of external memory controller might be a limiting factor. That's why | ||
it's required to specify which data-rate is supported on current SoC or FPGA. | ||
For example if only 10 Mbit/s is supported (10BASE-T) set "10". If 100 Mbit/s is | ||
supported (100BASE-TX) set "100". | ||
- phy: PHY device attached to the EMAC via MDIO bus | ||
|
||
Child nodes of the driver are the individual PHY devices connected to the | ||
MDIO bus. They must have a "reg" property given the PHY address on the MDIO bus. | ||
|
||
Optional properties: | ||
- mac-address: 6 bytes, mac address | ||
|
||
Examples: | ||
|
||
ethernet@c0fc2000 { | ||
compatible = "snps,arc-emac"; | ||
reg = <0xc0fc2000 0x3c>; | ||
interrupts = <6>; | ||
mac-address = [ 00 11 22 33 44 55 ]; | ||
clock-frequency = <80000000>; | ||
max-speed = <100>; | ||
phy = <&phy0>; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
phy0: ethernet-phy@0 { | ||
reg = <1>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Davicom DM9000 Fast Ethernet controller | ||
|
||
Required properties: | ||
- compatible = "davicom,dm9000"; | ||
- reg : physical addresses and sizes of registers, must contain 2 entries: | ||
first entry : address register, | ||
second entry : data register. | ||
- interrupt-parent : interrupt controller to which the device is connected | ||
- interrupts : interrupt specifier specific to interrupt controller | ||
|
||
Optional properties: | ||
- local-mac-address : A bytestring of 6 bytes specifying Ethernet MAC address | ||
to use (from firmware or bootloader) | ||
- davicom,no-eeprom : Configuration EEPROM is not available | ||
- davicom,ext-phy : Use external PHY | ||
|
||
Example: | ||
|
||
ethernet@18000000 { | ||
compatible = "davicom,dm9000"; | ||
reg = <0x18000000 0x2 0x18000004 0x2>; | ||
interrupt-parent = <&gpn>; | ||
interrupts = <7 4>; | ||
local-mac-address = [00 00 de ad be ef]; | ||
davicom,no-eeprom; | ||
}; |
85 changes: 85 additions & 0 deletions
85
Documentation/devicetree/bindings/net/marvell-orion-net.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
Marvell Orion/Discovery ethernet controller | ||
============================================= | ||
|
||
The Marvell Discovery ethernet controller can be found on Marvell Orion SoCs | ||
(Kirkwood, Dove, Orion5x, and Discovery Innovation) and as part of Marvell | ||
Discovery system controller chips (mv64[345]60). | ||
|
||
The Discovery ethernet controller is described with two levels of nodes. The | ||
first level describes the ethernet controller itself and the second level | ||
describes up to 3 ethernet port nodes within that controller. The reason for | ||
the multiple levels is that the port registers are interleaved within a single | ||
set of controller registers. Each port node describes port-specific properties. | ||
|
||
Note: The above separation is only true for Discovery system controllers. | ||
For Orion SoCs we stick to the separation, although there each controller has | ||
only one port associated. Multiple ports are implemented as multiple single-port | ||
controllers. As Kirkwood has some issues with proper initialization after reset, | ||
an extra compatible string is added for it. | ||
|
||
* Ethernet controller node | ||
|
||
Required controller properties: | ||
- #address-cells: shall be 1. | ||
- #size-cells: shall be 0. | ||
- compatible: shall be one of "marvell,orion-eth", "marvell,kirkwood-eth". | ||
- reg: address and length of the controller registers. | ||
|
||
Optional controller properties: | ||
- clocks: phandle reference to the controller clock. | ||
- marvell,tx-checksum-limit: max tx packet size for hardware checksum. | ||
|
||
* Ethernet port node | ||
|
||
Required port properties: | ||
- device_type: shall be "network". | ||
- compatible: shall be one of "marvell,orion-eth-port", | ||
"marvell,kirkwood-eth-port". | ||
- reg: port number relative to ethernet controller, shall be 0, 1, or 2. | ||
- interrupts: port interrupt. | ||
- local-mac-address: 6 bytes MAC address. | ||
|
||
Optional port properties: | ||
- marvell,tx-queue-size: size of the transmit ring buffer. | ||
- marvell,tx-sram-addr: address of transmit descriptor buffer located in SRAM. | ||
- marvell,tx-sram-size: size of transmit descriptor buffer located in SRAM. | ||
- marvell,rx-queue-size: size of the receive ring buffer. | ||
- marvell,rx-sram-addr: address of receive descriptor buffer located in SRAM. | ||
- marvell,rx-sram-size: size of receive descriptor buffer located in SRAM. | ||
|
||
and | ||
|
||
- phy-handle: phandle reference to ethernet PHY. | ||
|
||
or | ||
|
||
- speed: port speed if no PHY connected. | ||
- duplex: port mode if no PHY connected. | ||
|
||
* Node example: | ||
|
||
mdio-bus { | ||
... | ||
ethphy: ethernet-phy@8 { | ||
device_type = "ethernet-phy"; | ||
... | ||
}; | ||
}; | ||
|
||
eth: ethernet-controller@72000 { | ||
compatible = "marvell,orion-eth"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <0x72000 0x2000>; | ||
clocks = <&gate_clk 2>; | ||
marvell,tx-checksum-limit = <1600>; | ||
|
||
ethernet@0 { | ||
device_type = "network"; | ||
compatible = "marvell,orion-eth-port"; | ||
reg = <0>; | ||
interrupts = <29>; | ||
phy-handle = <ðphy>; | ||
local-mac-address = [00 00 00 00 00 00]; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Micrel KS8851 Ethernet mac | ||
|
||
Required properties: | ||
- compatible = "micrel,ks8851-ml" of parallel interface | ||
- reg : 2 physical address and size of registers for data and command | ||
- interrupts : interrupt connection | ||
|
||
Optional properties: | ||
- local-mac-address : Ethernet mac address to use |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
* VIA Velocity 10/100/1000 Network Controller | ||
|
||
Required properties: | ||
- compatible : Should be "via,velocity-vt6110" | ||
- reg : Address and length of the io space | ||
- interrupts : Should contain the controller interrupt line | ||
|
||
Optional properties: | ||
- no-eeprom : PCI network cards use an external EEPROM to store data. Embedded | ||
devices quite often set this data in uboot and do not provide an eeprom. | ||
Specify this option if you have no external eeprom. | ||
|
||
Examples: | ||
|
||
eth0@d8004000 { | ||
compatible = "via,velocity-vt6110"; | ||
reg = <0xd8004000 0x400>; | ||
interrupts = <10>; | ||
no-eeprom; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
ifenslave | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,9 +70,10 @@ list, mail to [email protected]. | |
There are archives of the mailing list at: | ||
http://epistolary.org/mailman/listinfo.cgi/arcnet | ||
|
||
The people on [email protected] have also been known to be very | ||
helpful, especially when we're talking about ALPHA Linux kernels that may or | ||
may not work right in the first place. | ||
The people on [email protected] (now defunct, replaced by | ||
[email protected]) have also been known to be very helpful, especially | ||
when we're talking about ALPHA Linux kernels that may or may not work right | ||
in the first place. | ||
|
||
|
||
Other Drivers and Info | ||
|
Oops, something went wrong.