[dpdk-dev] [PATCH 4/5] [pktgen] expose number of missed Rx packets
Rafal Kozik
rk at semihalf.com
Thu Jan 10 17:14:05 CET 2019
Expose number of missed Rx packets from DPDK NIC statistics to Lua API.
Signed-off-by: Rafal Kozik <rk at semihalf.com>
---
app/lpktgenlib.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/lpktgenlib.c b/app/lpktgenlib.c
index 9a6307c..e9c7241 100644
--- a/app/lpktgenlib.c
+++ b/app/lpktgenlib.c
@@ -2888,6 +2888,7 @@ port_stats(lua_State *L, port_info_t *info, char *type)
setf_integer(L, "ierrors", stats.ierrors);
setf_integer(L, "oerrors", stats.oerrors);
setf_integer(L, "rx_nombuf", stats.rx_nombuf);
+ setf_integer(L, "imissed", stats.imissed);
if (strcmp(type, "rate") == 0) {
setf_integer(L, "pkts_rx", stats.ipackets);
--
2.7.4
More information about the dev
mailing list