net/bnxt: free filter before reusing it
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 21 Jul 2017 03:22:33 +0000 (22:22 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commit4cddfcb71b1edeed845aff0b19c9ea73622f79c6
tree293334285bafae18fa1258845a43afc34f03f8b6
parent778f6209bc3b39339f2969a57ffb46f2cd396f15
net/bnxt: free filter before reusing it

This patch sends the HWRM command to free a filter in the hardware,
before using it again.

Fixes: f92735db1e4c ("net/bnxt: add L2 filter alloc/init/free")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c