Message ID | 1652876035-70513-11-git-send-email-andy.pei@intel.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Maxime Coquelin |
Headers | show |
Series | add virtio_blk device support to vdpa/ifc | expand |
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
> -----Original Message----- > From: Pei, Andy <andy.pei@intel.com> > Sent: Wednesday, May 18, 2022 8:14 PM > To: dev@dpdk.org > Cc: Xia, Chenbo <chenbo.xia@intel.com>; maxime.coquelin@redhat.com; Cao, > Gang <gang.cao@intel.com>; Liu, Changpeng <changpeng.liu@intel.com>; Xu, > Rosen <rosen.xu@intel.com>; Xiao, QimaiX <qimaix.xiao@intel.com> > Subject: [PATCH v8 10/13] usertools: add support for virtio blk device > > Add virtio blk device support to devbind. > > Signed-off-by: Andy Pei <andy.pei@intel.com> > --- > usertools/dpdk-devbind.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py > index ace4627..7231be4 100755 > --- a/usertools/dpdk-devbind.py > +++ b/usertools/dpdk-devbind.py > @@ -72,6 +72,9 @@ > cn9k_ree = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4', > 'SVendor': None, 'SDevice': None} > > +virtio_blk = {'Class': '01', 'Vendor': "1af4", 'Device': '1001', No modern device support? Thanks, Chenbo > + 'SVendor': None, 'SDevice': None} > + > network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class] > baseband_devices = [acceleration_class] > crypto_devices = [encryption_class, intel_processor_class] > @@ -82,7 +85,7 @@ > compress_devices = [cavium_zip] > regex_devices = [cn9k_ree] > misc_devices = [cnxk_bphy, cnxk_bphy_cgx, cnxk_inl_dev, > - intel_ntb_skx, intel_ntb_icx] > + intel_ntb_skx, intel_ntb_icx, virtio_blk] > > # global dict ethernet devices present. Dictionary indexed by PCI address. > # Each device within this is itself a dictionary of device properties > -- > 1.8.3.1
Hi Chenbo, > -----Original Message----- > From: Xia, Chenbo <chenbo.xia@intel.com> > Sent: Monday, May 23, 2022 3:43 PM > To: Pei, Andy <andy.pei@intel.com>; dev@dpdk.org > Cc: maxime.coquelin@redhat.com; Cao, Gang <gang.cao@intel.com>; Liu, > Changpeng <changpeng.liu@intel.com>; Xu, Rosen <rosen.xu@intel.com>; > Xiao, QimaiX <qimaix.xiao@intel.com> > Subject: RE: [PATCH v8 10/13] usertools: add support for virtio blk device > > > -----Original Message----- > > From: Pei, Andy <andy.pei@intel.com> > > Sent: Wednesday, May 18, 2022 8:14 PM > > To: dev@dpdk.org > > Cc: Xia, Chenbo <chenbo.xia@intel.com>; maxime.coquelin@redhat.com; > > Cao, Gang <gang.cao@intel.com>; Liu, Changpeng > > <changpeng.liu@intel.com>; Xu, Rosen <rosen.xu@intel.com>; Xiao, > > QimaiX <qimaix.xiao@intel.com> > > Subject: [PATCH v8 10/13] usertools: add support for virtio blk device > > > > Add virtio blk device support to devbind. > > > > Signed-off-by: Andy Pei <andy.pei@intel.com> > > --- > > usertools/dpdk-devbind.py | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py > > index ace4627..7231be4 100755 > > --- a/usertools/dpdk-devbind.py > > +++ b/usertools/dpdk-devbind.py > > @@ -72,6 +72,9 @@ > > cn9k_ree = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4', > > 'SVendor': None, 'SDevice': None} > > > > +virtio_blk = {'Class': '01', 'Vendor': "1af4", 'Device': '1001', > > No modern device support? > It should be supported. I will add modern device in next version. > Thanks, > Chenbo > > > + 'SVendor': None, 'SDevice': None} > > + > > network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class] > > baseband_devices = [acceleration_class] crypto_devices = > > [encryption_class, intel_processor_class] @@ -82,7 +85,7 @@ > > compress_devices = [cavium_zip] regex_devices = [cn9k_ree] > > misc_devices = [cnxk_bphy, cnxk_bphy_cgx, cnxk_inl_dev, > > - intel_ntb_skx, intel_ntb_icx] > > + intel_ntb_skx, intel_ntb_icx, virtio_blk] > > > > # global dict ethernet devices present. Dictionary indexed by PCI address. > > # Each device within this is itself a dictionary of device properties > > -- > > 1.8.3.1
diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py index ace4627..7231be4 100755 --- a/usertools/dpdk-devbind.py +++ b/usertools/dpdk-devbind.py @@ -72,6 +72,9 @@ cn9k_ree = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4', 'SVendor': None, 'SDevice': None} +virtio_blk = {'Class': '01', 'Vendor': "1af4", 'Device': '1001', + 'SVendor': None, 'SDevice': None} + network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class] baseband_devices = [acceleration_class] crypto_devices = [encryption_class, intel_processor_class] @@ -82,7 +85,7 @@ compress_devices = [cavium_zip] regex_devices = [cn9k_ree] misc_devices = [cnxk_bphy, cnxk_bphy_cgx, cnxk_inl_dev, - intel_ntb_skx, intel_ntb_icx] + intel_ntb_skx, intel_ntb_icx, virtio_blk] # global dict ethernet devices present. Dictionary indexed by PCI address. # Each device within this is itself a dictionary of device properties
Add virtio blk device support to devbind. Signed-off-by: Andy Pei <andy.pei@intel.com> --- usertools/dpdk-devbind.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)