refactor stellar stat
This commit is contained in:
@@ -9,7 +9,7 @@ extern "C"
|
||||
|
||||
#include "macro.h"
|
||||
|
||||
struct io_stat
|
||||
struct packet_io_stat
|
||||
{
|
||||
// device packet
|
||||
uint64_t dev_rx_pkts;
|
||||
@@ -77,7 +77,7 @@ void packet_io_egress(struct packet_io *packet_io, uint16_t thr_idx, struct pack
|
||||
void packet_io_drop(struct packet_io *packet_io, uint16_t thr_idx, struct packet *pkts, int nr_pkts);
|
||||
int packet_io_inject(struct packet_io *packet_io, uint16_t thr_idx, struct packet *pkts, int nr_pkts);
|
||||
void packet_io_yield(struct packet_io *packet_io, uint16_t thr_idx, uint64_t timeout_ms);
|
||||
struct io_stat *packet_io_stat(struct packet_io *packet_io, uint16_t thr_idx);
|
||||
struct packet_io_stat *packet_io_stat(struct packet_io *packet_io, uint16_t thr_idx);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user