git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/thunderx: use dynamic log type
[dpdk.git]
/
lib
/
librte_ethdev
/
rte_ethdev.h
diff --git
a/lib/librte_ethdev/rte_ethdev.h
b/lib/librte_ethdev/rte_ethdev.h
index
e9e3a16
..
bd0bca6
100644
(file)
--- a/
lib/librte_ethdev/rte_ethdev.h
+++ b/
lib/librte_ethdev/rte_ethdev.h
@@
-158,6
+158,7
@@
extern "C" {
#include <rte_config.h>
#include <rte_ether.h>
#include <rte_config.h>
#include <rte_ether.h>
+#include "rte_ethdev_trace_fp.h"
#include "rte_dev_info.h"
extern int rte_eth_dev_logtype;
#include "rte_dev_info.h"
extern int rte_eth_dev_logtype;
@@
-4400,6
+4401,7
@@
rte_eth_rx_burst(uint16_t port_id, uint16_t queue_id,
}
#endif
}
#endif
+ rte_ethdev_trace_rx_burst(port_id, queue_id, (void **)rx_pkts, nb_rx);
return nb_rx;
}
return nb_rx;
}
@@
-4663,6
+4665,8
@@
rte_eth_tx_burst(uint16_t port_id, uint16_t queue_id,
}
#endif
}
#endif
+ rte_ethdev_trace_tx_burst(port_id, queue_id, (void **)tx_pkts,
+ nb_pkts);
return (*dev->tx_pkt_burst)(dev->data->tx_queues[queue_id], tx_pkts, nb_pkts);
}
return (*dev->tx_pkt_burst)(dev->data->tx_queues[queue_id], tx_pkts, nb_pkts);
}