aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorgii Tkachuk <georgii.tkachuk@intel.com>2016-06-24 01:52:42 +0000
committerChris Luke <chris_luke@comcast.com>2016-06-25 16:04:18 +0000
commit07515d7aaee6ab030501fc155bc8938f72f0da34 (patch)
treecf088d2b495ebb60b589d1afd2b0da7d26229531
parentf8035649e928c45b6315dade2d33767b94209661 (diff)
add buf_physaddr to dpdk trace
Change-Id: Icbb6814306f51873af6ad9d1425b52d660bb99ce Signed-off-by: Georgii Tkachuk <georgii.tkachuk@intel.com>
-rw-r--r--vnet/vnet/devices/dpdk/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnet/vnet/devices/dpdk/format.c b/vnet/vnet/devices/dpdk/format.c
index 777014b6d03..aaafc90827c 100644
--- a/vnet/vnet/devices/dpdk/format.c
+++ b/vnet/vnet/devices/dpdk/format.c
@@ -739,11 +739,11 @@ u8 * format_dpdk_rte_mbuf (u8 * s, va_list * va)
uword indent = format_get_indent (s) + 2;
s = format (s, "PKT MBUF: port %d, nb_segs %d, pkt_len %d"
- "\n%Ubuf_len %d, data_len %d, ol_flags 0x%x, data_off %d"
+ "\n%Ubuf_len %d, data_len %d, ol_flags 0x%x, data_off %d, phys_addr 0x%x"
"\n%Upacket_type 0x%x",
mb->port, mb->nb_segs, mb->pkt_len,
format_white_space, indent,
- mb->buf_len, mb->data_len, mb->ol_flags, mb->data_off,
+ mb->buf_len, mb->data_len, mb->ol_flags, mb->data_off, mb->buf_physaddr,
format_white_space, indent,
mb->packet_type);