diff options
author | Damjan Marion <damarion@cisco.com> | 2018-04-17 19:30:43 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-04-17 20:13:40 +0000 |
commit | 167d458cba92e2f64f48fa7bc4430c770f290561 (patch) | |
tree | fe8c1bb2cff815f9702314f8dac0d2fab4e84cc5 /src | |
parent | 89b16e66a4f3df9c3851702a3d186947ed377f82 (diff) |
dpdk: add additional fields to rte_mbuf trace print
Change-Id: I3792c524323ce9e300648abe85454cff5d19aba7
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/dpdk/device/format.c | 7 |
1 files changed, 5 insertions, 2 deletions
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, |