-
Notifications
You must be signed in to change notification settings - Fork 0
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 Millar: "Here are some highlights from the 2065 networking commits that happened this development cycle: 1) XDP support for IXGBE (John Fastabend) and thunderx (Sunil Kowuri) 2) Add a generic XDP driver, so that anyone can test XDP even if they lack a networking device whose driver has explicit XDP support (me). 3) Sparc64 now has an eBPF JIT too (me) 4) Add a BPF program testing framework via BPF_PROG_TEST_RUN (Alexei Starovoitov) 5) Make netfitler network namespace teardown less expensive (Florian Westphal) 6) Add symmetric hashing support to nft_hash (Laura Garcia Liebana) 7) Implement NAPI and GRO in netvsc driver (Stephen Hemminger) 8) Support TC flower offload statistics in mlxsw (Arkadi Sharshevsky) 9) Multiqueue support in stmmac driver (Joao Pinto) 10) Remove TCP timewait recycling, it never really could possibly work well in the real world and timestamp randomization really zaps any hint of usability this feature had (Soheil Hassas Yeganeh) 11) Support level3 vs level4 ECMP route hashing in ipv4 (Nikolay Aleksandrov) 12) Add socket busy poll support to epoll (Sridhar Samudrala) 13) Netlink extended ACK support (Johannes Berg, Pablo Neira Ayuso, and several others) 14) IPSEC hw offload infrastructure (Steffen Klassert)" * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (2065 commits) tipc: refactor function tipc_sk_recv_stream() tipc: refactor function tipc_sk_recvmsg() net: thunderx: Optimize page recycling for XDP net: thunderx: Support for XDP header adjustment net: thunderx: Add support for XDP_TX net: thunderx: Add support for XDP_DROP net: thunderx: Add basic XDP support net: thunderx: Cleanup receive buffer allocation net: thunderx: Optimize CQE_TX handling net: thunderx: Optimize RBDR descriptor handling net: thunderx: Support for page recycling ipx: call ipxitf_put() in ioctl error path net: sched: add helpers to handle extended actions qed*: Fix issues in the ptp filter config implementation. qede: Fix concurrency issue in PTP Tx path processing. stmmac: Add support for SIMATIC IOT2000 platform net: hns: fix ethtool_get_strings overflow in hns driver tcp: fix wraparound issue in tcp_lp bpf, arm64: fix jit branch offset related to ldimm64 bpf, arm64: implement jiting of BPF_XADD ...
- Loading branch information
Showing
1,690 changed files
with
108,404 additions
and
45,694 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
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,24 @@ | ||
* Holt HI-311X stand-alone CAN controller device tree bindings | ||
|
||
Required properties: | ||
- compatible: Should be one of the following: | ||
- "holt,hi3110" for HI-3110 | ||
- reg: SPI chip select. | ||
- clocks: The clock feeding the CAN controller. | ||
- interrupt-parent: The parent interrupt controller. | ||
- interrupts: Should contain IRQ line for the CAN controller. | ||
|
||
Optional properties: | ||
- vdd-supply: Regulator that powers the CAN controller. | ||
- xceiver-supply: Regulator that powers the CAN transceiver. | ||
|
||
Example: | ||
can0: can@1 { | ||
compatible = "holt,hi3110"; | ||
reg = <1>; | ||
clocks = <&clk32m>; | ||
interrupt-parent = <&gpio4>; | ||
interrupts = <13 IRQ_TYPE_EDGE_RISING>; | ||
vdd-supply = <®5v0>; | ||
xceiver-supply = <®5v0>; | ||
}; |
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,32 @@ | ||
Texas Instruments High End CAN Controller (HECC) | ||
================================================ | ||
|
||
This file provides information, what the device node | ||
for the hecc interface contains. | ||
|
||
Required properties: | ||
- compatible: "ti,am3517-hecc" | ||
- reg: addresses and lengths of the register spaces for 'hecc', 'hecc-ram' | ||
and 'mbx' | ||
- reg-names :"hecc", "hecc-ram", "mbx" | ||
- interrupts: interrupt mapping for the hecc interrupts sources | ||
- clocks: clock phandles (see clock bindings for details) | ||
|
||
Optional properties: | ||
- ti,use-hecc1int: if provided configures HECC to produce all interrupts | ||
on HECC1INT interrupt line. By default HECC0INT interrupt | ||
line will be used. | ||
- xceiver-supply: regulator that powers the CAN transceiver | ||
|
||
Example: | ||
|
||
For am3517evm board: | ||
hecc: can@5c050000 { | ||
compatible = "ti,am3517-hecc"; | ||
reg = <0x5c050000 0x80>, | ||
<0x5c053000 0x180>, | ||
<0x5c052000 0x200>; | ||
reg-names = "hecc", "hecc-ram", "mbx"; | ||
interrupts = <24>; | ||
clocks = <&hecc_ck>; | ||
}; |
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,105 @@ | ||
SMSC/MicroChip LAN9303 three port ethernet switch | ||
------------------------------------------------- | ||
|
||
Required properties: | ||
|
||
- compatible: should be | ||
- "smsc,lan9303-i2c" for I2C managed mode | ||
or | ||
- "smsc,lan9303-mdio" for mdio managed mode | ||
|
||
Optional properties: | ||
|
||
- reset-gpios: GPIO to be used to reset the whole device | ||
- reset-duration: reset duration in milliseconds, defaults to 200 ms | ||
|
||
Subnodes: | ||
|
||
The integrated switch subnode should be specified according to the binding | ||
described in dsa/dsa.txt. The CPU port of this switch is always port 0. | ||
|
||
Note: always use 'reg = <0/1/2>;' for the three DSA ports, even if the device is | ||
configured to use 1/2/3 instead. This hardware configuration will be | ||
auto-detected and mapped accordingly. | ||
|
||
Example: | ||
|
||
I2C managed mode: | ||
|
||
master: masterdevice@X { | ||
status = "okay"; | ||
|
||
fixed-link { /* RMII fixed link to LAN9303 */ | ||
speed = <100>; | ||
full-duplex; | ||
}; | ||
}; | ||
|
||
switch: switch@a { | ||
compatible = "smsc,lan9303-i2c"; | ||
reg = <0xa>; | ||
status = "okay"; | ||
reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>; | ||
reset-duration = <200>; | ||
|
||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
port@0 { /* RMII fixed link to master */ | ||
reg = <0>; | ||
label = "cpu"; | ||
ethernet = <&master>; | ||
}; | ||
|
||
port@1 { /* external port 1 */ | ||
reg = <1>; | ||
label = "lan1; | ||
}; | ||
|
||
port@2 { /* external port 2 */ | ||
reg = <2>; | ||
label = "lan2"; | ||
}; | ||
}; | ||
}; | ||
|
||
MDIO managed mode: | ||
|
||
master: masterdevice@X { | ||
status = "okay"; | ||
phy-handle = <&switch>; | ||
|
||
mdio { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
switch: switch-phy@0 { | ||
compatible = "smsc,lan9303-mdio"; | ||
reg = <0>; | ||
reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>; | ||
reset-duration = <100>; | ||
|
||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
port@0 { | ||
reg = <0>; | ||
label = "cpu"; | ||
ethernet = <&master>; | ||
}; | ||
|
||
port@1 { /* external port 1 */ | ||
reg = <1>; | ||
label = "lan1; | ||
}; | ||
|
||
port@2 { /* external port 2 */ | ||
reg = <2>; | ||
label = "lan2"; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; |
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,92 @@ | ||
Mediatek MT7530 Ethernet switch | ||
================================ | ||
|
||
Required properties: | ||
|
||
- compatible: Must be compatible = "mediatek,mt7530"; | ||
- #address-cells: Must be 1. | ||
- #size-cells: Must be 0. | ||
- mediatek,mcm: Boolean; if defined, indicates that either MT7530 is the part | ||
on multi-chip module belong to MT7623A has or the remotely standalone | ||
chip as the function MT7623N reference board provided for. | ||
- core-supply: Phandle to the regulator node necessary for the core power. | ||
- io-supply: Phandle to the regulator node necessary for the I/O power. | ||
See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt | ||
for details for the regulator setup on these boards. | ||
|
||
If the property mediatek,mcm isn't defined, following property is required | ||
|
||
- reset-gpios: Should be a gpio specifier for a reset line. | ||
|
||
Else, following properties are required | ||
|
||
- resets : Phandle pointing to the system reset controller with | ||
line index for the ethsys. | ||
- reset-names : Should be set to "mcm". | ||
|
||
Required properties for the child nodes within ports container: | ||
|
||
- reg: Port address described must be 6 for CPU port and from 0 to 5 for | ||
user ports. | ||
- phy-mode: String, must be either "trgmii" or "rgmii" for port labeled | ||
"cpu". | ||
|
||
See Documentation/devicetree/bindings/dsa/dsa.txt for a list of additional | ||
required, optional properties and how the integrated switch subnodes must | ||
be specified. | ||
|
||
Example: | ||
|
||
&mdio0 { | ||
switch@0 { | ||
compatible = "mediatek,mt7530"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <0>; | ||
|
||
core-supply = <&mt6323_vpa_reg>; | ||
io-supply = <&mt6323_vemc3v3_reg>; | ||
reset-gpios = <&pio 33 0>; | ||
|
||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <0>; | ||
port@0 { | ||
reg = <0>; | ||
label = "lan0"; | ||
}; | ||
|
||
port@1 { | ||
reg = <1>; | ||
label = "lan1"; | ||
}; | ||
|
||
port@2 { | ||
reg = <2>; | ||
label = "lan2"; | ||
}; | ||
|
||
port@3 { | ||
reg = <3>; | ||
label = "lan3"; | ||
}; | ||
|
||
port@4 { | ||
reg = <4>; | ||
label = "wan"; | ||
}; | ||
|
||
port@6 { | ||
reg = <6>; | ||
label = "cpu"; | ||
ethernet = <&gmac0>; | ||
phy-mode = "trgmii"; | ||
fixed-link { | ||
speed = <1000>; | ||
full-duplex; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; |
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,35 @@ | ||
* Faraday Technology FTGMAC100 gigabit ethernet controller | ||
|
||
Required properties: | ||
- compatible: "faraday,ftgmac100" | ||
|
||
Must also contain one of these if used as part of an Aspeed AST2400 | ||
or 2500 family SoC as they have some subtle tweaks to the | ||
implementation: | ||
|
||
- "aspeed,ast2400-mac" | ||
- "aspeed,ast2500-mac" | ||
|
||
- reg: Address and length of the register set for the device | ||
- interrupts: Should contain ethernet controller interrupt | ||
|
||
Optional properties: | ||
- phy-mode: See ethernet.txt file in the same directory. If the property is | ||
absent, "rgmii" is assumed. Supported values are "rgmii*" and "rmii" for | ||
aspeed parts. Other (unknown) parts will accept any value. | ||
- use-ncsi: Use the NC-SI stack instead of an MDIO PHY. Currently assumes | ||
rmii (100bT) but kept as a separate property in case NC-SI grows support | ||
for a gigabit link. | ||
- no-hw-checksum: Used to disable HW checksum support. Here for backward | ||
compatibility as the driver now should have correct defaults based on | ||
the SoC. | ||
|
||
Example: | ||
|
||
mac0: ethernet@1e660000 { | ||
compatible = "aspeed,ast2500-mac", "faraday,ftgmac100"; | ||
reg = <0x1e660000 0x180>; | ||
interrupts = <2>; | ||
status = "okay"; | ||
use-ncsi; | ||
}; |
Oops, something went wrong.