net/ice/base: fix TCAM entry management
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 12 Nov 2019 13:45:57 +0000 (21:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commit89a3286f9c59467d68c450a9fc3ab86b9eb64b89
treee56d483e8bcfffb2aa68f92aaa9753fb0fa68a83
parente2d6596bc35036e514faef706724104498e2493b
net/ice/base: fix TCAM entry management

Order intermediate VSIG list correct in order to correctly match
existing VSIG lists.

When overriding pre-existing TCAM entries, properly delete the existing
entry and remove it from the change/update list.

Fixes: 51d04e4933e3 ("net/ice/base: add flexible pipeline module")

Signed-off-by: Dan Nowlin <dan.nowlin@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Tested-by: Zhirun Yan <zhirun.yan@intel.com>
drivers/net/ice/base/ice_flex_pipe.c