mirror_ubuntu-kernels/drivers/net/ethernet/netronome/nfp
Diana Wang 3bd6b2a838 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: ce991ab666 ("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>
2021-11-22 12:44:45 +00:00
..
abm net: sched: Merge Qdisc::bstats and Qdisc::cpu_bstats data types 2021-10-18 12:54:41 +01:00
bpf nfp: bpf: relax prog rejection for mtu check through max_pkt_offset 2021-10-28 12:59:32 +01:00
crypto nfp: silence set but not used warning with IPV6=n 2020-12-09 19:42:03 -08:00
flower nfp: flower: Allow ipv6gretap interface for offloading 2021-11-01 13:09:55 +00:00
nfpcore nfp: use list_move instead of list_del/list_add in nfp_cppcore.c 2021-06-09 13:55:37 -07:00
nic
ccm_mbox.c net: netronome: nfp: Fix wrong function name in comments 2021-05-17 14:12:39 -07:00
ccm.c
ccm.h
devlink_param.c nfp: Move delink_register to be last command 2021-09-27 16:31:59 +01:00
Makefile nfp: flower-ct: add pre and post ct checks 2021-06-02 14:04:41 -07:00
nfp_abi.h
nfp_app_nic.c
nfp_app.c
nfp_app.h drivers: net: ethernet: struct sk_buff is declared duplicately 2021-03-25 17:04:15 -07:00
nfp_asm.c nfp: bpf: silence bitwise vs. logical OR warning 2021-10-18 14:50:01 -07:00
nfp_asm.h
nfp_devlink.c nfp: devlink: initialize the devlink port attribute "lanes" 2021-04-21 10:26:35 -07:00
nfp_hwmon.c
nfp_main.c devlink: Set device as early as possible 2021-08-09 10:21:40 +01:00
nfp_main.h devlink: move request_firmware out of driver 2020-11-19 21:40:57 -08:00
nfp_net_common.c nfp: fix potential deadlock when canceling dim work 2021-10-29 13:25:32 +01:00
nfp_net_ctrl.c
nfp_net_ctrl.h
nfp_net_debugdump.c
nfp_net_debugfs.c
nfp_net_ethtool.c nfp: checking parameter process for rx-usecs/tx-usecs is invalid 2021-11-22 12:44:45 +00:00
nfp_net_main.c ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
nfp_net_repr.c nfp: Prefer struct_size over open coded arithmetic 2021-09-13 13:02:38 +01:00
nfp_net_repr.h
nfp_net_sriov.c
nfp_net_sriov.h
nfp_net.h nfp: checking parameter process for rx-usecs/tx-usecs is invalid 2021-11-22 12:44:45 +00:00
nfp_netvf_main.c ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
nfp_port.c
nfp_port.h nfp: Replace nfp_pr_et with ethtool_sprintf 2021-03-17 11:42:30 -07:00
nfp_shared_buf.c