net/ice/base: refactor flow director filter swap
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 15 Jun 2020 02:04:35 +0000 (10:04 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jun 2020 17:21:07 +0000 (19:21 +0200)
commite2540a5a938de59fc6a9e44d16e870d4b48f5c53
tree0ea0897f7e7919909da7d095139d4dd27e20dddc
parent60ff6f5ce2d8bba18ccebe08eb8a97617020cadb
net/ice/base: refactor flow director filter swap

Move the swap of flow director addresses and ports into training packet
generation. This reduces the code written for ACL.

Signed-off-by: Henry Tieman <henry.w.tieman@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_fdir.c
drivers/net/ice/ice_fdir_filter.c