diff options
author | Suman Ghosh <sumang@marvell.com> | 2023-07-21 09:12:22 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-07-25 11:12:26 +0300 |
commit | 4e62c99d71e56817c934caa2a709a775c8cee078 (patch) | |
tree | 492312d11610f1d91c38cee1d300e60b52968d29 /tools/perf/util/c++/clang-test.cpp | |
parent | 34192a2f46b99324877ef24a6f8f56b1a6b533de (diff) | |
download | linux-4e62c99d71e56817c934caa2a709a775c8cee078.tar.xz |
octeontx2-af: Fix hash extraction enable configuration
As of today, hash extraction support is enabled for all the silicons.
Because of which we are facing initialization issues when the silicon
does not support hash extraction. During creation of the hardware
parsing table for IPv6 address, we need to consider if hash extraction
is enabled then extract only 32 bit, otherwise 128 bit needs to be
extracted. This patch fixes the issue and configures the hardware parser
based on the availability of the feature.
Fixes: a95ab93550d3 ("octeontx2-af: Use hashed field in MCAM key")
Signed-off-by: Suman Ghosh <sumang@marvell.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230721061222.2632521-1-sumang@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions