net/bnxt: fix duplicate creation of ntuple filter
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 9 Nov 2017 17:46:27 +0000 (11:46 -0600)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Nov 2017 09:42:10 +0000 (09:42 +0000)
commit1ccdd771d6a00b681d346033ad274d68a2af7a4c
treedc8a19102bc10e7d631c9a2ee3f14d66808b5256
parent7c90eef52f5bda290861827a6e732c1a0617162c
net/bnxt: fix duplicate creation of ntuple filter

Prevent the creation of duplicate 5tuple filters.

Fixes: b7435d660a8c ("net/bnxt: add ntuple filtering support")

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