net/bnxt: fix flow director filter
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 27 Oct 2017 15:53:34 +0000 (10:53 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 1 Nov 2017 21:17:05 +0000 (22:17 +0100)
commit5889248ce94faffc71005c671b960effef3f9fab
tree45c32a01616cd1feb10c0a8ff0cb7805ba63f882
parent652380382175cd64841b578d2a3d449d8105511c
net/bnxt: fix flow director filter

Set the filter_type before we match a new filter against existing
filters. Otherwise we are missing the existing filters.

Fixes: 2d64da097aa0 ("net/bnxt: support FDIR")

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c