summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorTianyu Li <tianyu.li@arm.com>2022-03-22 17:41:18 +0800
committerDamjan Marion <dmarion@me.com>2022-03-23 18:33:45 +0000
commitba465b970e88d02467838bd9c272cb6d5cd653ec (patch)
tree3de8e7fc46bba2e33b82db50df7eb17c419c992f /src/plugins
parent495c320a7f06c9ddf2693a4ea9dcbce36e6829de (diff)
dpdk: fix rx/tx burst function name
Type: fix Fixes: 65105c95fe03 ("dpdk: improve logging") Signed-off-by: Tianyu Li <tianyu.li@arm.com> Change-Id: I69d616c7e6e7b5395ebf083b1ac5c3e85f99bbdd
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/dpdk/device/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/dpdk/device/format.c b/src/plugins/dpdk/device/format.c
index 4ef22729532..db9060217ac 100644
--- a/src/plugins/dpdk/device/format.c
+++ b/src/plugins/dpdk/device/format.c
@@ -511,7 +511,7 @@ format_dpdk_device (u8 * s, va_list * args)
}
s = format (s, "%Utx burst function: %U\n", format_white_space, indent + 2,
- format_dpdk_burst_fn, xd, VLIB_RX);
+ format_dpdk_burst_fn, xd, VLIB_TX);
if (rte_eth_rx_burst_mode_get (xd->port_id, 0, &mode) == 0)
{
@@ -522,7 +522,7 @@ format_dpdk_device (u8 * s, va_list * args)
}
s = format (s, "%Urx burst function: %U\n", format_white_space, indent + 2,
- format_dpdk_burst_fn, xd, VLIB_TX);
+ format_dpdk_burst_fn, xd, VLIB_RX);
/* $$$ MIB counters */
{