mirror_ubuntu-kernels/drivers/net/ethernet/netronome/nfp
Gao Xiao 642b2122c5 nfp: fix the access to management firmware hanging
When running `ethtool -p` with the old management firmware,
the management firmware resource is not correctly released,
which causes firmware related malfunction: all the access
to management firmware hangs.

It releases the management firmware resource when set id
mode operation is not supported.

Fixes: ccb9bc1dfa ("nfp: add 'ethtool --identify' support")
Signed-off-by: Gao Xiao <gao.xiao@corigine.com>
Reviewed-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Link: https://lore.kernel.org/r/20220829101651.633840-1-simon.horman@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-08-30 23:03:44 -07:00
..
abm net: sched: Merge Qdisc::bstats and Qdisc::cpu_bstats data types 2021-10-18 12:54:41 +01:00
bpf nfp: bpf: Fix typo 'the the' in comment 2022-07-25 10:52:28 +01:00
crypto ipv6: Use ipv6_only_sock() helper in condition. 2022-04-22 12:47:50 +01:00
flower nfp: flower: fix ingress police using matchall filter 2022-08-26 19:41:43 -07:00
nfd3 nfp: support TX VLAN ctag insert 2022-07-04 10:44:08 +01:00
nfdk Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-07-14 15:27:35 -07:00
nfpcore nfp: fix the access to management firmware hanging 2022-08-30 23:03:44 -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: add support for NFDK data path 2022-03-21 13:21:17 +00:00
nfp_abi.h
nfp_app_nic.c
nfp_app.c nfp: fix clang -Wformat warnings 2022-07-12 17:38:44 -07:00
nfp_app.h eth: nfp: replace driver's "pf" lock with devlink instance lock 2022-03-16 12:56:37 -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 devlink: hold the instance lock during eswitch_mode callbacks 2022-03-21 14:11:38 +00:00
nfp_hwmon.c
nfp_main.c nfp: fix clang -Wformat warnings 2022-07-12 17:38:44 -07:00
nfp_main.h eth: nfp: replace driver's "pf" lock with devlink instance lock 2022-03-16 12:56:37 -07:00
nfp_net_common.c net: Use u64_stats_fetch_begin_irq() for stats fetch. 2022-08-29 13:02:27 +01:00
nfp_net_ctrl.c
nfp_net_ctrl.h nfp: support TX VLAN ctag insert 2022-07-04 10:44:08 +01:00
nfp_net_debugdump.c
nfp_net_debugfs.c nfp: use TX ring pointer write back 2022-03-21 13:21:16 +00:00
nfp_net_dp.c nfp: support RX VLAN ctag/stag strip 2022-07-04 10:44:08 +01:00
nfp_net_dp.h nfp: support RX VLAN ctag/stag strip 2022-07-04 10:44:08 +01:00
nfp_net_ethtool.c net: Use u64_stats_fetch_begin_irq() for stats fetch. 2022-08-29 13:02:27 +01:00
nfp_net_main.c nfp: choose data path based on version 2022-03-21 13:21:17 +00:00
nfp_net_repr.c nfp: enable TSO by default for nfp netdev 2022-07-06 08:15:39 +01:00
nfp_net_repr.h
nfp_net_sriov.c nfp: avoid unnecessary check warnings in nfp_app_get_vf_config 2022-06-09 22:02:38 -07:00
nfp_net_sriov.h nfp: VF rate limit support 2022-05-12 13:03:08 +02:00
nfp_net_xsk.c nfp: support 48-bit DMA addressing for NFP3800 2022-06-13 13:31:39 +01:00
nfp_net_xsk.h nfp: move the fast path code to separate files 2022-03-21 13:21:16 +00:00
nfp_net.h nfp: support RX VLAN ctag/stag strip 2022-07-04 10:44:08 +01:00
nfp_netvf_main.c nfp: support Corigine PCIE vendor ID 2022-05-09 18:20:39 -07:00
nfp_port.c devlink: pass devlink_port to port_split / port_unsplit callbacks 2022-03-16 12:56:45 -07:00
nfp_port.h devlink: pass devlink_port to port_split / port_unsplit callbacks 2022-03-16 12:56:45 -07:00
nfp_shared_buf.c