diff options
Diffstat (limited to 'service/src/node_shmdev.c')
| -rw-r--r-- | service/src/node_shmdev.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/service/src/node_shmdev.c b/service/src/node_shmdev.c index d840866..f838a78 100644 --- a/service/src/node_shmdev.c +++ b/service/src/node_shmdev.c @@ -42,23 +42,6 @@ enum packet_direction PACKET_DIRECTION_RX }; -/* Generate and store the trace information */ -static __rte_always_inline void gen_store_trace_info(struct rte_node * node, struct rte_mbuf * mbuf, - struct vdev * shm_dev_desc, enum packet_direction direction) -{ - char str_record[MR_STRING_MAX]; - int len = snprintf(str_record, sizeof(str_record), "port:%u,%s", shm_dev_desc->port_id, shm_dev_desc->symbol); - - if (direction == PACKET_DIRECTION_RX) - { - len += snprintf(str_record + len, sizeof(str_record) - len, ",next:%s", node->nodes[0]->name); - } - - /* Emit the trace record */ - struct dp_trace_record_meta meta = {.appsym = MR_TRACE_APPSYM, .module = node->name}; - dp_trace_record_emit_str(sc_main_get()->trace, mbuf, rte_lcore_id(), &meta, str_record); -} - uint16_t shmdev_rx_node_process(struct rte_graph * graph, struct rte_node * node, void ** objs, uint16_t cnt) { struct dev_node_ctx * ctx = (struct dev_node_ctx *)node->ctx; |
