net/ice: refactor flow director set config
authorZhirun Yan <zhirun.yan@intel.com>
Mon, 14 Sep 2020 03:05:29 +0000 (11:05 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:11 +0000 (18:55 +0200)
commit3aa4b17271b836d265a7f28634a1fe69449f240e
treee253b67a14b535923262a914f699986f3f0c3d9e
parent262100a34a3835c7f5dcd8c14a57cff05f7440ee
net/ice: refactor flow director set config

The original set conf function in FDIR was very long. Refactor to
increase readability to make it clearer and allow for more convenient
further changes.

No functional change here.

Signed-off-by: Zhirun Yan <zhirun.yan@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_fdir_filter.c