DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Xu, Rosen" <rosen.xu@intel.com>
To: "Zhang, Tianfei" <tianfei.zhang@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	 "Yigit, Ferruh" <ferruh.yigit@intel.com>
Cc: "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v4 4/5] raw/ifpga_rawdev/base: fix miss physical address
Date: Mon, 1 Jul 2019 10:31:41 +0000	[thread overview]
Message-ID: <0E78D399C70DA940A335608C6ED296D73A85CA44@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20190621084017.6763-4-tianfei.zhang@intel.com>



> -----Original Message-----
> From: Zhang, Tianfei
> Sent: Friday, June 21, 2019 16:40
> To: dev@dpdk.org; Yigit, Ferruh <ferruh.yigit@intel.com>
> Cc: Xu, Rosen <rosen.xu@intel.com>; stable@dpdk.org; Zhang, Tianfei
> <tianfei.zhang@intel.com>
> Subject: [PATCH v4 4/5] raw/ifpga_rawdev/base: fix miss physical address
> 
> Fix miss phy_addr on ifpga_acc_get_region_info() function.
> 
> Fixes: 56bb54ea1bd ("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>
> ---
>  drivers/raw/ifpga_rawdev/base/ifpga_api.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/raw/ifpga_rawdev/base/ifpga_api.c
> b/drivers/raw/ifpga_rawdev/base/ifpga_api.c
> index 53d101daf..7ae626d64 100644
> --- a/drivers/raw/ifpga_rawdev/base/ifpga_api.c
> +++ b/drivers/raw/ifpga_rawdev/base/ifpga_api.c
> @@ -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;
>  }
> --
> 2.17.1

Acked-by: Rosen Xu <rosen.xu@intel.com>

  reply	other threads:[~2019-07-01 10:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-21  8:40 [dpdk-dev] [PATCH v4 1/5] raw/ifpga_rawdev: fix use of untrusted scalar value Tianfei zhang
2019-06-21  8:40 ` [dpdk-dev] [PATCH v4 2/5] raw/ifpga_rawdev: fix logically dead code Tianfei zhang
2019-07-01 10:31   ` Xu, Rosen
2019-06-21  8:40 ` [dpdk-dev] [PATCH v4 3/5] raw/ifpga_rawdev/base: fix bit fields definition Tianfei zhang
2019-07-01 10:31   ` Xu, Rosen
2019-06-21  8:40 ` [dpdk-dev] [PATCH v4 4/5] raw/ifpga_rawdev/base: fix miss physical address Tianfei zhang
2019-07-01 10:31   ` Xu, Rosen [this message]
2019-06-21  8:40 ` [dpdk-dev] [PATCH v4 5/5] raw/ifpga_rawdev/base: fix retimer link status issue Tianfei zhang
2019-07-01 10:31   ` Xu, Rosen
2019-07-01 10:31 ` [dpdk-dev] [PATCH v4 1/5] raw/ifpga_rawdev: fix use of untrusted scalar value Xu, Rosen
2019-07-04 13:38 ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0E78D399C70DA940A335608C6ED296D73A85CA44@SHSMSX104.ccr.corp.intel.com \
    --to=rosen.xu@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=stable@dpdk.org \
    --cc=tianfei.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).