diff options
author | Pavel Kotucek <pkotucek@cisco.com> | 2016-11-04 09:58:01 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-11-15 17:49:14 +0000 |
commit | f6e3dc4778ef910d4ae6114783bd8f50887e6d0d (patch) | |
tree | 0782a31c7c5e6d16c349278744264e90875245fa /vnet/vnet/devices/devices.c | |
parent | 7c8eda16d4bc10bf779200b23369e2ee12843dc1 (diff) |
span: add feature (rx only) (VPP-185)
Change-Id: I0f7cbf06b5a5acd745d13c9f5c761ea18132107b
Signed-off-by: marek <mazavods@gmail.com>
Signed-off-by: Damjan Marion <damarion@cisco.com>
Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet/vnet/devices/devices.c')
-rw-r--r-- | vnet/vnet/devices/devices.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vnet/vnet/devices/devices.c b/vnet/vnet/devices/devices.c index 928b0b4757a..3eef95b7c90 100644 --- a/vnet/vnet/devices/devices.c +++ b/vnet/vnet/devices/devices.c @@ -52,6 +52,12 @@ VNET_FEATURE_INIT (worker_handoff, static) = { .runs_before = VNET_FEATURES ("ethernet-input"), }; +VNET_FEATURE_INIT (span_input, static) = { + .arc_name = "device-input", + .node_name = "span-input", + .runs_before = VNET_FEATURES ("ethernet-input"), +}; + VNET_FEATURE_INIT (ethernet_input, static) = { .arc_name = "device-input", .node_name = "ethernet-input", |