X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fpg%2Finput.c;h=82c6c81cf18cdccb74fc33cb72cceae6118d7cfb;hb=4d56e059f78b991cb19ec4e5cf4a07a5607a0642;hp=1cbffedd480c1b5f761fb22664ebb8bfd3175a4f;hpb=ef2e584543619e037d735e61f0576658c6764ae6;p=vpp.git diff --git a/src/vnet/pg/input.c b/src/vnet/pg/input.c index 1cbffedd480..82c6c81cf18 100644 --- a/src/vnet/pg/input.c +++ b/src/vnet/pg/input.c @@ -1083,6 +1083,7 @@ init_replay_buffers_inline (vlib_main_t * vm, vnet_buffer (b0)->sw_if_index[VLIB_TX] = (u32) ~ 0; d0 = vec_elt (s->replay_packet_templates, i); + vnet_buffer2 (b0)->pg_replay_timestamp = s->replay_packet_timestamps[i]; n0 = n_data; if (data_offset + n_data >= vec_len (d0)) @@ -1519,11 +1520,8 @@ pg_generate_packets (vlib_node_runtime_t * node, { vlib_buffer_t *b; b = vlib_get_buffer (vm, to_next[i]); - vnet_buffer (b)->device_input_feat.saved_next_index = - s->next_index; - vnet_buffer (b)->device_input_feat.buffer_advance = 0; b->current_config_index = current_config_index; - b->feature_arc_index = feature_arc_index; + vnet_buffer (b)->feature_arc_index = feature_arc_index; } n_trace = vlib_get_trace_count (vm, node);