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/davem/net-next
Pull networking updates from David Miller: 1) Support ipv6 checksum offload in sunvnet driver, from Shannon Nelson. 2) Move to RB-tree instead of custom AVL code in inetpeer, from Eric Dumazet. 3) Allow generic XDP to work on virtual devices, from John Fastabend. 4) Add bpf device maps and XDP_REDIRECT, which can be used to build arbitrary switching frameworks using XDP. From John Fastabend. 5) Remove UFO offloads from the tree, gave us little other than bugs. 6) Remove the IPSEC flow cache, from Florian Westphal. 7) Support ipv6 route offload in mlxsw driver. 8) Support VF representors in bnxt_en, from Sathya Perla. 9) Add support for forward error correction modes to ethtool, from Vidya Sagar Ravipati. 10) Add time filter for packet scheduler action dumping, from Jamal Hadi Salim. 11) Extend the zerocopy sendmsg() used by virtio and tap to regular sockets via MSG_ZEROCOPY. From Willem de Bruijn. 12) Significantly rework value tracking in the BPF verifier, from Edward Cree. 13) Add new jump instructions to eBPF, from Daniel Borkmann. 14) Rework rtnetlink plumbing so that operations can be run without taking the RTNL semaphore. From Florian Westphal. 15) Support XDP in tap driver, from Jason Wang. 16) Add 32-bit eBPF JIT for ARM, from Shubham Bansal. 17) Add Huawei hinic ethernet driver. 18) Allow to report MD5 keys in TCP inet_diag dumps, from Ivan Delalande. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1780 commits) i40e: point wb_desc at the nvm_wb_desc during i40e_read_nvm_aq i40e: avoid NVM acquire deadlock during NVM update drivers: net: xgene: Remove return statement from void function drivers: net: xgene: Configure tx/rx delay for ACPI drivers: net: xgene: Read tx/rx delay for ACPI rocker: fix kcalloc parameter order rds: Fix non-atomic operation on shared flag variable net: sched: don't use GFP_KERNEL under spin lock vhost_net: correctly check tx avail during rx busy polling net: mdio-mux: add mdio_mux parameter to mdio_mux_init() rxrpc: Make service connection lookup always check for retry net: stmmac: Delete dead code for MDIO registration gianfar: Fix Tx flow control deactivation cxgb4: Ignore MPS_TX_INT_CAUSE[Bubble] for T6 cxgb4: Fix pause frame count in t4_get_port_stats cxgb4: fix memory leak tun: rename generic_xdp to skb_xdp tun: reserve extra headroom only when XDP is set net: dsa: bcm_sf2: Configure IMP port TC2QOS mapping net: dsa: bcm_sf2: Advertise number of egress queues ...
- Loading branch information
Showing
1,592 changed files
with
100,338 additions
and
31,566 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
* Adaptrum Anarion ethernet controller | ||
|
||
This device is a platform glue layer for stmmac. | ||
Please see stmmac.txt for the other unchanged properties. | ||
|
||
Required properties: | ||
- compatible: Should be "adaptrum,anarion-gmac", "snps,dwmac" | ||
- phy-mode: Should be "rgmii". Other modes are not currently supported. | ||
|
||
|
||
Examples: | ||
|
||
gmac1: ethernet@f2014000 { | ||
compatible = "adaptrum,anarion-gmac", "snps,dwmac"; | ||
reg = <0xf2014000 0x4000>, <0xf2018100 8>; | ||
|
||
interrupt-parent = <&core_intc>; | ||
interrupts = <21>; | ||
interrupt-names = "macirq"; | ||
|
||
clocks = <&core_clk>; | ||
clock-names = "stmmaceth"; | ||
|
||
phy-mode = "rgmii"; | ||
}; |
35 changes: 35 additions & 0 deletions
35
Documentation/devicetree/bindings/net/broadcom-bluetooth.txt
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,35 @@ | ||
Broadcom Bluetooth Chips | ||
--------------------- | ||
|
||
This documents the binding structure and common properties for serial | ||
attached Broadcom devices. | ||
|
||
Serial attached Broadcom devices shall be a child node of the host UART | ||
device the slave device is attached to. | ||
|
||
Required properties: | ||
|
||
- compatible: should contain one of the following: | ||
* "brcm,bcm43438-bt" | ||
|
||
Optional properties: | ||
|
||
- max-speed: see Documentation/devicetree/bindings/serial/slave-device.txt | ||
- shutdown-gpios: GPIO specifier, used to enable the BT module | ||
- device-wakeup-gpios: GPIO specifier, used to wakeup the controller | ||
- host-wakeup-gpios: GPIO specifier, used to wakeup the host processor | ||
- clocks: clock specifier if external clock provided to the controller | ||
- clock-names: should be "extclk" | ||
|
||
|
||
Example: | ||
|
||
&uart2 { | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&uart2_pins>; | ||
|
||
bluetooth { | ||
compatible = "brcm,bcm43438-bt"; | ||
max-speed = <921600>; | ||
}; | ||
}; |
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
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,55 @@ | ||
XILINX AXI ETHERNET Device Tree Bindings | ||
-------------------------------------------------------- | ||
|
||
Also called AXI 1G/2.5G Ethernet Subsystem, the xilinx axi ethernet IP core | ||
provides connectivity to an external ethernet PHY supporting different | ||
interfaces: MII, GMII, RGMII, SGMII, 1000BaseX. It also includes two | ||
segments of memory for buffering TX and RX, as well as the capability of | ||
offloading TX/RX checksum calculation off the processor. | ||
|
||
Management configuration is done through the AXI interface, while payload is | ||
sent and received through means of an AXI DMA controller. This driver | ||
includes the DMA driver code, so this driver is incompatible with AXI DMA | ||
driver. | ||
|
||
For more details about mdio please refer phy.txt file in the same directory. | ||
|
||
Required properties: | ||
- compatible : Must be one of "xlnx,axi-ethernet-1.00.a", | ||
"xlnx,axi-ethernet-1.01.a", "xlnx,axi-ethernet-2.01.a" | ||
- reg : Address and length of the IO space. | ||
- interrupts : Should be a list of two interrupt, TX and RX. | ||
- phy-handle : Should point to the external phy device. | ||
See ethernet.txt file in the same directory. | ||
- xlnx,rxmem : Set to allocated memory buffer for Rx/Tx in the hardware | ||
|
||
Optional properties: | ||
- phy-mode : See ethernet.txt | ||
- xlnx,phy-type : Deprecated, do not use, but still accepted in preference | ||
to phy-mode. | ||
- xlnx,txcsum : 0 or empty for disabling TX checksum offload, | ||
1 to enable partial TX checksum offload, | ||
2 to enable full TX checksum offload | ||
- xlnx,rxcsum : Same values as xlnx,txcsum but for RX checksum offload | ||
|
||
Example: | ||
axi_ethernet_eth: ethernet@40c00000 { | ||
compatible = "xlnx,axi-ethernet-1.00.a"; | ||
device_type = "network"; | ||
interrupt-parent = <µblaze_0_axi_intc>; | ||
interrupts = <2 0>; | ||
phy-mode = "mii"; | ||
reg = <0x40c00000 0x40000>; | ||
xlnx,rxcsum = <0x2>; | ||
xlnx,rxmem = <0x800>; | ||
xlnx,txcsum = <0x2>; | ||
phy-handle = <&phy0>; | ||
axi_ethernetlite_0_mdio: mdio { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
phy0: phy@0 { | ||
device_type = "ethernet-phy"; | ||
reg = <1>; | ||
}; | ||
}; | ||
}; |
43 changes: 43 additions & 0 deletions
43
Documentation/devicetree/bindings/phy/phy-mvebu-comphy.txt
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,43 @@ | ||
mvebu comphy driver | ||
------------------- | ||
|
||
A comphy controller can be found on Marvell Armada 7k/8k on the CP110. It | ||
provides a number of shared PHYs used by various interfaces (network, sata, | ||
usb, PCIe...). | ||
|
||
Required properties: | ||
|
||
- compatible: should be "marvell,comphy-cp110" | ||
- reg: should contain the comphy register location and length. | ||
- marvell,system-controller: should contain a phandle to the | ||
system controller node. | ||
- #address-cells: should be 1. | ||
- #size-cells: should be 0. | ||
|
||
A sub-node is required for each comphy lane provided by the comphy. | ||
|
||
Required properties (child nodes): | ||
|
||
- reg: comphy lane number. | ||
- #phy-cells : from the generic phy bindings, must be 1. Defines the | ||
input port to use for a given comphy lane. | ||
|
||
Example: | ||
|
||
cpm_comphy: phy@120000 { | ||
compatible = "marvell,comphy-cp110"; | ||
reg = <0x120000 0x6000>; | ||
marvell,system-controller = <&cpm_syscon0>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpm_comphy0: phy@0 { | ||
reg = <0>; | ||
#phy-cells = <1>; | ||
}; | ||
|
||
cpm_comphy1: phy@1 { | ||
reg = <1>; | ||
#phy-cells = <1>; | ||
}; | ||
}; |
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
Oops, something went wrong.