net/qede: fix ntuple filter configuration
authorShahed Shaikh <shahed.shaikh@cavium.com>
Wed, 8 Aug 2018 05:38:34 +0000 (22:38 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 8 Aug 2018 18:09:53 +0000 (20:09 +0200)
PMD did not pass down the intended queue id while
configuring the ntuple filter.

Fixes: 622075356e8f ("net/qede: support ntuple and flow director filter")
Cc: stable@dpdk.org
Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com>
drivers/net/qede/qede_fdir.c

index 27e1b93..83580d0 100644 (file)
@@ -463,5 +463,8 @@ int qede_ntuple_filter_conf(struct rte_eth_dev *eth_dev,
                udpv4_flow->src_port = ntuple->src_port;
                udpv4_flow->dst_port = ntuple->dst_port;
        }
+
+       fdir_entry.action.rx_queue = ntuple->queue;
+
        return qede_config_cmn_fdir_filter(eth_dev, &fdir_entry, add);
 }