[1/2] net/qede: fix ntuple filter configuration

Message ID 1533706715-27407-1-git-send-email-rasesh.mody@cavium.com
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series
  • [1/2] net/qede: fix ntuple filter configuration
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Mody, Rasesh Aug. 8, 2018, 5:38 a.m.
From: Shahed Shaikh <shahed.shaikh@cavium.com>

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 |    3 +++
 1 file changed, 3 insertions(+)

Comments

Thomas Monjalon Aug. 8, 2018, 6:36 p.m. | #1
08/08/2018 07:38, Rasesh Mody:
> From: Shahed Shaikh <shahed.shaikh@cavium.com>
> 
> 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>

Series applied, thanks

Patch

diff --git a/drivers/net/qede/qede_fdir.c b/drivers/net/qede/qede_fdir.c
index 27e1b93..83580d0 100644
--- a/drivers/net/qede/qede_fdir.c
+++ b/drivers/net/qede/qede_fdir.c
@@ -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);
 }