Skip to content

Commit 5b6d6fe

Browse files
author
Martin KaFai Lau
committed
Merge branch 'bpf-next/net' into for-next
No conflict. Signed-off-by: Martin KaFai Lau <[email protected]>
2 parents 14b987b + 7e13710 commit 5b6d6fe

File tree

199 files changed

+3798
-1600
lines changed

Some content is hidden

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

199 files changed

+3798
-1600
lines changed

Documentation/Makefile

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -104,22 +104,6 @@ quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
104104
cp $(if $(patsubst /%,,$(DOCS_CSS)),$(abspath $(srctree)/$(DOCS_CSS)),$(DOCS_CSS)) $(BUILDDIR)/$3/_static/; \
105105
fi
106106

107-
YNL_INDEX:=$(srctree)/Documentation/networking/netlink_spec/index.rst
108-
YNL_RST_DIR:=$(srctree)/Documentation/networking/netlink_spec
109-
YNL_YAML_DIR:=$(srctree)/Documentation/netlink/specs
110-
YNL_TOOL:=$(srctree)/tools/net/ynl/pyynl/ynl_gen_rst.py
111-
112-
YNL_RST_FILES_TMP := $(patsubst %.yaml,%.rst,$(wildcard $(YNL_YAML_DIR)/*.yaml))
113-
YNL_RST_FILES := $(patsubst $(YNL_YAML_DIR)%,$(YNL_RST_DIR)%, $(YNL_RST_FILES_TMP))
114-
115-
$(YNL_INDEX): $(YNL_RST_FILES)
116-
$(Q)$(YNL_TOOL) -o $@ -x
117-
118-
$(YNL_RST_DIR)/%.rst: $(YNL_YAML_DIR)/%.yaml $(YNL_TOOL)
119-
$(Q)$(YNL_TOOL) -i $< -o $@
120-
121-
htmldocs texinfodocs latexdocs epubdocs xmldocs: $(YNL_INDEX)
122-
123107
htmldocs:
124108
@$(srctree)/scripts/sphinx-pre-install --version-check
125109
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var)))
@@ -186,7 +170,6 @@ refcheckdocs:
186170
$(Q)cd $(srctree);scripts/documentation-file-ref-check
187171

188172
cleandocs:
189-
$(Q)rm -f $(YNL_INDEX) $(YNL_RST_FILES)
190173
$(Q)rm -rf $(BUILDDIR)
191174
$(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media clean
192175

Documentation/conf.py

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@
4242
dyn_include_patterns = []
4343
dyn_exclude_patterns = ["output"]
4444

45+
# Currently, only netlink/specs has a parser for yaml.
46+
# Prefer using include patterns if available, as it is faster
47+
if has_include_patterns:
48+
dyn_include_patterns.append("netlink/specs/*.yaml")
49+
else:
50+
dyn_exclude_patterns.append("netlink/*.yaml")
51+
dyn_exclude_patterns.append("devicetree/bindings/**.yaml")
52+
dyn_exclude_patterns.append("core-api/kho/bindings/**.yaml")
53+
4554
# Properly handle include/exclude patterns
4655
# ----------------------------------------
4756

@@ -102,12 +111,12 @@ def have_command(cmd):
102111
"kernel_include",
103112
"kfigure",
104113
"maintainers_include",
114+
"parser_yaml",
105115
"rstFlatTable",
106116
"sphinx.ext.autosectionlabel",
107117
"sphinx.ext.ifconfig",
108118
"translations",
109119
]
110-
111120
# Since Sphinx version 3, the C function parser is more pedantic with regards
112121
# to type checking. Due to that, having macros at c:function cause problems.
113122
# Those needed to be escaped by using c_id_attributes[] array
@@ -204,10 +213,11 @@ def have_command(cmd):
204213
# Add any paths that contain templates here, relative to this directory.
205214
templates_path = ["sphinx/templates"]
206215

207-
# The suffix(es) of source filenames.
208-
# You can specify multiple suffix as a list of string:
209-
# source_suffix = ['.rst', '.md']
210-
source_suffix = '.rst'
216+
# The suffixes of source filenames that will be automatically parsed
217+
source_suffix = {
218+
".rst": "restructuredtext",
219+
".yaml": "yaml",
220+
}
211221

212222
# The encoding of source files.
213223
# source_encoding = 'utf-8-sig'

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

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,21 @@ properties:
4141
- description: wlan irq line5
4242

4343
memory-region:
44-
maxItems: 1
45-
description:
46-
Memory used to store NPU firmware binary.
44+
oneOf:
45+
- items:
46+
- description: NPU firmware binary region
47+
- items:
48+
- description: NPU firmware binary region
49+
- description: NPU wlan offload RX buffers region
50+
- description: NPU wlan offload TX buffers region
51+
- description: NPU wlan offload TX packet identifiers region
52+
53+
memory-region-names:
54+
items:
55+
- const: firmware
56+
- const: pkt
57+
- const: tx-pkt
58+
- const: tx-bufid
4759

4860
required:
4961
- compatible
@@ -79,6 +91,8 @@ examples:
7991
<GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
8092
<GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
8193
<GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
82-
memory-region = <&npu_binary>;
94+
memory-region = <&npu_firmware>, <&npu_pkt>, <&npu_txpkt>,
95+
<&npu_txbufid>;
96+
memory-region-names = "firmware", "pkt", "tx-pkt", "tx-bufid";
8397
};
8498
};

Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ properties:
5656
Regulator for supply voltage to VIN pin
5757
5858
ti,rx-gain-reduction-db:
59-
$ref: /schemas/types.yaml#/definitions/uint32
6059
description: |
6160
Specify an RX gain reduction to reduce antenna sensitivity with 5dB per
6261
increment, with a maximum of 15dB. Supported values: [0, 5, 10, 15].

Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ properties:
6262
items:
6363
- description: GMAC main clock
6464
- description: Peripheral registers interface clock
65+
- description: APB glue registers interface clock
6566

6667
clock-names:
6768
items:
6869
- const: stmmaceth
6970
- const: pclk
71+
- const: apb
7072

7173
interrupts:
7274
items:
@@ -88,8 +90,8 @@ examples:
8890
compatible = "thead,th1520-gmac", "snps,dwmac-3.70a";
8991
reg = <0xe7070000 0x2000>, <0xec003000 0x1000>;
9092
reg-names = "dwmac", "apb";
91-
clocks = <&clk 1>, <&clk 2>;
92-
clock-names = "stmmaceth", "pclk";
93+
clocks = <&clk 1>, <&clk 2>, <&clk 3>;
94+
clock-names = "stmmaceth", "pclk", "apb";
9395
interrupts = <66>;
9496
interrupt-names = "macirq";
9597
phy-mode = "rgmii-id";

Documentation/netlink/specs/ethtool.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ definitions:
204204
doc: dst port in case of TCP/UDP/SCTP
205205
-
206206
name: gtp-teid
207+
-
208+
name: ip6-fl
209+
doc: IPv6 Flow Label
207210
-
208211
name: discard
209212
value: 31
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.. SPDX-License-Identifier: GPL-2.0
2+
3+
.. _specs:
4+
5+
=============================
6+
Netlink Family Specifications
7+
=============================
8+
9+
.. toctree::
10+
:maxdepth: 1
11+
:glob:
12+
13+
*

Documentation/networking/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Contents:
5757
filter
5858
generic-hdlc
5959
generic_netlink
60-
netlink_spec/index
60+
../netlink/specs/index
6161
gen_stats
6262
gtp
6363
ila

Documentation/networking/ip-sysctl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ udp_hash_entries - INTEGER
14201420
A negative value means the networking namespace does not own its
14211421
hash buckets and shares the initial networking namespace's one.
14221422

1423-
udp_child_ehash_entries - INTEGER
1423+
udp_child_hash_entries - INTEGER
14241424
Control the number of hash buckets for UDP sockets in the child
14251425
networking namespace, which must be set before clone() or unshare().
14261426

Documentation/networking/netlink_spec/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)