diff options
author | Damjan Marion <damarion@cisco.com> | 2018-04-26 22:45:40 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-04-27 11:20:58 +0000 |
commit | aa682a39b76ee043f65313f23e134bf18fe7a47e (patch) | |
tree | 5cd74943911f0a7a9a886e0c309cb18ca1841eb3 /src/vnet/interface_output.c | |
parent | 582caa3bb67a1380c12790ba6f98450b92835761 (diff) |
A bit of buffer metadata reshuffling to accommodate flow_id
Change-Id: I2794384557c6272fe217269b14a9db09eda19220
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/interface_output.c')
-rw-r--r-- | src/vnet/interface_output.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vnet/interface_output.c b/src/vnet/interface_output.c index fe029b865fa..7631a32092f 100644 --- a/src/vnet/interface_output.c +++ b/src/vnet/interface_output.c @@ -328,10 +328,10 @@ vnet_interface_output_node_inline (vlib_main_t * vm, if (PREDICT_FALSE (current_config_index != ~0)) { - b0->feature_arc_index = arc; - b1->feature_arc_index = arc; - b2->feature_arc_index = arc; - b3->feature_arc_index = arc; + vnet_buffer (b0)->feature_arc_index = arc; + vnet_buffer (b1)->feature_arc_index = arc; + vnet_buffer (b2)->feature_arc_index = arc; + vnet_buffer (b3)->feature_arc_index = arc; b0->current_config_index = current_config_index; b1->current_config_index = current_config_index; b2->current_config_index = current_config_index; @@ -415,7 +415,7 @@ vnet_interface_output_node_inline (vlib_main_t * vm, if (PREDICT_FALSE (current_config_index != ~0)) { - b0->feature_arc_index = arc; + vnet_buffer (b0)->feature_arc_index = arc; b0->current_config_index = current_config_index; } |