From 167d458cba92e2f64f48fa7bc4430c770f290561 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Tue, 17 Apr 2018 19:30:43 +0200 Subject: dpdk: add additional fields to rte_mbuf trace print Change-Id: I3792c524323ce9e300648abe85454cff5d19aba7 Signed-off-by: Damjan Marion --- src/plugins/dpdk/device/format.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/plugins/dpdk/device/format.c b/src/plugins/dpdk/device/format.c index d37cc8c0664..af3ce63aed5 100644 --- a/src/plugins/dpdk/device/format.c +++ b/src/plugins/dpdk/device/format.c @@ -756,12 +756,15 @@ format_dpdk_rte_mbuf (u8 * s, va_list * va) s = format (s, "PKT MBUF: port %d, nb_segs %d, pkt_len %d" "\n%Ubuf_len %d, data_len %d, ol_flags 0x%lx, data_off %d, phys_addr 0x%x" - "\n%Upacket_type 0x%x l2_len %u l3_len %u outer_l2_len %u outer_l3_len %u", + "\n%Upacket_type 0x%x l2_len %u l3_len %u outer_l2_len %u outer_l3_len %u" + "\n%Urss 0x%x fdir.hi 0x%x fdir.lo 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_physaddr, format_white_space, indent, mb->packet_type, - mb->l2_len, mb->l3_len, mb->outer_l2_len, mb->outer_l3_len); + mb->l2_len, mb->l3_len, mb->outer_l2_len, mb->outer_l3_len, + format_white_space, indent, mb->hash.rss, mb->hash.fdir.hi, + mb->hash.fdir.lo); if (mb->ol_flags) s = format (s, "\n%U%U", format_white_space, indent, -- cgit 1.2.3-korg