aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorDiana Wang <[email protected]>2021-11-19 14:38:03 +0100
committerDavid S. Miller <[email protected]>2021-11-22 12:44:45 +0000
commit3bd6b2a838ba6a3b86d41b077f570b1b61174def (patch)
tree00a545a42ef48baaadcc8a43110b2fb88562a68a /lib/test_overflow.c
parent19d36c5f294879949c9d6f57cb61d39cc4c48553 (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 <[email protected]> Signed-off-by: Simon Horman <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions