Skip to content

Commit a0196b7

Browse files
JannePeltonenMatiasElo
authored andcommitted
example: sysinfo: print the new packet ref related pktio capa flags
Print the odp_pktout_packet_ref_capability_t flags for pktios. Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
1 parent 12c5926 commit a0196b7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

example/sysinfo/odp_sysinfo.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,9 @@ static void print_pktio_capa(appl_args_t *appl_args)
641641
printf(" lso.proto.tcp_ipv6: %u\n", capa->lso.proto.tcp_ipv6);
642642
printf(" lso.proto.sctp_ipv4: %u\n", capa->lso.proto.sctp_ipv4);
643643
printf(" lso.proto.sctp_ipv6: %u\n", capa->lso.proto.sctp_ipv6);
644+
printf(" packet_ref.static_ref %u\n", capa->packet_ref.static_ref);
645+
printf(" packet_ref.referenced_pkt %u\n", capa->packet_ref.referenced_pkt);
646+
printf(" packet_ref.referencing_pkt %u\n", capa->packet_ref.referencing_pkt);
644647
printf(" maxlen.equal: %i\n", capa->maxlen.equal);
645648
printf(" maxlen.min_input: %u B\n", capa->maxlen.min_input);
646649
printf(" maxlen.max_input: %u B\n", capa->maxlen.max_input);

0 commit comments

Comments
 (0)