a50d7cbbda
Add support for .get_reg eth_dev ops which will be used to collect the firmware debug data. PMD on detecting on some HW errors will collect the FW/HW Dump to a buffer and then it will save it to a file implemented in qede_save_fw_dump(). Dump file location and name: Location: <RTE_SDK> or DPDK root Name: qede_pmd_dump_mm-dd-yy_hh-mm-ss.bin DPDK applications can initiate a debug data collection by invoking DPDK library’s rte_eth_dev_get_reg_info() API. This API invokes .get_reg() interface in the PMD. PMD implementation of .get_reg() collects the FW/HW Dump, saves it to data field of rte_dev_reg_info and passes it to the application. It’s the responsibility of the application to save the FW/HW Dump to a file. We recommendation using the file name format used by qede_save_fw_dump(). Signed-off-by: Rasesh Mody <rmody@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
19 lines
337 B
Meson
19 lines
337 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
|
|
|
|
subdir('base')
|
|
objs = [base_objs]
|
|
|
|
sources = files(
|
|
'qede_ethdev.c',
|
|
'qede_filter.c',
|
|
'qede_main.c',
|
|
'qede_rxtx.c',
|
|
'qede_debug.c',
|
|
'qede_regs.c',
|
|
)
|
|
|
|
if cc.has_argument('-Wno-format-nonliteral')
|
|
cflags += '-Wno-format-nonliteral'
|
|
endif
|