Skip to content

Commit 9e9fb76

Browse files
committed
Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
Pull networking updates from Jakub Kicinski: "Core: - Enable memcg accounting for various networking objects. BPF: - Introduce bpf timers. - Add perf link and opaque bpf_cookie which the program can read out again, to be used in libbpf-based USDT library. - Add bpf_task_pt_regs() helper to access user space pt_regs in kprobes, to help user space stack unwinding. - Add support for UNIX sockets for BPF sockmap. - Extend BPF iterator support for UNIX domain sockets. - Allow BPF TCP congestion control progs and bpf iterators to call bpf_setsockopt(), e.g. to switch to another congestion control algorithm. Protocols: - Support IOAM Pre-allocated Trace with IPv6. - Support Management Component Transport Protocol. - bridge: multicast: add vlan support. - netfilter: add hooks for the SRv6 lightweight tunnel driver. - tcp: - enable mid-stream window clamping (by user space or BPF) - allow data-less, empty-cookie SYN with TFO_SERVER_COOKIE_NOT_REQD - more accurate DSACK processing for RACK-TLP - mptcp: - add full mesh path manager option - add partial support for MP_FAIL - improve use of backup subflows - optimize option processing - af_unix: add OOB notification support. - ipv6: add IFLA_INET6_RA_MTU to expose MTU value advertised by the router. - mac80211: Target Wake Time support in AP mode. - can: j1939: extend UAPI to notify about RX status. Driver APIs: - Add page frag support in page pool API. - Many improvements to the DSA (distributed switch) APIs. - ethtool: extend IRQ coalesce uAPI with timer reset modes. - devlink: control which auxiliary devices are created. - Support CAN PHYs via the generic PHY subsystem. - Proper cross-chip support for tag_8021q. - Allow TX forwarding for the software bridge data path to be offloaded to capable devices. Drivers: - veth: more flexible channels number configuration. - openvswitch: introduce per-cpu upcall dispatch. - Add internet mix (IMIX) mode to pktgen. - Transparently handle XDP operations in the bonding driver. - Add LiteETH network driver. - Renesas (ravb): - support Gigabit Ethernet IP - NXP Ethernet switch (sja1105): - fast aging support - support for "H" switch topologies - traffic termination for ports under VLAN-aware bridge - Intel 1G Ethernet - support getcrosststamp() with PCIe PTM (Precision Time Measurement) for better time sync - support Credit-Based Shaper (CBS) offload, enabling HW traffic prioritization and bandwidth reservation - Broadcom Ethernet (bnxt) - support pulse-per-second output - support larger Rx rings - Mellanox Ethernet (mlx5) - support ethtool RSS contexts and MQPRIO channel mode - support LAG offload with bridging - support devlink rate limit API - support packet sampling on tunnels - Huawei Ethernet (hns3): - basic devlink support - add extended IRQ coalescing support - report extended link state - Netronome Ethernet (nfp): - add conntrack offload support - Broadcom WiFi (brcmfmac): - add WPA3 Personal with FT to supported cipher suites - support 43752 SDIO device - Intel WiFi (iwlwifi): - support scanning hidden 6GHz networks - support for a new hardware family (Bz) - Xen pv driver: - harden netfront against malicious backends - Qualcomm mobile - ipa: refactor power management and enable automatic suspend - mhi: move MBIM to WWAN subsystem interfaces Refactor: - Ambient BPF run context and cgroup storage cleanup. - Compat rework for ndo_ioctl. Old code removal: - prism54 remove the obsoleted driver, deprecated by the p54 driver. - wan: remove sbni/granch driver" * tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (1715 commits) net: Add depends on OF_NET for LiteX's LiteETH ipv6: seg6: remove duplicated include net: hns3: remove unnecessary spaces net: hns3: add some required spaces net: hns3: clean up a type mismatch warning net: hns3: refine function hns3_set_default_feature() ipv6: remove duplicated 'net/lwtunnel.h' include net: w5100: check return value after calling platform_get_resource() net/mlxbf_gige: Make use of devm_platform_ioremap_resourcexxx() net: mdio: mscc-miim: Make use of the helper function devm_platform_ioremap_resource() net: mdio-ipq4019: Make use of devm_platform_ioremap_resource() fou: remove sparse errors ipv4: fix endianness issue in inet_rtm_getroute_build_skb() octeontx2-af: Set proper errorcode for IPv4 checksum errors octeontx2-af: Fix static code analyzer reported issues octeontx2-af: Fix mailbox errors in nix_rss_flowkey_cfg octeontx2-af: Fix loop in free and unmap counter af_unix: fix potential NULL deref in unix_dgram_connect() dpaa2-eth: Replace strlcpy with strscpy octeontx2-af: Use NDC TX for transmit packet data ...
2 parents 86ac54e + 29ce8f9 commit 9e9fb76

File tree

1,812 files changed

+80507
-41279
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,812 files changed

+80507
-41279
lines changed

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ Matthew Wilcox <[email protected]> <[email protected]>
229229
230230
231231
232+
232233
Matthieu CASTET <[email protected]>
233234
234235
Matt Ranostay <[email protected]> Matthew Ranostay <[email protected]>
@@ -341,6 +342,7 @@ Sumit Semwal <[email protected]>
341342
Takashi YOSHII <[email protected]>
342343
Tejun Heo <[email protected]>
343344
Thomas Graf <[email protected]>
345+
344346
Thomas Pedersen <[email protected]>
345347
346348

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4962,8 +4962,6 @@
49624962
sa1100ir [NET]
49634963
See drivers/net/irda/sa1100_ir.c.
49644964

4965-
sbni= [NET] Granch SBNI12 leased line adapter
4966-
49674965
sched_verbose [KNL] Enables verbose scheduler debug messages.
49684966

49694967
schedstats= [KNL,X86] Enable or disable scheduled statistics.

Documentation/bpf/index.rst

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,7 @@ that goes into great technical depth about the BPF Architecture.
1515
libbpf
1616
======
1717

18-
Libbpf is a userspace library for loading and interacting with bpf programs.
19-
20-
.. toctree::
21-
:maxdepth: 1
22-
23-
libbpf/libbpf
24-
libbpf/libbpf_api
25-
libbpf/libbpf_build
26-
libbpf/libbpf_naming_convention
18+
Documentation/bpf/libbpf/libbpf.rst is a userspace library for loading and interacting with bpf programs.
2719

2820
BPF Type Format (BTF)
2921
=====================

Documentation/bpf/libbpf/libbpf.rst renamed to Documentation/bpf/libbpf/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
libbpf
44
======
55

6+
For API documentation see the `versioned API documentation site <https://libbpf.readthedocs.io/en/latest/api.html>`_.
7+
8+
.. toctree::
9+
:maxdepth: 1
10+
11+
libbpf_naming_convention
12+
libbpf_build
13+
614
This is documentation for libbpf, a userspace library for loading and
715
interacting with bpf programs.
816

Documentation/bpf/libbpf/libbpf_api.rst

Lines changed: 0 additions & 27 deletions
This file was deleted.

Documentation/bpf/libbpf/libbpf_naming_convention.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ functions. These can be mixed and matched. Note that these functions
6969
are not reentrant for performance reasons.
7070

7171
ABI
72-
==========
72+
---
7373

7474
libbpf can be both linked statically or used as DSO. To avoid possible
7575
conflicts with other libraries an application is linked with, all

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

Lines changed: 0 additions & 43 deletions
This file was deleted.
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/brcm,unimac-mdio.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Broadcom UniMAC MDIO bus controller
8+
9+
maintainers:
10+
- Rafał Miłecki <[email protected]>
11+
12+
allOf:
13+
- $ref: mdio.yaml#
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- brcm,genet-mdio-v1
19+
- brcm,genet-mdio-v2
20+
- brcm,genet-mdio-v3
21+
- brcm,genet-mdio-v4
22+
- brcm,genet-mdio-v5
23+
- brcm,unimac-mdio
24+
25+
reg:
26+
minItems: 1
27+
items:
28+
- description: base register
29+
- description: indirect accesses to larger than 16-bits MDIO transactions
30+
31+
reg-names:
32+
minItems: 1
33+
items:
34+
- const: mdio
35+
- const: mdio_indir_rw
36+
37+
interrupts:
38+
oneOf:
39+
- description: >
40+
Interrupt shared with the Ethernet MAC or Ethernet switch this MDIO
41+
block is integrated from
42+
- items:
43+
- description: |
44+
"mdio done" interrupt
45+
- description: |
46+
"mdio error" interrupt
47+
48+
interrupt-names:
49+
oneOf:
50+
- const: mdio_done_error
51+
- items:
52+
- const: mdio_done
53+
- const: mdio_error
54+
55+
clocks:
56+
description: A reference to the clock supplying the MDIO bus controller
57+
58+
clock-frequency:
59+
description: >
60+
The MDIO bus clock that must be output by the MDIO bus hardware, if
61+
absent, the default hardware values are used
62+
63+
unevaluatedProperties: false
64+
65+
required:
66+
- reg
67+
- reg-names
68+
- '#address-cells'
69+
- '#size-cells'
70+
71+
examples:
72+
- |
73+
mdio@403c0 {
74+
compatible = "brcm,unimac-mdio";
75+
reg = <0x403c0 0x8>, <0x40300 0x18>;
76+
reg-names = "mdio", "mdio_indir_rw";
77+
#address-cells = <1>;
78+
#size-cells = <0>;
79+
80+
ethernet-phy@0 {
81+
compatible = "ethernet-phy-ieee802.3-c22";
82+
reg = <0>;
83+
};
84+
};
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/can/bosch,c_can.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Bosch C_CAN/D_CAN controller Device Tree Bindings
8+
9+
description: Bosch C_CAN/D_CAN controller for CAN bus
10+
11+
maintainers:
12+
- Dario Binacchi <[email protected]>
13+
14+
allOf:
15+
- $ref: can-controller.yaml#
16+
17+
properties:
18+
compatible:
19+
oneOf:
20+
- enum:
21+
- bosch,c_can
22+
- bosch,d_can
23+
- ti,dra7-d_can
24+
- ti,am3352-d_can
25+
- items:
26+
- enum:
27+
- ti,am4372-d_can
28+
- const: ti,am3352-d_can
29+
30+
reg:
31+
maxItems: 1
32+
33+
interrupts:
34+
minItems: 1
35+
maxItems: 4
36+
37+
power-domains:
38+
description: |
39+
Should contain a phandle to a PM domain provider node and an args
40+
specifier containing the DCAN device id value. It's mandatory for
41+
Keystone 2 66AK2G SoCs only.
42+
maxItems: 1
43+
44+
clocks:
45+
description: |
46+
CAN functional clock phandle.
47+
maxItems: 1
48+
49+
clock-names:
50+
maxItems: 1
51+
52+
syscon-raminit:
53+
description: |
54+
Handle to system control region that contains the RAMINIT register,
55+
register offset to the RAMINIT register and the CAN instance number (0
56+
offset).
57+
$ref: /schemas/types.yaml#/definitions/phandle-array
58+
items:
59+
items:
60+
- description: The phandle to the system control region.
61+
- description: The register offset.
62+
- description: The CAN instance number.
63+
64+
resets:
65+
maxItems: 1
66+
67+
required:
68+
- compatible
69+
- reg
70+
- interrupts
71+
- clocks
72+
73+
if:
74+
properties:
75+
compatible:
76+
contains:
77+
enum:
78+
- bosch,d_can
79+
80+
then:
81+
properties:
82+
interrupts:
83+
minItems: 4
84+
maxItems: 4
85+
items:
86+
- description: Error and status IRQ
87+
- description: Message object IRQ
88+
- description: RAM ECC correctable error IRQ
89+
- description: RAM ECC non-correctable error IRQ
90+
91+
else:
92+
properties:
93+
interrupts:
94+
maxItems: 1
95+
items:
96+
- description: Error and status IRQ
97+
98+
additionalProperties: false
99+
100+
examples:
101+
- |
102+
#include <dt-bindings/reset/altr,rst-mgr.h>
103+
104+
can@ffc00000 {
105+
compatible = "bosch,d_can";
106+
reg = <0xffc00000 0x1000>;
107+
interrupts = <0 131 4>, <0 132 4>, <0 133 4>, <0 134 4>;
108+
clocks = <&can0_clk>;
109+
resets = <&rst CAN0_RESET>;
110+
};
111+
- |
112+
can@0 {
113+
compatible = "ti,am3352-d_can";
114+
reg = <0x0 0x2000>;
115+
clocks = <&dcan1_fck>;
116+
clock-names = "fck";
117+
syscon-raminit = <&scm_conf 0x644 1>;
118+
interrupts = <55>;
119+
};

Documentation/devicetree/bindings/net/can/bosch,m_can.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,18 @@ properties:
104104
maximum: 32
105105
maxItems: 1
106106

107+
power-domains:
108+
description:
109+
Power domain provider node and an args specifier containing
110+
the can device id value.
111+
maxItems: 1
112+
107113
can-transceiver:
108114
$ref: can-transceiver.yaml#
109115

116+
phys:
117+
maxItems: 1
118+
110119
required:
111120
- compatible
112121
- reg

0 commit comments

Comments
 (0)