> > -----Original Message----- > > From: Jerin Jacob Kollanukkaran <jer...@marvell.com> > > Sent: Tuesday, September 3, 2019 10:52 AM > > To: Anoob Joseph <ano...@marvell.com>; Akhil Goyal > > <akhil.go...@nxp.com>; Pablo de Lara <pablo.de.lara.gua...@intel.com>; > > Thomas Monjalon <tho...@monjalon.net> > > Cc: Anoob Joseph <ano...@marvell.com>; Narayana Prasad Raju Athreya > > <pathr...@marvell.com>; Ankur Dwivedi <adwiv...@marvell.com>; Tejasree > > Kondoj <ktejas...@marvell.com>; dev@dpdk.org > > Subject: RE: [PATCH 11/11] doc: add documentation for OCTEON TX2 > > crypto PMD > > > +``a0fd`` is the CPT PF device id. You should see output similar to: > > > + > > > +.. code-block:: console > > > + > > > + 0002:10:00.0 Class 1080: Device 177d:a0fd > > > + > > > +Set ``sriov_numvfs`` on the CPT PF device, to create a VF: > > > + > > > +.. code-block:: console > > > + > > > + echo 1 > > > > + /sys/bus/pci/drivers/octeontx2-cpt/0002:10:00.0/sriov_numvfs > > > + > > > +Bind the CPT VF device to the vfio_pci driver: > > > + > > > +.. code-block:: console > > > + > > > + echo '177d a0fe' > /sys/bus/pci/drivers/vfio-pci/new_id > > > + echo 0002:10:00.1 > /sys/bus/pci/devices/0002:10:00.1/driver/unbind > > > + echo 0002:10:00.1 > /sys/bus/pci/drivers/vfio-pci/bind > > > + > > > +Another way to bind the VF would be to use the ``dpdk-devbind.py`` > > script: > > > > I think, we can mention only the standard usertools/dpdk-devbind.py > > scheme. > > [Anoob] The standard dpdk-devbind script is also mentioned in the steps. The > other steps can be used in systems where python is not available. Few other > drivers are already doing the same. Do you suggest documenting only the steps > to use dpdk-devbind.py script?
If you think there is value addition in keeping both then keep both.