TFE Packet IO 创建metric句柄
This commit is contained in:
@@ -4,11 +4,10 @@
|
||||
#include "tfe_stream.h"
|
||||
#include "tfe_resource.h"
|
||||
|
||||
void tfe_set_intercept_metric(struct tfe_cmsg *cmsg, int hit_count, int downstream_rx_pkts, int downstream_rx_bytes, int upstream_rx_pkts, int upstream_rx_bytes, int thread_id)
|
||||
void tfe_set_intercept_metric(struct tfe_fieldstat_metric_t *fieldstat, struct tfe_cmsg *cmsg, int hit_count, int downstream_rx_pkts, int downstream_rx_bytes, int upstream_rx_pkts, int upstream_rx_bytes, int thread_id)
|
||||
{
|
||||
int ret;
|
||||
uint16_t out_size;
|
||||
struct tfe_fieldstat_metric_t *fieldstat = (struct tfe_fieldstat_metric_t *)tfe_bussiness_resouce_get(DYNAMIC_FIELDSTAT);
|
||||
|
||||
if (cmsg == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user