[PATCH v9 13/13] vdpa/ifc/base: access correct register for blk device

Xia, Chenbo chenbo.xia at intel.com
Tue May 24 05:10:21 CEST 2022


> -----Original Message-----
> From: Pei, Andy <andy.pei at intel.com>
> Sent: Monday, May 23, 2022 5:35 PM
> To: dev at dpdk.org
> Cc: Xia, Chenbo <chenbo.xia at intel.com>; maxime.coquelin at redhat.com; Cao,
> Gang <gang.cao at intel.com>; Liu, Changpeng <changpeng.liu at intel.com>; Xu,
> Rosen <rosen.xu at intel.com>; Xiao, QimaiX <qimaix.xiao at intel.com>
> Subject: [PATCH v9 13/13] vdpa/ifc/base: access correct register for blk
> device
> 
> Register address is different between net and blk device.
> We are re-useing most of the code, when register address is

re-using

With this fixed:

Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>

> different, we have to check net and blk device go through
> different code.
> 
> Signed-off-by: Andy Pei <andy.pei at intel.com>
> ---
>  drivers/vdpa/ifc/base/ifcvf.c | 34 +++++++++++++++++++++++++++-------
>  1 file changed, 27 insertions(+), 7 deletions(-)
> 



More information about the dev mailing list