RSU (Remote System Update) depends on secure manager which may be different on various implementations, so a new secure manager device is implemented for adapting such difference. There are five APIs added: 1. rte_pmd_ifpga_get_dev_id() get raw device ID of ifpga device from PCI address like 'Domain:Bus:Dev.Func'. 2. rte_pmd_ifpga_update_flash() update flash with specific image file. 3. rte_pmd_ifpga_stop_update() abort flash update process. 4. rte_pmd_ifpga_reboot_try() check current ifpga status and change it to reboot status if it is idle. 5. rte_pmd_ifpga_reload() trigger full reconfiguration of ifpga device. Signed-off-by: Wei Huang <wei.huang@intel.com> Acked-by: Tianfei Zhang <tianfei.zhang@intel.com> Acked-by: Rosen Xu <rosen.xu@intel.com>
23 lines
560 B
Meson
23 lines
560 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Intel Corporation
|
|
|
|
if has_libfdt == 0
|
|
build = false
|
|
reason = 'missing dependency, "libfdt"'
|
|
subdir_done()
|
|
endif
|
|
|
|
subdir('base')
|
|
objs = [base_objs]
|
|
|
|
deps += ['ethdev', 'rawdev', 'pci', 'bus_pci', 'kvargs',
|
|
'bus_vdev', 'bus_ifpga', 'net', 'net_i40e', 'net_ipn3ke']
|
|
|
|
sources = files('ifpga_rawdev.c', 'rte_pmd_ifpga.c')
|
|
|
|
includes += include_directories('base')
|
|
includes += include_directories('../../net/ipn3ke')
|
|
includes += include_directories('../../net/i40e')
|
|
|
|
headers = files('rte_pmd_ifpga.h')
|