Thread (3 messages) flat view 3 messages, 3 authors, 2021-11-22

Re: [PATCH net] nfp: checking parameter process for rx-usecs/tx-usecs is invalid

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-11-19 14:55:56

On Fri, 19 Nov 2021 14:38:03 +0100 Simon Horman wrote:
From: Diana Wang <redacted>

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 <redacted>
Signed-off-by: Simon Horman <redacted>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help