linux/drivers/net/ethernet/intel/ice
Jacob Keller a8f89fa277 ice: do not abort devlink info if board identifier can't be found
The devlink dev info command reports version information about the
device and firmware running on the board. This includes the "board.id"
field which is supposed to represent an identifier of the board design.
The ice driver uses the Product Board Assembly identifier for this.

In some cases, the PBA is not present in the NVM. If this happens,
devlink dev info will fail with an error. Instead, modify the
ice_info_pba function to just exit without filling in the context
buffer. This will cause the board.id field to be skipped. Log a dev_dbg
message in case someone wants to confirm why board.id is not showing up
for them.

Fixes: e961b679fb ("ice: add board identifier info to devlink .info_get")
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://lore.kernel.org/r/20210819223451.245613-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-08-19 18:20:01 -07:00
..
ice.h ice: Stop processing VF messages during teardown 2021-08-09 09:59:23 -07:00
ice_adminq_cmd.h ice: add support for set/get of driver-stored firmware parameters 2021-06-11 07:38:00 -07:00
ice_arfs.c
ice_arfs.h ice: use static inline for dummy functions 2021-06-07 08:59:01 -07:00
ice_base.c ice: enable transmit timestamps for E810 devices 2021-06-11 08:47:41 -07:00
ice_base.h ice: Refactor ice_setup_rx_ctx 2021-06-07 08:58:56 -07:00
ice_common.c ice: register 1588 PTP clock device object for E810 devices 2021-06-11 08:47:30 -07:00
ice_common.h ice: register 1588 PTP clock device object for E810 devices 2021-06-11 08:47:30 -07:00
ice_controlq.c ice: add support for sideband messages 2021-06-11 07:38:00 -07:00
ice_controlq.h ice: add support for sideband messages 2021-06-11 07:38:00 -07:00
ice_dcb.c
ice_dcb.h
ice_dcb_lib.c ice: Fix a memory leak in an error handling path in 'ice_pf_dcb_cfg()' 2021-06-25 11:30:50 -07:00
ice_dcb_lib.h ice: use static inline for dummy functions 2021-06-07 08:59:01 -07:00
ice_dcb_nl.c
ice_dcb_nl.h ice: use static inline for dummy functions 2021-06-07 08:59:01 -07:00
ice_devids.h
ice_devlink.c ice: do not abort devlink info if board identifier can't be found 2021-08-19 18:20:01 -07:00
ice_devlink.h
ice_ethtool.c ice: enable transmit timestamps for E810 devices 2021-06-11 08:47:41 -07:00
ice_ethtool_fdir.c
ice_fdir.c
ice_fdir.h
ice_flex_pipe.c
ice_flex_pipe.h
ice_flex_type.h
ice_flow.c ice: Support RSS configure removal for AVF 2021-04-22 09:26:22 -07:00
ice_flow.h ice: Support RSS configure removal for AVF 2021-04-22 09:26:22 -07:00
ice_fltr.c
ice_fltr.h
ice_fw_update.c ice: add error message when pldmfw_flash_image fails 2021-06-07 08:59:01 -07:00
ice_fw_update.h
ice_hw_autogen.h ice: add support for auxiliary input/output pins 2021-06-25 11:30:49 -07:00
ice_idc.c ice: Register auxiliary device to provide RDMA 2021-05-28 20:11:13 -07:00
ice_idc_int.h ice: Implement iidc operations 2021-05-28 20:11:13 -07:00
ice_lag.c ice: Initialize RDMA support 2021-05-28 20:11:13 -07:00
ice_lag.h
ice_lan_tx_rx.h ice: report hash type such as L2/L3/L4 2021-06-18 08:59:46 -07:00
ice_lib.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-06-18 19:47:02 -07:00
ice_lib.h ice: enable receive hardware timestamping 2021-06-11 08:47:41 -07:00
ice_main.c ice: don't remove netdev->dev_addr from uc sync list 2021-08-09 09:59:23 -07:00
ice_nvm.c
ice_nvm.h
ice_osdep.h
ice_protocol_type.h
ice_ptp.c ice: Fix perout start time rounding 2021-08-13 17:22:53 -07:00
ice_ptp.h ice: add support for auxiliary input/output pins 2021-06-25 11:30:49 -07:00
ice_ptp_hw.c ice: remove redundant continue statement in a for-loop 2021-06-17 09:25:06 -07:00
ice_ptp_hw.h ice: add low level PTP clock access functions 2021-06-11 07:38:00 -07:00
ice_sbq_cmd.h ice: add support for sideband messages 2021-06-11 07:38:00 -07:00
ice_sched.c ice: remove the VSI info from previous agg 2021-06-25 11:30:49 -07:00
ice_sched.h
ice_sriov.c
ice_sriov.h
ice_status.h
ice_switch.c ice: Implement iidc operations 2021-05-28 20:11:13 -07:00
ice_switch.h ice: Remove the repeated declaration 2021-06-17 09:19:59 -07:00
ice_trace.h ice: add tracepoints 2021-06-25 08:32:18 -07:00
ice_txrx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2021-06-28 15:28:03 -07:00
ice_txrx.h ice: enable transmit timestamps for E810 devices 2021-06-11 08:47:41 -07:00
ice_txrx_lib.c ice: report hash type such as L2/L3/L4 2021-06-18 08:59:46 -07:00
ice_txrx_lib.h ice: report hash type such as L2/L3/L4 2021-06-18 08:59:46 -07:00
ice_type.h ice: add low level PTP clock access functions 2021-06-11 07:38:00 -07:00
ice_virtchnl_allowlist.c ice: Enable RSS configure for AVF 2021-04-22 09:26:22 -07:00
ice_virtchnl_allowlist.h ice: Allow ignoring opcodes on specific VF 2021-04-22 09:26:22 -07:00
ice_virtchnl_fdir.c
ice_virtchnl_fdir.h
ice_virtchnl_pf.c ice: Stop processing VF messages during teardown 2021-08-09 09:59:23 -07:00
ice_virtchnl_pf.h ice: use static inline for dummy functions 2021-06-07 08:59:01 -07:00
ice_xsk.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2021-06-28 15:28:03 -07:00
ice_xsk.h ice: use static inline for dummy functions 2021-06-07 08:59:01 -07:00
Makefile ice: register 1588 PTP clock device object for E810 devices 2021-06-11 08:47:30 -07:00