Skip to content

Commit aae3dbb

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller: 1) Support ipv6 checksum offload in sunvnet driver, from Shannon Nelson. 2) Move to RB-tree instead of custom AVL code in inetpeer, from Eric Dumazet. 3) Allow generic XDP to work on virtual devices, from John Fastabend. 4) Add bpf device maps and XDP_REDIRECT, which can be used to build arbitrary switching frameworks using XDP. From John Fastabend. 5) Remove UFO offloads from the tree, gave us little other than bugs. 6) Remove the IPSEC flow cache, from Florian Westphal. 7) Support ipv6 route offload in mlxsw driver. 8) Support VF representors in bnxt_en, from Sathya Perla. 9) Add support for forward error correction modes to ethtool, from Vidya Sagar Ravipati. 10) Add time filter for packet scheduler action dumping, from Jamal Hadi Salim. 11) Extend the zerocopy sendmsg() used by virtio and tap to regular sockets via MSG_ZEROCOPY. From Willem de Bruijn. 12) Significantly rework value tracking in the BPF verifier, from Edward Cree. 13) Add new jump instructions to eBPF, from Daniel Borkmann. 14) Rework rtnetlink plumbing so that operations can be run without taking the RTNL semaphore. From Florian Westphal. 15) Support XDP in tap driver, from Jason Wang. 16) Add 32-bit eBPF JIT for ARM, from Shubham Bansal. 17) Add Huawei hinic ethernet driver. 18) Allow to report MD5 keys in TCP inet_diag dumps, from Ivan Delalande. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1780 commits) i40e: point wb_desc at the nvm_wb_desc during i40e_read_nvm_aq i40e: avoid NVM acquire deadlock during NVM update drivers: net: xgene: Remove return statement from void function drivers: net: xgene: Configure tx/rx delay for ACPI drivers: net: xgene: Read tx/rx delay for ACPI rocker: fix kcalloc parameter order rds: Fix non-atomic operation on shared flag variable net: sched: don't use GFP_KERNEL under spin lock vhost_net: correctly check tx avail during rx busy polling net: mdio-mux: add mdio_mux parameter to mdio_mux_init() rxrpc: Make service connection lookup always check for retry net: stmmac: Delete dead code for MDIO registration gianfar: Fix Tx flow control deactivation cxgb4: Ignore MPS_TX_INT_CAUSE[Bubble] for T6 cxgb4: Fix pause frame count in t4_get_port_stats cxgb4: fix memory leak tun: rename generic_xdp to skb_xdp tun: reserve extra headroom only when XDP is set net: dsa: bcm_sf2: Configure IMP port TC2QOS mapping net: dsa: bcm_sf2: Advertise number of egress queues ...
2 parents ec3604c + 66bed84 commit aae3dbb

File tree

1,592 files changed

+100338
-31566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,592 files changed

+100338
-31566
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
* Adaptrum Anarion ethernet controller
2+
3+
This device is a platform glue layer for stmmac.
4+
Please see stmmac.txt for the other unchanged properties.
5+
6+
Required properties:
7+
- compatible: Should be "adaptrum,anarion-gmac", "snps,dwmac"
8+
- phy-mode: Should be "rgmii". Other modes are not currently supported.
9+
10+
11+
Examples:
12+
13+
gmac1: ethernet@f2014000 {
14+
compatible = "adaptrum,anarion-gmac", "snps,dwmac";
15+
reg = <0xf2014000 0x4000>, <0xf2018100 8>;
16+
17+
interrupt-parent = <&core_intc>;
18+
interrupts = <21>;
19+
interrupt-names = "macirq";
20+
21+
clocks = <&core_clk>;
22+
clock-names = "stmmaceth";
23+
24+
phy-mode = "rgmii";
25+
};
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Broadcom Bluetooth Chips
2+
---------------------
3+
4+
This documents the binding structure and common properties for serial
5+
attached Broadcom devices.
6+
7+
Serial attached Broadcom devices shall be a child node of the host UART
8+
device the slave device is attached to.
9+
10+
Required properties:
11+
12+
- compatible: should contain one of the following:
13+
* "brcm,bcm43438-bt"
14+
15+
Optional properties:
16+
17+
- max-speed: see Documentation/devicetree/bindings/serial/slave-device.txt
18+
- shutdown-gpios: GPIO specifier, used to enable the BT module
19+
- device-wakeup-gpios: GPIO specifier, used to wakeup the controller
20+
- host-wakeup-gpios: GPIO specifier, used to wakeup the host processor
21+
- clocks: clock specifier if external clock provided to the controller
22+
- clock-names: should be "extclk"
23+
24+
25+
Example:
26+
27+
&uart2 {
28+
pinctrl-names = "default";
29+
pinctrl-0 = <&uart2_pins>;
30+
31+
bluetooth {
32+
compatible = "brcm,bcm43438-bt";
33+
max-speed = <921600>;
34+
};
35+
};

Documentation/devicetree/bindings/net/marvell-pp2.txt

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ Optional properties (port):
4141
- marvell,loopback: port is loopback mode
4242
- phy: a phandle to a phy node defining the PHY address (as the reg
4343
property, a single integer).
44+
- interrupt-names: if more than a single interrupt for rx is given, must
45+
be the name associated to the interrupts listed. Valid
46+
names are: "tx-cpu0", "tx-cpu1", "tx-cpu2", "tx-cpu3",
47+
"rx-shared", "link".
48+
- marvell,system-controller: a phandle to the system controller.
4449

4550
Example for marvell,armada-375-pp2:
4651

@@ -80,19 +85,37 @@ cpm_ethernet: ethernet@0 {
8085
clock-names = "pp_clk", "gop_clk", "gp_clk";
8186

8287
eth0: eth0 {
83-
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
88+
interrupts = <ICU_GRP_NSR 39 IRQ_TYPE_LEVEL_HIGH>,
89+
<ICU_GRP_NSR 43 IRQ_TYPE_LEVEL_HIGH>,
90+
<ICU_GRP_NSR 47 IRQ_TYPE_LEVEL_HIGH>,
91+
<ICU_GRP_NSR 51 IRQ_TYPE_LEVEL_HIGH>,
92+
<ICU_GRP_NSR 55 IRQ_TYPE_LEVEL_HIGH>;
93+
interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2",
94+
"tx-cpu3", "rx-shared";
8495
port-id = <0>;
8596
gop-port-id = <0>;
8697
};
8798

8899
eth1: eth1 {
89-
interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
100+
interrupts = <ICU_GRP_NSR 40 IRQ_TYPE_LEVEL_HIGH>,
101+
<ICU_GRP_NSR 44 IRQ_TYPE_LEVEL_HIGH>,
102+
<ICU_GRP_NSR 48 IRQ_TYPE_LEVEL_HIGH>,
103+
<ICU_GRP_NSR 52 IRQ_TYPE_LEVEL_HIGH>,
104+
<ICU_GRP_NSR 56 IRQ_TYPE_LEVEL_HIGH>;
105+
interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2",
106+
"tx-cpu3", "rx-shared";
90107
port-id = <1>;
91108
gop-port-id = <2>;
92109
};
93110

94111
eth2: eth2 {
95-
interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
112+
interrupts = <ICU_GRP_NSR 41 IRQ_TYPE_LEVEL_HIGH>,
113+
<ICU_GRP_NSR 45 IRQ_TYPE_LEVEL_HIGH>,
114+
<ICU_GRP_NSR 49 IRQ_TYPE_LEVEL_HIGH>,
115+
<ICU_GRP_NSR 53 IRQ_TYPE_LEVEL_HIGH>,
116+
<ICU_GRP_NSR 57 IRQ_TYPE_LEVEL_HIGH>;
117+
interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2",
118+
"tx-cpu3", "rx-shared";
96119
port-id = <2>;
97120
gop-port-id = <3>;
98121
};

Documentation/devicetree/bindings/net/mediatek-net.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,30 @@ have dual GMAC each represented by a child node..
77
* Ethernet controller node
88

99
Required properties:
10-
- compatible: Should be "mediatek,mt2701-eth"
10+
- compatible: Should be
11+
"mediatek,mt2701-eth": for MT2701 SoC
12+
"mediatek,mt7623-eth", "mediatek,mt2701-eth": for MT7623 SoC
13+
"mediatek,mt7622-eth": for MT7622 SoC
1114
- reg: Address and length of the register set for the device
1215
- interrupts: Should contain the three frame engines interrupts in numeric
1316
order. These are fe_int0, fe_int1 and fe_int2.
1417
- clocks: the clock used by the core
1518
- clock-names: the names of the clock listed in the clocks property. These are
16-
"ethif", "esw", "gp2", "gp1"
19+
"ethif", "esw", "gp2", "gp1" : For MT2701 and MT7623 SoC
20+
"ethif", "esw", "gp0", "gp1", "gp2", "sgmii_tx250m", "sgmii_rx250m",
21+
"sgmii_cdr_ref", "sgmii_cdr_fb", "sgmii_ck", "eth2pll" : For MT7622 SoC
1722
- power-domains: phandle to the power domain that the ethernet is part of
1823
- resets: Should contain a phandle to the ethsys reset signal
1924
- reset-names: Should contain the reset signal name "eth"
2025
- mediatek,ethsys: phandle to the syscon node that handles the port setup
26+
- mediatek,sgmiisys: phandle to the syscon node that handles the SGMII setup
27+
which is required for those SoCs equipped with SGMII such as MT7622 SoC.
2128
- mediatek,pctl: phandle to the syscon node that handles the ports slew rate
2229
and driver current
2330

2431
Optional properties:
2532
- interrupt-parent: Should be the phandle for the interrupt controller
2633
that services interrupts for this device
27-
2834
* Ethernet MAC node
2935

3036
Required properties:

Documentation/devicetree/bindings/net/phy.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ Optional Properties:
5252
Mark the corresponding energy efficient ethernet mode as broken and
5353
request the ethernet to stop advertising it.
5454

55+
- phy-is-integrated: If set, indicates that the PHY is integrated into the same
56+
physical package as the Ethernet MAC. If needed, muxers should be configured
57+
to ensure the integrated PHY is used. The absence of this property indicates
58+
the muxers should be configured so that the external PHY is used.
59+
5560
Example:
5661

5762
ethernet-phy@0 {

Documentation/devicetree/bindings/net/renesas,ravb.txt

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,25 @@ This file provides information on what the device node for the Ethernet AVB
44
interface contains.
55

66
Required properties:
7-
- compatible: "renesas,etheravb-r8a7790" if the device is a part of R8A7790 SoC.
8-
"renesas,etheravb-r8a7791" if the device is a part of R8A7791 SoC.
9-
"renesas,etheravb-r8a7792" if the device is a part of R8A7792 SoC.
10-
"renesas,etheravb-r8a7793" if the device is a part of R8A7793 SoC.
11-
"renesas,etheravb-r8a7794" if the device is a part of R8A7794 SoC.
12-
"renesas,etheravb-r8a7795" if the device is a part of R8A7795 SoC.
13-
"renesas,etheravb-r8a7796" if the device is a part of R8A7796 SoC.
14-
"renesas,etheravb-rcar-gen2" for generic R-Car Gen 2 compatible interface.
15-
"renesas,etheravb-rcar-gen3" for generic R-Car Gen 3 compatible interface.
7+
- compatible: Must contain one or more of the following:
8+
- "renesas,etheravb-r8a7743" for the R8A7743 SoC.
9+
- "renesas,etheravb-r8a7745" for the R8A7745 SoC.
10+
- "renesas,etheravb-r8a7790" for the R8A7790 SoC.
11+
- "renesas,etheravb-r8a7791" for the R8A7791 SoC.
12+
- "renesas,etheravb-r8a7792" for the R8A7792 SoC.
13+
- "renesas,etheravb-r8a7793" for the R8A7793 SoC.
14+
- "renesas,etheravb-r8a7794" for the R8A7794 SoC.
15+
- "renesas,etheravb-rcar-gen2" as a fallback for the above
16+
R-Car Gen2 and RZ/G1 devices.
1617

17-
When compatible with the generic version, nodes must list the
18-
SoC-specific version corresponding to the platform first
19-
followed by the generic version.
18+
- "renesas,etheravb-r8a7795" for the R8A7795 SoC.
19+
- "renesas,etheravb-r8a7796" for the R8A7796 SoC.
20+
- "renesas,etheravb-rcar-gen3" as a fallback for the above
21+
R-Car Gen3 devices.
22+
23+
When compatible with the generic version, nodes must list the
24+
SoC-specific version corresponding to the platform first followed by
25+
the generic version.
2026

2127
- reg: offset and length of (1) the register block and (2) the stream buffer.
2228
- interrupts: A list of interrupt-specifiers, one for each entry in

Documentation/devicetree/bindings/net/rockchip-dwmac.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Required properties:
1010
"rockchip,rk3366-gmac": found on RK3366 SoCs
1111
"rockchip,rk3368-gmac": found on RK3368 SoCs
1212
"rockchip,rk3399-gmac": found on RK3399 SoCs
13+
"rockchip,rv1108-gmac": found on RV1108 SoCs
1314
- reg: addresses and length of the register sets for the device.
1415
- interrupts: Should contain the GMAC interrupts.
1516
- interrupt-names: Should contain the interrupt names "macirq".
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
XILINX AXI ETHERNET Device Tree Bindings
2+
--------------------------------------------------------
3+
4+
Also called AXI 1G/2.5G Ethernet Subsystem, the xilinx axi ethernet IP core
5+
provides connectivity to an external ethernet PHY supporting different
6+
interfaces: MII, GMII, RGMII, SGMII, 1000BaseX. It also includes two
7+
segments of memory for buffering TX and RX, as well as the capability of
8+
offloading TX/RX checksum calculation off the processor.
9+
10+
Management configuration is done through the AXI interface, while payload is
11+
sent and received through means of an AXI DMA controller. This driver
12+
includes the DMA driver code, so this driver is incompatible with AXI DMA
13+
driver.
14+
15+
For more details about mdio please refer phy.txt file in the same directory.
16+
17+
Required properties:
18+
- compatible : Must be one of "xlnx,axi-ethernet-1.00.a",
19+
"xlnx,axi-ethernet-1.01.a", "xlnx,axi-ethernet-2.01.a"
20+
- reg : Address and length of the IO space.
21+
- interrupts : Should be a list of two interrupt, TX and RX.
22+
- phy-handle : Should point to the external phy device.
23+
See ethernet.txt file in the same directory.
24+
- xlnx,rxmem : Set to allocated memory buffer for Rx/Tx in the hardware
25+
26+
Optional properties:
27+
- phy-mode : See ethernet.txt
28+
- xlnx,phy-type : Deprecated, do not use, but still accepted in preference
29+
to phy-mode.
30+
- xlnx,txcsum : 0 or empty for disabling TX checksum offload,
31+
1 to enable partial TX checksum offload,
32+
2 to enable full TX checksum offload
33+
- xlnx,rxcsum : Same values as xlnx,txcsum but for RX checksum offload
34+
35+
Example:
36+
axi_ethernet_eth: ethernet@40c00000 {
37+
compatible = "xlnx,axi-ethernet-1.00.a";
38+
device_type = "network";
39+
interrupt-parent = <&microblaze_0_axi_intc>;
40+
interrupts = <2 0>;
41+
phy-mode = "mii";
42+
reg = <0x40c00000 0x40000>;
43+
xlnx,rxcsum = <0x2>;
44+
xlnx,rxmem = <0x800>;
45+
xlnx,txcsum = <0x2>;
46+
phy-handle = <&phy0>;
47+
axi_ethernetlite_0_mdio: mdio {
48+
#address-cells = <1>;
49+
#size-cells = <0>;
50+
phy0: phy@0 {
51+
device_type = "ethernet-phy";
52+
reg = <1>;
53+
};
54+
};
55+
};
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
mvebu comphy driver
2+
-------------------
3+
4+
A comphy controller can be found on Marvell Armada 7k/8k on the CP110. It
5+
provides a number of shared PHYs used by various interfaces (network, sata,
6+
usb, PCIe...).
7+
8+
Required properties:
9+
10+
- compatible: should be "marvell,comphy-cp110"
11+
- reg: should contain the comphy register location and length.
12+
- marvell,system-controller: should contain a phandle to the
13+
system controller node.
14+
- #address-cells: should be 1.
15+
- #size-cells: should be 0.
16+
17+
A sub-node is required for each comphy lane provided by the comphy.
18+
19+
Required properties (child nodes):
20+
21+
- reg: comphy lane number.
22+
- #phy-cells : from the generic phy bindings, must be 1. Defines the
23+
input port to use for a given comphy lane.
24+
25+
Example:
26+
27+
cpm_comphy: phy@120000 {
28+
compatible = "marvell,comphy-cp110";
29+
reg = <0x120000 0x6000>;
30+
marvell,system-controller = <&cpm_syscon0>;
31+
#address-cells = <1>;
32+
#size-cells = <0>;
33+
34+
cpm_comphy0: phy@0 {
35+
reg = <0>;
36+
#phy-cells = <1>;
37+
};
38+
39+
cpm_comphy1: phy@1 {
40+
reg = <1>;
41+
#phy-cells = <1>;
42+
};
43+
};

Documentation/networking/00-INDEX

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ atm.txt
3030
- info on where to get ATM programs and support for Linux.
3131
ax25.txt
3232
- info on using AX.25 and NET/ROM code for Linux
33-
batman-adv.txt
34-
- B.A.T.M.A.N routing protocol on top of layer 2 Ethernet Frames.
3533
baycom.txt
3634
- info on the driver for Baycom style amateur radio modems
3735
bonding.txt

0 commit comments

Comments
 (0)