diff options
author | 2024-07-01 11:05:46 +0200 | |
---|---|---|
committer | 2024-07-23 15:26:41 -0700 | |
commit | 19abb9c2b900bad59e0a9818d6c83bb4cc875437 (patch) | |
tree | 97e3a874db1238af63c375877f00354f4f1dc086 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ice: Add a per-VF limit on number of FDIR filters (diff) | |
download | wireguard-linux-19abb9c2b900bad59e0a9818d6c83bb4cc875437.tar.xz wireguard-linux-19abb9c2b900bad59e0a9818d6c83bb4cc875437.zip |
ice: Fix recipe read procedure
When ice driver reads recipes from firmware information about
need_pass_l2 and allow_pass_l2 flags is not stored correctly.
Those flags are stored as one bit each in ice_sw_recipe structure.
Because of that, the result of checking a flag has to be casted to bool.
Note that the need_pass_l2 flag currently works correctly, because
it's stored in the first bit.
Fixes: bccd9bce29e0 ("ice: Add guard rule when creating FDB in switchdev")
Reviewed-by: Marcin Szycik <marcin.szycik@linux.intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions