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: "Highlights: 1) Support more Realtek wireless chips, from Jes Sorenson. 2) New BPF types for per-cpu hash and arrap maps, from Alexei Starovoitov. 3) Make several TCP sysctls per-namespace, from Nikolay Borisov. 4) Allow the use of SO_REUSEPORT in order to do per-thread processing of incoming TCP/UDP connections. The muxing can be done using a BPF program which hashes the incoming packet. From Craig Gallek. 5) Add a multiplexer for TCP streams, to provide a messaged based interface. BPF programs can be used to determine the message boundaries. From Tom Herbert. 6) Add 802.1AE MACSEC support, from Sabrina Dubroca. 7) Avoid factorial complexity when taking down an inetdev interface with lots of configured addresses. We were doing things like traversing the entire address less for each address removed, and flushing the entire netfilter conntrack table for every address as well. 8) Add and use SKB bulk free infrastructure, from Jesper Brouer. 9) Allow offloading u32 classifiers to hardware, and implement for ixgbe, from John Fastabend. 10) Allow configuring IRQ coalescing parameters on a per-queue basis, from Kan Liang. 11) Extend ethtool so that larger link mode masks can be supported. From David Decotigny. 12) Introduce devlink, which can be used to configure port link types (ethernet vs Infiniband, etc.), port splitting, and switch device level attributes as a whole. From Jiri Pirko. 13) Hardware offload support for flower classifiers, from Amir Vadai. 14) Add "Local Checksum Offload". Basically, for a tunneled packet the checksum of the outer header is 'constant' (because with the checksum field filled into the inner protocol header, the payload of the outer frame checksums to 'zero'), and we can take advantage of that in various ways. From Edward Cree" * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1548 commits) bonding: fix bond_get_stats() net: bcmgenet: fix dma api length mismatch net/mlx4_core: Fix backward compatibility on VFs phy: mdio-thunder: Fix some Kconfig typos lan78xx: add ndo_get_stats64 lan78xx: handle statistics counter rollover RDS: TCP: Remove unused constant RDS: TCP: Add sysctl tunables for sndbuf/rcvbuf on rds-tcp socket net: smc911x: convert pxa dma to dmaengine team: remove duplicate set of flag IFF_MULTICAST bonding: remove duplicate set of flag IFF_MULTICAST net: fix a comment typo ethernet: micrel: fix some error codes ip_tunnels, bpf: define IP_TUNNEL_OPTS_MAX and use it bpf, dst: add and use dst_tclassid helper bpf: make skb->tc_classid also readable net: mvneta: bm: clarify dependencies cls_bpf: reset class and reuse major in da ldmvsw: Checkpatch sunvnet.c and sunvnet_common.c ldmvsw: Add ldmvsw.c driver code ...
- Loading branch information
Showing
1,281 changed files
with
79,030 additions
and
34,010 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,13 @@ | ||
rfkill - radio frequency (RF) connector kill switch support | ||
|
||
For details to this subsystem look at Documentation/rfkill.txt. | ||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/claim | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: This file was deprecated because there no longer was a way to | ||
claim just control over a single rfkill instance. | ||
This file was scheduled to be removed in 2012, and was removed | ||
in 2016. | ||
Values: 0: Kernel handles events |
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 |
---|---|---|
|
@@ -2,9 +2,8 @@ rfkill - radio frequency (RF) connector kill switch support | |
|
||
For details to this subsystem look at Documentation/rfkill.txt. | ||
|
||
For the deprecated /sys/class/rfkill/*/state and | ||
/sys/class/rfkill/*/claim knobs of this interface look in | ||
Documentation/ABI/obsolete/sysfs-class-rfkill. | ||
For the deprecated /sys/class/rfkill/*/claim knobs of this interface look in | ||
Documentation/ABI/removed/sysfs-class-rfkill. | ||
|
||
What: /sys/class/rfkill | ||
Date: 09-Jul-2007 | ||
|
@@ -42,6 +41,28 @@ Values: A numeric value. | |
1: true | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/state | ||
Date: 09-Jul-2007 | ||
KernelVersion v2.6.22 | ||
Contact: [email protected] | ||
Description: Current state of the transmitter. | ||
This file was scheduled to be removed in 2014, but due to its | ||
large number of users it will be sticking around for a bit | ||
longer. Despite it being marked as stabe, the newer "hard" and | ||
"soft" interfaces should be preffered, since it is not possible | ||
to express the 'soft and hard block' state of the rfkill driver | ||
through this interface. There will likely be another attempt to | ||
remove it in the future. | ||
Values: A numeric value. | ||
0: RFKILL_STATE_SOFT_BLOCKED | ||
transmitter is turned off by software | ||
1: RFKILL_STATE_UNBLOCKED | ||
transmitter is (potentially) active | ||
2: RFKILL_STATE_HARD_BLOCKED | ||
transmitter is forced off by something outside of | ||
the driver's control. | ||
|
||
|
||
What: /sys/class/rfkill/rfkill[0-9]+/hard | ||
Date: 12-March-2010 | ||
KernelVersion v2.6.34 | ||
|
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 |
---|---|---|
@@ -1,4 +1,20 @@ | ||
|
||
What: /sys/class/net/<iface>/batman-adv/throughput_override | ||
Date: Feb 2014 | ||
Contact: Antonio Quartulli <[email protected]> | ||
description: | ||
Defines the throughput value to be used by B.A.T.M.A.N. V | ||
when estimating the link throughput using this interface. | ||
If the value is set to 0 then batman-adv will try to | ||
estimate the throughput by itself. | ||
|
||
What: /sys/class/net/<iface>/batman-adv/elp_interval | ||
Date: Feb 2014 | ||
Contact: Linus Lüssing <[email protected]> | ||
Description: | ||
Defines the interval in milliseconds in which batman | ||
sends its probing packets for link quality measurements. | ||
|
||
What: /sys/class/net/<iface>/batman-adv/iface_status | ||
Date: May 2010 | ||
Contact: Marek Lindner <[email protected]> | ||
|
@@ -12,4 +28,3 @@ Description: | |
The /sys/class/net/<iface>/batman-adv/mesh_iface file | ||
displays the batman mesh interface this <iface> | ||
currently is associated with. | ||
|
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,15 @@ | ||
IFI CANFD controller | ||
-------------------- | ||
|
||
Required properties: | ||
- compatible: Should be "ifi,canfd-1.0" | ||
- reg: Should contain CAN controller registers location and length | ||
- interrupts: Should contain IRQ line for the CAN controller | ||
|
||
Example: | ||
|
||
canfd0: canfd@ff220000 { | ||
compatible = "ifi,canfd-1.0"; | ||
reg = <0xff220000 0x00001000>; | ||
interrupts = <0 43 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
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,49 @@ | ||
* Marvell Armada 380/XP Buffer Manager driver (BM) | ||
|
||
Required properties: | ||
|
||
- compatible: should be "marvell,armada-380-neta-bm". | ||
- reg: address and length of the register set for the device. | ||
- clocks: a pointer to the reference clock for this device. | ||
- internal-mem: a phandle to BM internal SRAM definition. | ||
|
||
Optional properties (port): | ||
|
||
- pool<0 : 3>,capacity: size of external buffer pointers' ring maintained | ||
in DRAM. Can be set for each pool (id 0 : 3) separately. The value has | ||
to be chosen between 128 and 16352 and it also has to be aligned to 32. | ||
Otherwise the driver would adjust a given number or choose default if | ||
not set. | ||
- pool<0 : 3>,pkt-size: maximum size of a packet accepted by a given buffer | ||
pointers' pool (id 0 : 3). It will be taken into consideration only when pool | ||
type is 'short'. For 'long' ones it would be overridden by port's MTU. | ||
If not set a driver will choose a default value. | ||
|
||
In order to see how to hook the BM to a given ethernet port, please | ||
refer to Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt. | ||
|
||
Example: | ||
|
||
- main node: | ||
|
||
bm: bm@c8000 { | ||
compatible = "marvell,armada-380-neta-bm"; | ||
reg = <0xc8000 0xac>; | ||
clocks = <&gateclk 13>; | ||
internal-mem = <&bm_bppi>; | ||
status = "okay"; | ||
pool2,capacity = <4096>; | ||
pool1,pkt-size = <512>; | ||
}; | ||
|
||
- internal SRAM node: | ||
|
||
bm_bppi: bm-bppi { | ||
compatible = "mmio-sram"; | ||
reg = <MBUS_ID(0x0c, 0x04) 0 0x100000>; | ||
ranges = <0 MBUS_ID(0x0c, 0x04) 0 0x100000>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
clocks = <&gateclk 13>; | ||
status = "okay"; | ||
}; |
Oops, something went wrong.