net/ice/base: reduce profile to recip info get from firmware
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 26 Aug 2020 10:39:47 +0000 (18:39 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:09 +0000 (18:55 +0200)
commitaf733605577f684fd27505d3acce13b683d9a1a5
tree899e7fb7374470b76ed864a9231ae1623c282266
parent24b38f1ea57de82b207d29c2117d684161a4abe9
net/ice/base: reduce profile to recip info get from firmware

Only need to get profile_to_recip info from firmware for
profiles used by switch, no need for other free profile
in order that we can reduce the time consumed when
download a switch rule.

Signed-off-by: Wei Zhao <wei.zhao1@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_flex_pipe.c
drivers/net/ice/base/ice_switch.c
drivers/net/ice/base/ice_type.h