net/ice/base: associate recipes by profile type
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:30 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commit55744222e6e2b4623de0626aef586d98e245bdd2
treee2e71c4b276a35cd6f7af7f7e7e3b040f5aef073
parent54f75a4ce2e27bc01ae3b7ba68b6bf7a1d277b87
net/ice/base: associate recipes by profile type

Change recipe to profile association logic to determine the profile type
to determine if a profile is compatible with the rule being added.

Signed-off-by: Dan Nowlin <dan.nowlin@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: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_flex_pipe.c
drivers/net/ice/base/ice_flex_pipe.h
drivers/net/ice/base/ice_flex_type.h
drivers/net/ice/base/ice_protocol_type.h
drivers/net/ice/base/ice_switch.c