net/ice/base: forbid VSI to remove unassociated ucast filter
authorLeyi Rong <leyi.rong@intel.com>
Wed, 19 Jun 2019 15:17:59 +0000 (23:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:48 +0000 (20:31 +0200)
commit192ea17693a7eae39a8d37b413aed4097f4fe8ec
tree955c4cc675766bb76c393058e8deff21c1036134
parentbd91c68f05b81a5536b5643d173e0cf06c80dfa2
net/ice/base: forbid VSI to remove unassociated ucast filter

If a VSI is not using a unicast filter or did not configure that
particular unicast filter, driver should not allow it to be removed
by the VSI.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_switch.c