diff options
author | Wojciech Drewek <wojciech.drewek@intel.com> | 2024-07-01 12:05:46 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-07-24 01:26:41 +0300 |
commit | 19abb9c2b900bad59e0a9818d6c83bb4cc875437 (patch) | |
tree | 97e3a874db1238af63c375877f00354f4f1dc086 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6ebbe97a488179f5dc85f2f1e0c89b486e99ee97 (diff) | |
download | linux-19abb9c2b900bad59e0a9818d6c83bb4cc875437.tar.xz |
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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions