Skip to content

Commit 50b825d

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller: 1) Add VF IPSEC offload support in ixgbe, from Shannon Nelson. 2) Add zero-copy AF_XDP support to i40e, from Björn Töpel. 3) All in-tree drivers are converted to {g,s}et_link_ksettings() so we can get rid of the {g,s}et_settings ethtool callbacks, from Michal Kubecek. 4) Add software timestamping to veth driver, from Michael Walle. 5) More work to make packet classifiers and actions lockless, from Vlad Buslov. 6) Support sticky FDB entries in bridge, from Nikolay Aleksandrov. 7) Add ipv6 version of IP_MULTICAST_ALL sockopt, from Andre Naujoks. 8) Support batching of XDP buffers in vhost_net, from Jason Wang. 9) Add flow dissector BPF hook, from Petar Penkov. 10) i40e vf --> generic iavf conversion, from Jesse Brandeburg. 11) Add NLA_REJECT netlink attribute policy type, to signal when users provide attributes in situations which don't make sense. From Johannes Berg. 12) Switch TCP and fair-queue scheduler over to earliest departure time model. From Eric Dumazet. 13) Improve guest receive performance by doing rx busy polling in tx path of vhost networking driver, from Tonghao Zhang. 14) Add per-cgroup local storage to bpf 15) Add reference tracking to BPF, from Joe Stringer. The verifier can now make sure that references taken to objects are properly released by the program. 16) Support in-place encryption in TLS, from Vakul Garg. 17) Add new taprio packet scheduler, from Vinicius Costa Gomes. 18) Lots of selftests additions, too numerous to mention one by one here but all of which are very much appreciated. 19) Support offloading of eBPF programs containing BPF to BPF calls in nfp driver, frm Quentin Monnet. 20) Move dpaa2_ptp driver out of staging, from Yangbo Lu. 21) Lots of u32 classifier cleanups and simplifications, from Al Viro. 22) Add new strict versions of netlink message parsers, and enable them for some situations. From David Ahern. 23) Evict neighbour entries on carrier down, also from David Ahern. 24) Support BPF sk_msg verdict programs with kTLS, from Daniel Borkmann and John Fastabend. 25) Add support for filtering route dumps, from David Ahern. 26) New igc Intel driver for 2.5G parts, from Sasha Neftin et al. 27) Allow vxlan enslavement to bridges in mlxsw driver, from Ido Schimmel. 28) Add queue and stack map types to eBPF, from Mauricio Vasquez B. 29) Add back byte-queue-limit support to r8169, with all the bug fixes in other areas of the driver it works now! From Florian Westphal and Heiner Kallweit. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (2147 commits) tcp: add tcp_reset_xmit_timer() helper qed: Fix static checker warning Revert "be2net: remove desc field from be_eq_obj" Revert "net: simplify sock_poll_wait" net: socionext: Reset tx queue in ndo_stop net: socionext: Add dummy PHY register read in phy_write() net: socionext: Stop PHY before resetting netsec net: stmmac: Set OWN bit for jumbo frames arm64: dts: stratix10: Support Ethernet Jumbo frame tls: Add maintainers net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode octeontx2-af: Support for NIXLF's UCAST/PROMISC/ALLMULTI modes octeontx2-af: Support for setting MAC address octeontx2-af: Support for changing RSS algorithm octeontx2-af: NIX Rx flowkey configuration for RSS octeontx2-af: Install ucast and bcast pkt forwarding rules octeontx2-af: Add LMAC channel info to NIXLF_ALLOC response octeontx2-af: NPC MCAM and LDATA extract minimal configuration octeontx2-af: Enable packet length and csum validation octeontx2-af: Support for VTAG strip and capture ...
2 parents a97a2d4 + 3f80e08 commit 50b825d

File tree

1,716 files changed

+130568
-56775
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,716 files changed

+130568
-56775
lines changed

Documentation/ABI/testing/sysfs-class-net

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Description:
117117
full: full duplex
118118

119119
Note: This attribute is only valid for interfaces that implement
120-
the ethtool get_settings method (mostly Ethernet).
120+
the ethtool get_link_ksettings method (mostly Ethernet).
121121

122122
What: /sys/class/net/<iface>/flags
123123
Date: April 2005
@@ -224,7 +224,7 @@ Description:
224224
an integer representing the link speed in Mbits/sec.
225225

226226
Note: this attribute is only valid for interfaces that implement
227-
the ethtool get_settings method (mostly Ethernet ).
227+
the ethtool get_link_ksettings method (mostly Ethernet).
228228

229229
What: /sys/class/net/<iface>/tx_queue_len
230230
Date: April 2005
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
What: /sys/class/net/<iface>/tagging
2+
Date: August 2018
3+
KernelVersion: 4.20
4+
5+
Description:
6+
String indicating the type of tagging protocol used by the
7+
DSA slave network device.

Documentation/devicetree/bindings/mips/mscc.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,19 @@ Example:
4141
compatible = "mscc,ocelot-cpu-syscon", "syscon";
4242
reg = <0x70000000 0x2c>;
4343
};
44+
45+
o HSIO regs:
46+
47+
The SoC has a few registers (HSIO) handling miscellaneous functionalities:
48+
configuration and status of PLL5, RCOMP, SyncE, SerDes configurations and
49+
status, SerDes muxing and a thermal sensor.
50+
51+
Required properties:
52+
- compatible: Should be "mscc,ocelot-hsio", "syscon", "simple-mfd"
53+
- reg : Should contain registers location and length
54+
55+
Example:
56+
syscon@10d0000 {
57+
compatible = "mscc,ocelot-hsio", "syscon", "simple-mfd";
58+
reg = <0x10d0000 0x10000>;
59+
};

Documentation/devicetree/bindings/net/brcm,unimac-mdio.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Optional properties:
1919
- interrupt-names: must be "mdio_done_error" when there is a share interrupt fed
2020
to this hardware block, or must be "mdio_done" for the first interrupt and
2121
"mdio_error" for the second when there are separate interrupts
22+
- clocks: A reference to the clock supplying the MDIO bus controller
23+
- clock-frequency: the MDIO bus clock that must be output by the MDIO bus
24+
hardware, if absent, the default hardware values are used
2225

2326
Child nodes of this MDIO bus controller node are standard Ethernet PHY device
2427
nodes as described in Documentation/devicetree/bindings/net/phy.txt
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
Lantiq GSWIP Ethernet switches
2+
==================================
3+
4+
Required properties for GSWIP core:
5+
6+
- compatible : "lantiq,xrx200-gswip" for the embedded GSWIP in the
7+
xRX200 SoC
8+
- reg : memory range of the GSWIP core registers
9+
: memory range of the GSWIP MDIO registers
10+
: memory range of the GSWIP MII registers
11+
12+
See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of
13+
additional required and optional properties.
14+
15+
16+
Required properties for MDIO bus:
17+
- compatible : "lantiq,xrx200-mdio" for the MDIO bus inside the GSWIP
18+
core of the xRX200 SoC and the PHYs connected to it.
19+
20+
See Documentation/devicetree/bindings/net/mdio.txt for a list of additional
21+
required and optional properties.
22+
23+
24+
Required properties for GPHY firmware loading:
25+
- compatible : "lantiq,xrx200-gphy-fw", "lantiq,gphy-fw"
26+
"lantiq,xrx300-gphy-fw", "lantiq,gphy-fw"
27+
"lantiq,xrx330-gphy-fw", "lantiq,gphy-fw"
28+
for the loading of the firmware into the embedded
29+
GPHY core of the SoC.
30+
- lantiq,rcu : reference to the rcu syscon
31+
32+
The GPHY firmware loader has a list of GPHY entries, one for each
33+
embedded GPHY
34+
35+
- reg : Offset of the GPHY firmware register in the RCU
36+
register range
37+
- resets : list of resets of the embedded GPHY
38+
- reset-names : list of names of the resets
39+
40+
Example:
41+
42+
Ethernet switch on the VRX200 SoC:
43+
44+
switch@e108000 {
45+
#address-cells = <1>;
46+
#size-cells = <0>;
47+
compatible = "lantiq,xrx200-gswip";
48+
reg = < 0xe108000 0x3100 /* switch */
49+
0xe10b100 0xd8 /* mdio */
50+
0xe10b1d8 0x130 /* mii */
51+
>;
52+
dsa,member = <0 0>;
53+
54+
ports {
55+
#address-cells = <1>;
56+
#size-cells = <0>;
57+
58+
port@0 {
59+
reg = <0>;
60+
label = "lan3";
61+
phy-mode = "rgmii";
62+
phy-handle = <&phy0>;
63+
};
64+
65+
port@1 {
66+
reg = <1>;
67+
label = "lan4";
68+
phy-mode = "rgmii";
69+
phy-handle = <&phy1>;
70+
};
71+
72+
port@2 {
73+
reg = <2>;
74+
label = "lan2";
75+
phy-mode = "internal";
76+
phy-handle = <&phy11>;
77+
};
78+
79+
port@4 {
80+
reg = <4>;
81+
label = "lan1";
82+
phy-mode = "internal";
83+
phy-handle = <&phy13>;
84+
};
85+
86+
port@5 {
87+
reg = <5>;
88+
label = "wan";
89+
phy-mode = "rgmii";
90+
phy-handle = <&phy5>;
91+
};
92+
93+
port@6 {
94+
reg = <0x6>;
95+
label = "cpu";
96+
ethernet = <&eth0>;
97+
};
98+
};
99+
100+
mdio {
101+
#address-cells = <1>;
102+
#size-cells = <0>;
103+
compatible = "lantiq,xrx200-mdio";
104+
reg = <0>;
105+
106+
phy0: ethernet-phy@0 {
107+
reg = <0x0>;
108+
};
109+
phy1: ethernet-phy@1 {
110+
reg = <0x1>;
111+
};
112+
phy5: ethernet-phy@5 {
113+
reg = <0x5>;
114+
};
115+
phy11: ethernet-phy@11 {
116+
reg = <0x11>;
117+
};
118+
phy13: ethernet-phy@13 {
119+
reg = <0x13>;
120+
};
121+
};
122+
123+
gphy-fw {
124+
compatible = "lantiq,xrx200-gphy-fw", "lantiq,gphy-fw";
125+
lantiq,rcu = <&rcu0>;
126+
#address-cells = <1>;
127+
#size-cells = <0>;
128+
129+
gphy@20 {
130+
reg = <0x20>;
131+
132+
resets = <&reset0 31 30>;
133+
reset-names = "gphy";
134+
};
135+
136+
gphy@68 {
137+
reg = <0x68>;
138+
139+
resets = <&reset0 29 28>;
140+
reset-names = "gphy";
141+
};
142+
};
143+
};
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Lantiq xRX200 GSWIP PMAC Ethernet driver
2+
==================================
3+
4+
Required properties:
5+
6+
- compatible : "lantiq,xrx200-net" for the PMAC of the embedded
7+
: GSWIP in the xXR200
8+
- reg : memory range of the PMAC core inside of the GSWIP core
9+
- interrupts : TX and RX DMA interrupts. Use interrupt-names "tx" for
10+
: the TX interrupt and "rx" for the RX interrupt.
11+
12+
Example:
13+
14+
ethernet@e10b308 {
15+
#address-cells = <1>;
16+
#size-cells = <0>;
17+
compatible = "lantiq,xrx200-net";
18+
reg = <0xe10b308 0xcf8>;
19+
interrupts = <73>, <72>;
20+
interrupt-names = "tx", "rx";
21+
};

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

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ required.
3131

3232
Required properties (port):
3333

34-
- interrupts: interrupt for the port
34+
- interrupts: interrupt(s) for the port
3535
- port-id: ID of the port from the MAC point of view
3636
- gop-port-id: only for marvell,armada-7k-pp2, ID of the port from the
3737
GOP (Group Of Ports) point of view. This ID is used to index the
@@ -43,10 +43,12 @@ Optional properties (port):
4343
- marvell,loopback: port is loopback mode
4444
- phy: a phandle to a phy node defining the PHY address (as the reg
4545
property, a single integer).
46-
- interrupt-names: if more than a single interrupt for rx is given, must
47-
be the name associated to the interrupts listed. Valid
48-
names are: "tx-cpu0", "tx-cpu1", "tx-cpu2", "tx-cpu3",
49-
"rx-shared", "link".
46+
- interrupt-names: if more than a single interrupt for is given, must be the
47+
name associated to the interrupts listed. Valid names are:
48+
"hifX", with X in [0..8], and "link". The names "tx-cpu0",
49+
"tx-cpu1", "tx-cpu2", "tx-cpu3" and "rx-shared" are supported
50+
for backward compatibility but shouldn't be used for new
51+
additions.
5052
- marvell,system-controller: a phandle to the system controller.
5153

5254
Example for marvell,armada-375-pp2:
@@ -89,9 +91,14 @@ cpm_ethernet: ethernet@0 {
8991
<ICU_GRP_NSR 43 IRQ_TYPE_LEVEL_HIGH>,
9092
<ICU_GRP_NSR 47 IRQ_TYPE_LEVEL_HIGH>,
9193
<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";
94+
<ICU_GRP_NSR 55 IRQ_TYPE_LEVEL_HIGH>,
95+
<ICU_GRP_NSR 59 IRQ_TYPE_LEVEL_HIGH>,
96+
<ICU_GRP_NSR 63 IRQ_TYPE_LEVEL_HIGH>,
97+
<ICU_GRP_NSR 67 IRQ_TYPE_LEVEL_HIGH>,
98+
<ICU_GRP_NSR 71 IRQ_TYPE_LEVEL_HIGH>,
99+
<ICU_GRP_NSR 129 IRQ_TYPE_LEVEL_HIGH>;
100+
interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
101+
"hif5", "hif6", "hif7", "hif8", "link";
95102
port-id = <0>;
96103
gop-port-id = <0>;
97104
};
@@ -101,9 +108,14 @@ cpm_ethernet: ethernet@0 {
101108
<ICU_GRP_NSR 44 IRQ_TYPE_LEVEL_HIGH>,
102109
<ICU_GRP_NSR 48 IRQ_TYPE_LEVEL_HIGH>,
103110
<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";
111+
<ICU_GRP_NSR 56 IRQ_TYPE_LEVEL_HIGH>,
112+
<ICU_GRP_NSR 60 IRQ_TYPE_LEVEL_HIGH>,
113+
<ICU_GRP_NSR 64 IRQ_TYPE_LEVEL_HIGH>,
114+
<ICU_GRP_NSR 68 IRQ_TYPE_LEVEL_HIGH>,
115+
<ICU_GRP_NSR 72 IRQ_TYPE_LEVEL_HIGH>,
116+
<ICU_GRP_NSR 128 IRQ_TYPE_LEVEL_HIGH>;
117+
interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
118+
"hif5", "hif6", "hif7", "hif8", "link";
107119
port-id = <1>;
108120
gop-port-id = <2>;
109121
};
@@ -113,9 +125,14 @@ cpm_ethernet: ethernet@0 {
113125
<ICU_GRP_NSR 45 IRQ_TYPE_LEVEL_HIGH>,
114126
<ICU_GRP_NSR 49 IRQ_TYPE_LEVEL_HIGH>,
115127
<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";
128+
<ICU_GRP_NSR 57 IRQ_TYPE_LEVEL_HIGH>,
129+
<ICU_GRP_NSR 61 IRQ_TYPE_LEVEL_HIGH>,
130+
<ICU_GRP_NSR 65 IRQ_TYPE_LEVEL_HIGH>,
131+
<ICU_GRP_NSR 69 IRQ_TYPE_LEVEL_HIGH>,
132+
<ICU_GRP_NSR 73 IRQ_TYPE_LEVEL_HIGH>,
133+
<ICU_GRP_NSR 127 IRQ_TYPE_LEVEL_HIGH>;
134+
interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
135+
"hif5", "hif6", "hif7", "hif8", "link";
119136
port-id = <2>;
120137
gop-port-id = <3>;
121138
};

Documentation/devicetree/bindings/net/micrel-ksz90x1.txt

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Micrel KSZ9021/KSZ9031 Gigabit Ethernet PHY
1+
Micrel KSZ9021/KSZ9031/KSZ9131 Gigabit Ethernet PHY
22

33
Some boards require special tuning values, particularly when it comes
44
to clock delays. You can specify clock delay values in the PHY OF
@@ -64,6 +64,32 @@ KSZ9031:
6464
Attention: The link partner must be configurable as slave otherwise
6565
no link will be established.
6666

67+
KSZ9131:
68+
69+
All skew control options are specified in picoseconds. The increment
70+
step is 100ps. Unlike KSZ9031, the values represent picoseccond delays.
71+
A negative value can be assigned as rxc-skew-psec = <(-100)>;.
72+
73+
Optional properties:
74+
75+
Range of the value -700 to 2400, default value 0:
76+
77+
- rxc-skew-psec : Skew control of RX clock pad
78+
- txc-skew-psec : Skew control of TX clock pad
79+
80+
Range of the value -700 to 800, default value 0:
81+
82+
- rxdv-skew-psec : Skew control of RX CTL pad
83+
- txen-skew-psec : Skew control of TX CTL pad
84+
- rxd0-skew-psec : Skew control of RX data 0 pad
85+
- rxd1-skew-psec : Skew control of RX data 1 pad
86+
- rxd2-skew-psec : Skew control of RX data 2 pad
87+
- rxd3-skew-psec : Skew control of RX data 3 pad
88+
- txd0-skew-psec : Skew control of TX data 0 pad
89+
- txd1-skew-psec : Skew control of TX data 1 pad
90+
- txd2-skew-psec : Skew control of TX data 2 pad
91+
- txd3-skew-psec : Skew control of TX data 3 pad
92+
6793
Examples:
6894

6995
mdio {

Documentation/devicetree/bindings/net/mscc-ocelot.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Required properties:
1212
- "sys"
1313
- "rew"
1414
- "qs"
15-
- "hsio"
1615
- "qsys"
1716
- "ana"
1817
- "portX" with X from 0 to the number of last port index available on that
@@ -45,7 +44,6 @@ Example:
4544
reg = <0x1010000 0x10000>,
4645
<0x1030000 0x10000>,
4746
<0x1080000 0x100>,
48-
<0x10d0000 0x10000>,
4947
<0x11e0000 0x100>,
5048
<0x11f0000 0x100>,
5149
<0x1200000 0x100>,
@@ -59,10 +57,9 @@ Example:
5957
<0x1280000 0x100>,
6058
<0x1800000 0x80000>,
6159
<0x1880000 0x10000>;
62-
reg-names = "sys", "rew", "qs", "hsio", "port0",
63-
"port1", "port2", "port3", "port4", "port5",
64-
"port6", "port7", "port8", "port9", "port10",
65-
"qsys", "ana";
60+
reg-names = "sys", "rew", "qs", "port0", "port1", "port2",
61+
"port3", "port4", "port5", "port6", "port7",
62+
"port8", "port9", "port10", "qsys", "ana";
6663
interrupts = <21 22>;
6764
interrupt-names = "xtr", "inj";
6865

0 commit comments

Comments
 (0)