net/ice: fix crash when device reset
authorSimei Su <simei.su@intel.com>
Tue, 10 Nov 2020 02:01:50 +0000 (10:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Nov 2020 18:43:26 +0000 (19:43 +0100)
commit333e1bde9db6b6e111c5a4863208bb15f60f5266
treebf27d5ec6dba65fa6cdb989947c64e2d5f229ff6
parent22e294e0e664263caa152b701e24e315cdafae48
net/ice: fix crash when device reset

When device resets, it should not implement ACL initialization
which is only executed in DCF. This patch disable ACL init and
uninit when in DPDK PF only mode.

Fixes: 40d466fa9f76 ("net/ice: support ACL filter in DCF")

Signed-off-by: Simei Su <simei.su@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_acl_filter.c