diff options
author | Michal Swiatkowski <michal.swiatkowski@intel.com> | 2021-08-06 11:49:04 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-10-11 18:50:37 +0300 |
commit | 572b820dfa61fc23b5ba59fd5baa92cd1ec2bacb (patch) | |
tree | 8e4386bdb6e0eb34f032ebbb2b8ac188f8e742fb /drivers/char | |
parent | 8b8ef05b776e660a95d8347716b9b6c38ddf97c8 (diff) | |
download | linux-572b820dfa61fc23b5ba59fd5baa92cd1ec2bacb.tar.xz |
ice: Allow changing lan_en and lb_en on all kinds of filters
There is no way to change default lan_en and lb_en flags while
adding new rule. Add function that allows changing these flags
on rule determined by rule id and recipe id.
Function checks if the rule is presented on regular rules list or
advance rules list and call the appropriate function to update
rule entry.
As rules with ICE_SW_LKUP_DFLT recipe aren't tracked in a list,
implement function which updates flags without searching for rules
based only on rule id.
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@intel.com>
Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions