net/bnxt: fix to move a flow to a different queue
authorSomnath Kotur <somnath.kotur@broadcom.com>
Thu, 28 Jun 2018 20:15:46 +0000 (13:15 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:35:58 +0000 (01:35 +0200)
commit16fea16455f4c0d23585fc4f00bbbcf1aae6bc73
treef256980e1a45defe36df083e8d31710f7db2a143
parent569a0e82a49e9293ce0583b2e1e0494c15df1875
net/bnxt: fix to move a flow to a different queue

While moving a flow to a different destination queue,
the l2_filter_id being passed to the FW command was incorrect.
Fix it by re-using the matching filter's l2_filter_id since
that is supposed to be the same in this case.

Fixes: 5ef3b79fdfe6 ("net/bnxt: support flow filter ops")
Cc: stable@dpdk.org
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_flow.c