raw/ifpga/base: fix physical address info
Fix miss phy_addr on ifpga_acc_get_region_info() function.
Fixes: 56bb54ea1b
("raw/ifpga/base: add Intel FPGA OPAE share code")
Cc: stable@dpdk.org
Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
This commit is contained in:
parent
a3056b6b05
commit
4507a3d1f8
@ -76,6 +76,7 @@ static int ifpga_acc_get_region_info(struct opae_accelerator *acc,
|
||||
info->flags = ACC_REGION_READ | ACC_REGION_WRITE | ACC_REGION_MMIO;
|
||||
info->len = afu_info->region[info->index].len;
|
||||
info->addr = afu_info->region[info->index].addr;
|
||||
info->phys_addr = afu_info->region[info->index].phys_addr;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user