Skip to content

Commit 1b98f35

Browse files
committed
Merge tag 'net-next-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
Pull networking updates from Paolo Abeni: "Core: - Implement the Device Memory TCP transmit path, allowing zero-copy data transmission on top of TCP from e.g. GPU memory to the wire. - Move all the IPv6 routing tables management outside the RTNL scope, under its own lock and RCU. The route control path is now 3x times faster. - Convert queue related netlink ops to instance lock, reducing again the scope of the RTNL lock. This improves the control plane scalability. - Refactor the software crc32c implementation, removing unneeded abstraction layers and improving significantly the related micro-benchmarks. - Optimize the GRO engine for UDP-tunneled traffic, for a 10% performance improvement in related stream tests. - Cover more per-CPU storage with local nested BH locking; this is a prep work to remove the current per-CPU lock in local_bh_disable() on PREMPT_RT. - Introduce and use nlmsg_payload helper, combining buffer bounds verification with accessing payload carried by netlink messages. Netfilter: - Rewrite the procfs conntrack table implementation, improving considerably the dump performance. A lot of user-space tools still use this interface. - Implement support for wildcard netdevice in netdev basechain and flowtables. - Integrate conntrack information into nft trace infrastructure. - Export set count and backend name to userspace, for better introspection. BPF: - BPF qdisc support: BPF-qdisc can be implemented with BPF struct_ops programs and can be controlled in similar way to traditional qdiscs using the "tc qdisc" command. - Refactor the UDP socket iterator, addressing long standing issues WRT duplicate hits or missed sockets. Protocols: - Improve TCP receive buffer auto-tuning and increase the default upper bound for the receive buffer; overall this improves the single flow maximum thoughput on 200Gbs link by over 60%. - Add AFS GSSAPI security class to AF_RXRPC; it provides transport security for connections to the AFS fileserver and VL server. - Improve TCP multipath routing, so that the sources address always matches the nexthop device. - Introduce SO_PASSRIGHTS for AF_UNIX, to allow disabling SCM_RIGHTS, and thus preventing DoS caused by passing around problematic FDs. - Retire DCCP socket. DCCP only receives updates for bugs, and major distros disable it by default. Its removal allows for better organisation of TCP fields to reduce the number of cache lines hit in the fast path. - Extend TCP drop-reason support to cover PAWS checks. Driver API: - Reorganize PTP ioctl flag support to require an explicit opt-in for the drivers, avoiding the problem of drivers not rejecting new unsupported flags. - Converted several device drivers to timestamping APIs. - Introduce per-PHY ethtool dump helpers, improving the support for dump operations targeting PHYs. Tests and tooling: - Add support for classic netlink in user space C codegen, so that ynl-c can now read, create and modify links, routes addresses and qdisc layer configuration. - Add ynl sub-types for binary attributes, allowing ynl-c to output known struct instead of raw binary data, clarifying the classic netlink output. - Extend MPTCP selftests to improve the code-coverage. - Add tests for XDP tail adjustment in AF_XDP. New hardware / drivers: - OpenVPN virtual driver: offload OpenVPN data channels processing to the kernel-space, increasing the data transfer throughput WRT the user-space implementation. - Renesas glue driver for the gigabit ethernet RZ/V2H(P) SoC. - Broadcom asp-v3.0 ethernet driver. - AMD Renoir ethernet device. - ReakTek MT9888 2.5G ethernet PHY driver. - Aeonsemi 10G C45 PHYs driver. Drivers: - Ethernet high-speed NICs: - nVidia/Mellanox (mlx5): - refactor the steering table handling to significantly reduce the amount of memory used - add support for complex matches in H/W flow steering - improve flow streeing error handling - convert to netdev instance locking - Intel (100G, ice, igb, ixgbe, idpf): - ice: add switchdev support for LLDP traffic over VF - ixgbe: add firmware manipulation and regions devlink support - igb: introduce support for frame transmission premption - igb: adds persistent NAPI configuration - idpf: introduce RDMA support - idpf: add initial PTP support - Meta (fbnic): - extend hardware stats coverage - add devlink dev flash support - Broadcom (bnxt): - add support for RX-side device memory TCP - Wangxun (txgbe): - implement support for udp tunnel offload - complete PTP and SRIOV support for AML 25G/10G devices - Ethernet NICs embedded and virtual: - Google (gve): - add device memory TCP TX support - Amazon (ena): - support persistent per-NAPI config - Airoha: - add H/W support for L2 traffic offload - add per flow stats for flow offloading - RealTek (rtl8211): add support for WoL magic packet - Synopsys (stmmac): - dwmac-socfpga 1000BaseX support - add Loongson-2K3000 support - introduce support for hardware-accelerated VLAN stripping - Broadcom (bcmgenet): - expose more H/W stats - Freescale (enetc, dpaa2-eth): - enetc: add MAC filter, VLAN filter RSS and loopback support - dpaa2-eth: convert to H/W timestamping APIs - vxlan: convert FDB table to rhashtable, for better scalabilty - veth: apply qdisc backpressure on full ring to reduce TX drops - Ethernet switches: - Microchip (kzZ88x3): add ETS scheduler support - Ethernet PHYs: - RealTek (rtl8211): - add support for WoL magic packet - add support for PHY LEDs - CAN: - Adds RZ/G3E CANFD support to the rcar_canfd driver. - Preparatory work for CAN-XL support. - Add self-tests framework with support for CAN physical interfaces. - WiFi: - mac80211: - scan improvements with multi-link operation (MLO) - Qualcomm (ath12k): - enable AHB support for IPQ5332 - add monitor interface support to QCN9274 - add multi-link operation support to WCN7850 - add 802.11d scan offload support to WCN7850 - monitor mode for WCN7850, better 6 GHz regulatory - Qualcomm (ath11k): - restore hibernation support - MediaTek (mt76): - WiFi-7 improvements - implement support for mt7990 - Intel (iwlwifi): - enhanced multi-link single-radio (EMLSR) support on 5 GHz links - rework device configuration - RealTek (rtw88): - improve throughput for RTL8814AU - RealTek (rtw89): - add multi-link operation support - STA/P2P concurrency improvements - support different SAR configs by antenna - Bluetooth: - introduce HCI Driver protocol - btintel_pcie: do not generate coredump for diagnostic events - btusb: add HCI Drv commands for configuring altsetting - btusb: add RTL8851BE device 0x0bda:0xb850 - btusb: add new VID/PID 13d3/3584 for MT7922 - btusb: add new VID/PID 13d3/3630 and 13d3/3613 for MT7925 - btnxpuart: implement host-wakeup feature" * tag 'net-next-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (1611 commits) selftests/bpf: Fix bpf selftest build warning selftests: netfilter: Fix skip of wildcard interface test net: phy: mscc: Stop clearing the the UDPv4 checksum for L2 frames net: openvswitch: Fix the dead loop of MPLS parse calipso: Don't call calipso functions for AF_INET sk. selftests/tc-testing: Add a test for HFSC eltree double add with reentrant enqueue behaviour on netem net_sched: hfsc: Address reentrant enqueue adding class to eltree twice octeontx2-pf: QOS: Refactor TC_HTB_LEAF_DEL_LAST callback octeontx2-pf: QOS: Perform cache sync on send queue teardown net: mana: Add support for Multi Vports on Bare metal net: devmem: ncdevmem: remove unused variable net: devmem: ksft: upgrade rx test to send 1K data net: devmem: ksft: add 5 tuple FS support net: devmem: ksft: add exit_wait to make rx test pass net: devmem: ksft: add ipv4 support net: devmem: preserve sockc_err page_pool: fix ugly page_pool formatting net: devmem: move list_add to net_devmem_bind_dmabuf. selftests: netfilter: nft_queue.sh: include file transfer duration in log message net: phy: mscc: Fix memory leak when using one step timestamping ...
2 parents 47cf96f + f6bd8fa commit 1b98f35

File tree

1,735 files changed

+83145
-38939
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,735 files changed

+83145
-38939
lines changed

Documentation/admin-guide/bug-hunting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ will see the assembler code for the routine shown, but if your kernel has
196196
debug symbols the C code will also be available. (Debug symbols can be enabled
197197
in the kernel hacking menu of the menu configuration.) For example::
198198

199-
$ objdump -r -S -l --disassemble net/dccp/ipv4.o
199+
$ objdump -r -S -l --disassemble net/ipv4/tcp.o
200200

201201
.. note::
202202

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/aeonsemi,as21xxx.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Aeonsemi AS21XXX Ethernet PHY
8+
9+
maintainers:
10+
- Christian Marangi <[email protected]>
11+
12+
description: |
13+
Aeonsemi AS21xxx Ethernet PHYs requires a firmware to be loaded to actually
14+
work. The same firmware is compatible with various PHYs of the same family.
15+
16+
A PHY with not firmware loaded will be exposed on the MDIO bus with ID
17+
0x7500 0x7500 or 0x7500 0x9410 on C45 registers.
18+
19+
This can be done and is implemented by OEM in 2 different way:
20+
- Attached SPI flash directly to the PHY with the firmware. The PHY
21+
will self load the firmware in the presence of this configuration.
22+
- Manually provided firmware loaded from a file in the filesystem.
23+
24+
Each PHY can support up to 5 LEDs.
25+
26+
AS2xxx PHY Name logic:
27+
28+
AS21x1xxB1
29+
^ ^^
30+
| |J: Supports SyncE/PTP
31+
| |P: No SyncE/PTP support
32+
| 1: Supports 2nd Serdes
33+
| 2: Not 2nd Serdes support
34+
0: 10G, 5G, 2.5G
35+
5: 5G, 2.5G
36+
2: 2.5G
37+
38+
allOf:
39+
- $ref: ethernet-phy.yaml#
40+
41+
select:
42+
properties:
43+
compatible:
44+
contains:
45+
enum:
46+
- ethernet-phy-id7500.9410
47+
- ethernet-phy-id7500.9402
48+
- ethernet-phy-id7500.9412
49+
- ethernet-phy-id7500.9422
50+
- ethernet-phy-id7500.9432
51+
- ethernet-phy-id7500.9442
52+
- ethernet-phy-id7500.9452
53+
- ethernet-phy-id7500.9462
54+
- ethernet-phy-id7500.9472
55+
- ethernet-phy-id7500.9482
56+
- ethernet-phy-id7500.9492
57+
required:
58+
- compatible
59+
60+
properties:
61+
reg:
62+
maxItems: 1
63+
64+
firmware-name:
65+
description: specify the name of PHY firmware to load
66+
maxItems: 1
67+
68+
required:
69+
- compatible
70+
- reg
71+
72+
if:
73+
properties:
74+
compatible:
75+
contains:
76+
const: ethernet-phy-id7500.9410
77+
then:
78+
required:
79+
- firmware-name
80+
else:
81+
properties:
82+
firmware-name: false
83+
84+
unevaluatedProperties: false
85+
86+
examples:
87+
- |
88+
#include <dt-bindings/leds/common.h>
89+
90+
mdio {
91+
#address-cells = <1>;
92+
#size-cells = <0>;
93+
94+
ethernet-phy@1f {
95+
compatible = "ethernet-phy-id7500.9410",
96+
"ethernet-phy-ieee802.3-c45";
97+
98+
reg = <31>;
99+
firmware-name = "as21x1x_fw.bin";
100+
101+
leds {
102+
#address-cells = <1>;
103+
#size-cells = <0>;
104+
105+
led@0 {
106+
reg = <0>;
107+
color = <LED_COLOR_ID_GREEN>;
108+
function = LED_FUNCTION_LAN;
109+
function-enumerator = <0>;
110+
default-state = "keep";
111+
};
112+
113+
led@1 {
114+
reg = <1>;
115+
color = <LED_COLOR_ID_GREEN>;
116+
function = LED_FUNCTION_LAN;
117+
function-enumerator = <1>;
118+
default-state = "keep";
119+
};
120+
};
121+
};
122+
};

Documentation/devicetree/bindings/net/airoha,en7581-eth.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ properties:
5757
- const: hsi-mac
5858
- const: xfp-mac
5959

60+
memory-region:
61+
items:
62+
- description: QDMA0 buffer memory
63+
- description: QDMA1 buffer memory
64+
65+
memory-region-names:
66+
items:
67+
- const: qdma0-buf
68+
- const: qdma1-buf
69+
6070
"#address-cells":
6171
const: 1
6272

@@ -140,6 +150,9 @@ examples:
140150
<GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
141151
<GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
142152
153+
memory-region = <&qdma0_buf>, <&qdma1_buf>;
154+
memory-region-names = "qdma0-buf", "qdma1-buf";
155+
143156
airoha,npu = <&npu>;
144157
145158
#address-cells = <1>;

Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
- allwinner,sun20i-d1-emac
2424
- allwinner,sun50i-h6-emac
2525
- allwinner,sun50i-h616-emac0
26+
- allwinner,sun55i-a523-emac0
2627
- const: allwinner,sun50i-a64-emac
2728

2829
reg:

Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@ properties:
4848
description:
4949
The GPIO number of the NXP chipset used for BT_WAKE_IN.
5050

51+
interrupts:
52+
maxItems: 1
53+
description:
54+
Host wakeup by falling edge interrupt on this pin which is
55+
connected to BT_WAKE_OUT pin of the NXP chipset.
56+
57+
interrupt-names:
58+
items:
59+
- const: wakeup
60+
61+
wakeup-source: true
62+
5163
nxp,wakeout-pin:
5264
$ref: /schemas/types.yaml#/definitions/uint8
5365
description:
@@ -61,6 +73,7 @@ unevaluatedProperties: false
6173
examples:
6274
- |
6375
#include <dt-bindings/gpio/gpio.h>
76+
#include <dt-bindings/interrupt-controller/irq.h>
6477
serial {
6578
bluetooth {
6679
compatible = "nxp,88w8987-bt";
@@ -70,5 +83,9 @@ examples:
7083
nxp,wakein-pin = /bits/ 8 <18>;
7184
nxp,wakeout-pin = /bits/ 8 <19>;
7285
local-bd-address = [66 55 44 33 22 11];
86+
interrupt-parent = <&gpio>;
87+
interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
88+
interrupt-names = "wakeup";
89+
wakeup-source;
7390
};
7491
};

Documentation/devicetree/bindings/net/brcm,asp-v2.0.yaml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$id: http://devicetree.org/schemas/net/brcm,asp-v2.0.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Broadcom ASP 2.0 Ethernet controller
7+
title: Broadcom ASP Ethernet controller
88

99
maintainers:
1010
- Justin Chen <[email protected]>
@@ -15,6 +15,10 @@ description: Broadcom Ethernet controller first introduced with 72165
1515
properties:
1616
compatible:
1717
oneOf:
18+
- items:
19+
- enum:
20+
- brcm,bcm74110-asp
21+
- const: brcm,asp-v3.0
1822
- items:
1923
- enum:
2024
- brcm,bcm74165b0-asp
@@ -23,10 +27,6 @@ properties:
2327
- enum:
2428
- brcm,bcm74165-asp
2529
- const: brcm,asp-v2.1
26-
- items:
27-
- enum:
28-
- brcm,bcm72165-asp
29-
- const: brcm,asp-v2.0
3030

3131
"#address-cells":
3232
const: 1
@@ -39,11 +39,9 @@ properties:
3939
ranges: true
4040

4141
interrupts:
42-
minItems: 1
4342
items:
4443
- description: RX/TX interrupt
45-
- description: Port 0 Wake-on-LAN
46-
- description: Port 1 Wake-on-LAN
44+
- description: Wake-on-LAN interrupt
4745

4846
clocks:
4947
maxItems: 1
@@ -106,16 +104,17 @@ examples:
106104
#include <dt-bindings/interrupt-controller/arm-gic.h>
107105
108106
ethernet@9c00000 {
109-
compatible = "brcm,bcm72165-asp", "brcm,asp-v2.0";
107+
compatible = "brcm,bcm74165-asp", "brcm,asp-v2.1";
110108
reg = <0x9c00000 0x1fff14>;
111-
interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
109+
interrupts-extended = <&intc GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
110+
<&aon_pm_l2_intc 14>;
112111
ranges = <0x0 0x9c00000 0x1fff14>;
113112
clocks = <&scmi 14>;
114113
#address-cells = <1>;
115114
#size-cells = <1>;
116115
117116
mdio@c614 {
118-
compatible = "brcm,asp-v2.0-mdio";
117+
compatible = "brcm,asp-v2.1-mdio";
119118
reg = <0xc614 0x8>;
120119
reg-names = "mdio";
121120
#address-cells = <1>;
@@ -127,7 +126,7 @@ examples:
127126
};
128127
129128
mdio@ce14 {
130-
compatible = "brcm,asp-v2.0-mdio";
129+
compatible = "brcm,asp-v2.1-mdio";
131130
reg = <0xce14 0x8>;
132131
reg-names = "mdio";
133132
#address-cells = <1>;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ properties:
2222
- brcm,genet-mdio-v3
2323
- brcm,genet-mdio-v4
2424
- brcm,genet-mdio-v5
25-
- brcm,asp-v2.0-mdio
2625
- brcm,asp-v2.1-mdio
2726
- brcm,asp-v2.2-mdio
27+
- brcm,asp-v3.0-mdio
2828
- brcm,unimac-mdio
2929
- brcm,bcm6846-mdio
3030

0 commit comments

Comments
 (0)