2 * Copyright (c) 2015 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
16 #include <vnet/feature/feature.h>
19 VNET_FEATURE_ARC_INIT (device_input, static) =
21 .arc_name = "device-input",
27 "vhost-user-input", "af-packet-input", "netmap-input",
28 "tuntap-rx", "tapcli-rx", "pg-input"),
31 VNET_FEATURE_INIT (l2_patch, static) = {
32 .arc_name = "device-input",
33 .node_name = "l2-patch",
34 .runs_before = VNET_FEATURES ("ethernet-input"),
37 VNET_FEATURE_INIT (worker_handoff, static) = {
38 .arc_name = "device-input",
39 .node_name = "worker-handoff",
40 .runs_before = VNET_FEATURES ("ethernet-input"),
43 VNET_FEATURE_INIT (ethernet_input, static) = {
44 .arc_name = "device-input",
45 .node_name = "ethernet-input",
46 .runs_before = 0, /* not before any other features */
51 * fd.io coding-style-patch-verification: ON
54 * eval: (c-set-style "gnu")