]> git.droids-corp.org - dpdk.git/blobdiff - app/test-pmd/rxonly.c
net/sfc: get receive queue information
[dpdk.git] / app / test-pmd / rxonly.c
index fff815c666556f86d651e7e4d66841f9a4779298..dcc83465db4239a76537aea1acfa94ff21e81379 100644 (file)
@@ -67,6 +67,7 @@
 #include <rte_ip.h>
 #include <rte_udp.h>
 #include <rte_net.h>
+#include <rte_flow.h>
 
 #include "testpmd.h"
 
@@ -147,7 +148,8 @@ pkt_burst_receive(struct fwd_stream *fs)
                if (ol_flags & PKT_RX_RSS_HASH) {
                        printf(" - RSS hash=0x%x", (unsigned) mb->hash.rss);
                        printf(" - RSS queue=0x%x",(unsigned) fs->rx_queue);
-               } else if (ol_flags & PKT_RX_FDIR) {
+               }
+               if (ol_flags & PKT_RX_FDIR) {
                        printf(" - FDIR matched ");
                        if (ol_flags & PKT_RX_FDIR_ID)
                                printf("ID=0x%x",