> -----Original Message----- > From: Pei, Andy <andy....@intel.com> > Sent: Monday, May 23, 2022 5:35 PM > To: dev@dpdk.org > Cc: Xia, Chenbo <chenbo....@intel.com>; maxime.coque...@redhat.com; Cao, > Gang <gang....@intel.com>; Liu, Changpeng <changpeng....@intel.com>; Xu, > Rosen <rosen...@intel.com>; Xiao, QimaiX <qimaix.x...@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....@intel.com> > different, we have to check net and blk device go through > different code. > > Signed-off-by: Andy Pei <andy....@intel.com> > --- > drivers/vdpa/ifc/base/ifcvf.c | 34 +++++++++++++++++++++++++++------- > 1 file changed, 27 insertions(+), 7 deletions(-) >