forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
Pull networking updates from David Miller: 1) Support IPV6 RA Captive Portal Identifier, from Maciej Żenczykowski. 2) Use bio_vec in the networking instead of custom skb_frag_t, from Matthew Wilcox. 3) Make use of xmit_more in r8169 driver, from Heiner Kallweit. 4) Add devmap_hash to xdp, from Toke Høiland-Jørgensen. 5) Support all variants of 5750X bnxt_en chips, from Michael Chan. 6) More RTNL avoidance work in the core and mlx5 driver, from Vlad Buslov. 7) Add TCP syn cookies bpf helper, from Petar Penkov. 8) Add 'nettest' to selftests and use it, from David Ahern. 9) Add extack support to drop_monitor, add packet alert mode and support for HW drops, from Ido Schimmel. 10) Add VLAN offload to stmmac, from Jose Abreu. 11) Lots of devm_platform_ioremap_resource() conversions, from YueHaibing. 12) Add IONIC driver, from Shannon Nelson. 13) Several kTLS cleanups, from Jakub Kicinski. * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (1930 commits) mlxsw: spectrum_buffers: Add the ability to query the CPU port's shared buffer mlxsw: spectrum: Register CPU port with devlink mlxsw: spectrum_buffers: Prevent changing CPU port's configuration net: ena: fix incorrect update of intr_delay_resolution net: ena: fix retrieval of nonadaptive interrupt moderation intervals net: ena: fix update of interrupt moderation register net: ena: remove all old adaptive rx interrupt moderation code from ena_com net: ena: remove ena_restore_ethtool_params() and relevant fields net: ena: remove old adaptive interrupt moderation code from ena_netdev net: ena: remove code duplication in ena_com_update_nonadaptive_moderation_interval _*() net: ena: enable the interrupt_moderation in driver_supported_features net: ena: reimplement set/get_coalesce() net: ena: switch to dim algorithm for rx adaptive interrupt moderation net: ena: add intr_moder_rx_interval to struct ena_com_dev and use it net: phy: adin: implement Energy Detect Powerdown mode via phy-tunable ethtool: implement Energy Detect Powerdown support via phy-tunable xen-netfront: do not assume sk_buff_head list is empty in error handling s390/ctcm: Delete unnecessary checks before the macro call “dev_kfree_skb” net: ena: don't wake up tx queue when down drop_monitor: Better sanitize notified packets ...
- Loading branch information
Showing
1,711 changed files
with
120,940 additions
and
35,452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,7 @@ Dengcheng Zhu <[email protected]> <[email protected]> | |
Dengcheng Zhu <[email protected]> <[email protected]> | ||
Dengcheng Zhu <[email protected]> <[email protected]> | ||
Dengcheng Zhu <[email protected]> <[email protected]> | ||
<[email protected]> <[email protected]> | ||
Dmitry Eremin-Solenikov <[email protected]> | ||
Dmitry Safonov <[email protected]> <[email protected]> | ||
Dmitry Safonov <[email protected]> <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -751,7 +751,7 @@ S: Santa Cruz, California | |
S: USA | ||
|
||
N: Luis Correia | ||
E: [email protected] | ||
E: [email protected] | ||
D: Ralink rt2x00 WLAN driver | ||
S: Belas, Portugal | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
What: /sys/kernel/btf | ||
Date: Aug 2019 | ||
KernelVersion: 5.5 | ||
Contact: [email protected] | ||
Description: | ||
Contains BTF type information and related data for kernel and | ||
kernel modules. | ||
|
||
What: /sys/kernel/btf/vmlinux | ||
Date: Aug 2019 | ||
KernelVersion: 5.5 | ||
Contact: [email protected] | ||
Description: | ||
Read-only binary attribute exposing kernel's own BTF type | ||
information with description of all internal kernel types. See | ||
Documentation/bpf/btf.rst for detailed description of format | ||
itself. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/net/adi,adin.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Analog Devices ADIN1200/ADIN1300 PHY | ||
|
||
maintainers: | ||
- Alexandru Ardelean <[email protected]> | ||
|
||
description: | | ||
Bindings for Analog Devices Industrial Ethernet PHYs | ||
allOf: | ||
- $ref: ethernet-phy.yaml# | ||
|
||
properties: | ||
adi,rx-internal-delay-ps: | ||
description: | | ||
RGMII RX Clock Delay used only when PHY operates in RGMII mode with | ||
internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds. | ||
enum: [ 1600, 1800, 2000, 2200, 2400 ] | ||
default: 2000 | ||
|
||
adi,tx-internal-delay-ps: | ||
description: | | ||
RGMII TX Clock Delay used only when PHY operates in RGMII mode with | ||
internal delay (phy-mode is 'rgmii-id' or 'rgmii-txid') in pico-seconds. | ||
enum: [ 1600, 1800, 2000, 2200, 2400 ] | ||
default: 2000 | ||
|
||
adi,fifo-depth-bits: | ||
description: | | ||
When operating in RMII mode, this option configures the FIFO depth. | ||
enum: [ 4, 8, 12, 16, 20, 24 ] | ||
default: 8 | ||
|
||
adi,disable-energy-detect: | ||
description: | | ||
Disables Energy Detect Powerdown Mode (default disabled, i.e energy detect | ||
is enabled if this property is unspecified) | ||
type: boolean | ||
|
||
examples: | ||
- | | ||
ethernet { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
phy-mode = "rgmii-id"; | ||
ethernet-phy@0 { | ||
reg = <0>; | ||
adi,rx-internal-delay-ps = <1800>; | ||
adi,tx-internal-delay-ps = <2200>; | ||
}; | ||
}; | ||
- | | ||
ethernet { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
phy-mode = "rmii"; | ||
ethernet-phy@1 { | ||
reg = <1>; | ||
adi,fifo-depth-bits = <16>; | ||
adi,disable-energy-detect; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,9 @@ properties: | |
compatible: | ||
const: allwinner,sun7i-a20-gmac | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
|
113 changes: 113 additions & 0 deletions
113
Documentation/devicetree/bindings/net/amlogic,meson-dwmac.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
# Copyright 2019 BayLibre, SAS | ||
%YAML 1.2 | ||
--- | ||
$id: "http://devicetree.org/schemas/net/amlogic,meson-dwmac.yaml#" | ||
$schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
|
||
title: Amlogic Meson DWMAC Ethernet controller | ||
|
||
maintainers: | ||
- Neil Armstrong <[email protected]> | ||
- Martin Blumenstingl <[email protected]> | ||
|
||
# We need a select here so we don't match all nodes with 'snps,dwmac' | ||
select: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- amlogic,meson6-dwmac | ||
- amlogic,meson8b-dwmac | ||
- amlogic,meson8m2-dwmac | ||
- amlogic,meson-gxbb-dwmac | ||
- amlogic,meson-axg-dwmac | ||
required: | ||
- compatible | ||
|
||
allOf: | ||
- $ref: "snps,dwmac.yaml#" | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- amlogic,meson8b-dwmac | ||
- amlogic,meson8m2-dwmac | ||
- amlogic,meson-gxbb-dwmac | ||
- amlogic,meson-axg-dwmac | ||
|
||
then: | ||
properties: | ||
clocks: | ||
items: | ||
- description: GMAC main clock | ||
- description: First parent clock of the internal mux | ||
- description: Second parent clock of the internal mux | ||
|
||
clock-names: | ||
minItems: 3 | ||
maxItems: 3 | ||
items: | ||
- const: stmmaceth | ||
- const: clkin0 | ||
- const: clkin1 | ||
|
||
amlogic,tx-delay-ns: | ||
$ref: /schemas/types.yaml#definitions/uint32 | ||
description: | ||
The internal RGMII TX clock delay (provided by this driver) in | ||
nanoseconds. Allowed values are 0ns, 2ns, 4ns, 6ns. | ||
When phy-mode is set to "rgmii" then the TX delay should be | ||
explicitly configured. When not configured a fallback of 2ns is | ||
used. When the phy-mode is set to either "rgmii-id" or "rgmii-txid" | ||
the TX clock delay is already provided by the PHY. In that case | ||
this property should be set to 0ns (which disables the TX clock | ||
delay in the MAC to prevent the clock from going off because both | ||
PHY and MAC are adding a delay). | ||
Any configuration is ignored when the phy-mode is set to "rmii". | ||
|
||
properties: | ||
compatible: | ||
additionalItems: true | ||
maxItems: 3 | ||
items: | ||
- enum: | ||
- amlogic,meson6-dwmac | ||
- amlogic,meson8b-dwmac | ||
- amlogic,meson8m2-dwmac | ||
- amlogic,meson-gxbb-dwmac | ||
- amlogic,meson-axg-dwmac | ||
contains: | ||
enum: | ||
- snps,dwmac-3.70a | ||
- snps,dwmac | ||
|
||
reg: | ||
items: | ||
- description: | ||
The first register range should be the one of the DWMAC controller | ||
- description: | ||
The second range is is for the Amlogic specific configuration | ||
(for example the PRG_ETHERNET register range on Meson8b and newer) | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- interrupt-names | ||
- clocks | ||
- clock-names | ||
- phy-mode | ||
|
||
examples: | ||
- | | ||
ethmac: ethernet@c9410000 { | ||
compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac"; | ||
reg = <0xc9410000 0x10000>, <0xc8834540 0x8>; | ||
interrupts = <8>; | ||
interrupt-names = "macirq"; | ||
clocks = <&clk_eth>, <&clkc_fclk_div2>, <&clk_mpll2>; | ||
clock-names = "stmmaceth", "clkin0", "clkin1"; | ||
phy-mode = "rgmii"; | ||
}; |
45 changes: 45 additions & 0 deletions
45
Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/net/aspeed,ast2600-mdio.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: ASPEED AST2600 MDIO Controller | ||
|
||
maintainers: | ||
- Andrew Jeffery <[email protected]> | ||
|
||
description: |+ | ||
The ASPEED AST2600 MDIO controller is the third iteration of ASPEED's MDIO | ||
bus register interface, this time also separating out the controller from the | ||
MAC. | ||
allOf: | ||
- $ref: "mdio.yaml#" | ||
|
||
properties: | ||
compatible: | ||
const: aspeed,ast2600-mdio | ||
reg: | ||
maxItems: 1 | ||
description: The register range of the MDIO controller instance | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- "#address-cells" | ||
- "#size-cells" | ||
|
||
examples: | ||
- | | ||
mdio0: mdio@1e650000 { | ||
compatible = "aspeed,ast2600-mdio"; | ||
reg = <0x1e650000 0x8>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
ethphy0: ethernet-phy@0 { | ||
compatible = "ethernet-phy-ieee802.3-c22"; | ||
reg = <0>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Texas Instruments TCAN4x5x CAN Controller | ||
================================================ | ||
|
||
This file provides device node information for the TCAN4x5x interface contains. | ||
|
||
Required properties: | ||
- compatible: "ti,tcan4x5x" | ||
- reg: 0 | ||
- #address-cells: 1 | ||
- #size-cells: 0 | ||
- spi-max-frequency: Maximum frequency of the SPI bus the chip can | ||
operate at should be less than or equal to 18 MHz. | ||
- device-wake-gpios: Wake up GPIO to wake up the TCAN device. | ||
- interrupt-parent: the phandle to the interrupt controller which provides | ||
the interrupt. | ||
- interrupts: interrupt specification for data-ready. | ||
|
||
See Documentation/devicetree/bindings/net/can/m_can.txt for additional | ||
required property details. | ||
|
||
Optional properties: | ||
- reset-gpios: Hardwired output GPIO. If not defined then software | ||
reset. | ||
- device-state-gpios: Input GPIO that indicates if the device is in | ||
a sleep state or if the device is active. | ||
|
||
Example: | ||
tcan4x5x: tcan4x5x@0 { | ||
compatible = "ti,tcan4x5x"; | ||
reg = <0>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
spi-max-frequency = <10000000>; | ||
bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>; | ||
interrupt-parent = <&gpio1>; | ||
interrupts = <14 GPIO_ACTIVE_LOW>; | ||
device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; | ||
device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; | ||
reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; | ||
}; |
Oops, something went wrong.