diff options
author | Diana Wang <na.wang@corigine.com> | 2021-11-19 14:38:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-22 12:44:45 +0000 |
commit | 3bd6b2a838ba6a3b86d41b077f570b1b61174def (patch) | |
tree | 00a545a42ef48baaadcc8a43110b2fb88562a68a /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 19d36c5f294879949c9d6f57cb61d39cc4c48553 (diff) |
nfp: checking parameter process for rx-usecs/tx-usecs is invalid
Use nn->tlv_caps.me_freq_mhz instead of nn->me_freq_mhz to check whether
rx-usecs/tx-usecs is valid.
This is because nn->tlv_caps.me_freq_mhz represents the clock_freq (MHz) of
the flow processing cores (FPC) on the NIC. While nn->me_freq_mhz is not
be set.
Fixes: ce991ab6662a ("nfp: read ME frequency from vNIC ctrl memory")
Signed-off-by: Diana Wang <na.wang@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions