net/ice: fix flow director counter resource release
authorShougang Wang <shougangx.wang@intel.com>
Wed, 13 Nov 2019 01:37:57 +0000 (01:37 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commit01af3d0a416130e91c159147f590f9d07da4e767
tree1661ec3a77bfc1289f2a5d5f1407fb57f0bd2b33
parent3916416737f1e0614e683d7fc88d652c21a8ac88
net/ice: fix flow director counter resource release

All the counter resources should be cleaned up when teardown.

Fixes: 0f880c3df192 ("net/ice: add flow director counter resource init/release")

Signed-off-by: Shougang Wang <shougangx.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/ice_fdir_filter.c