net/ice/base: associate switch recipe to profiles
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 23 Sep 2019 07:44:29 +0000 (15:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:56 +0000 (15:00 +0200)
commitd6eed0ddb4e773a7d1e2f3925caa94a2617a16de
tree21f398988c2f6c7a1de4c4f3e7d4eb4ee04a3c2b
parenta4b14d3939ace114a67ad507ee99b988f957a207
net/ice/base: associate switch recipe to profiles

Properly associate switch recipes to profiles. Previous code was
using the wrong bitfield for updating the associations, which was
causing other PFs to not properly identify and use existing
recipes. This sometimes resulted in rules not being added when it
should have been possible.

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: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_switch.c