From 116835ed0d245f3e73173f2f2057265827416ce6 Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Mon, 8 Feb 2016 08:01:52 +0200 Subject: trafgen: l2: Add MPLS header generation Add support for MPLS header creating with fields: Label, TClass, Bottom-Stack, TTL By default S-field is set to 1 (last label), but resets to 0 if lower MPLS header is added. Signed-off-by: Vadim Kochan Signed-off-by: Tobias Klauser --- trafgen_proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'trafgen_proto.h') diff --git a/trafgen_proto.h b/trafgen_proto.h index 10ded79..31ac1c8 100644 --- a/trafgen_proto.h +++ b/trafgen_proto.h @@ -14,6 +14,7 @@ enum proto_id { PROTO_ETH, PROTO_VLAN, PROTO_ARP, + PROTO_MPLS, PROTO_IP4, PROTO_IP6, PROTO_UDP, -- cgit v1.2.3-54-g00ecf in'>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-11-21 11:48:39 +0100
committerJiri Kosina <jkosina@suse.cz>2016-11-23 17:38:12 +0100
commit1ffb3c40ffb5c51bc39736409b11816c4260218e (patch)
tree68eff7671b986b67cbcbab2b5c9f7739be0228dc
parent4c4480aad0d8eaf0d52b6f2c8c5dfbe0531cbbea (diff)
HID: cp2112: make transfer buffers DMA capable
Kernel v4.9 strictly enforces DMA capable buffers, so we need to remove buffers allocated on the stack. Use a spinlock to prevent concurrent accesses to the buffer. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>