> > -----Original Message-----
> > From: Jerin Jacob Kollanukkaran <[email protected]>
> > Sent: Tuesday, September 3, 2019 10:52 AM
> > To: Anoob Joseph <[email protected]>; Akhil Goyal
> > <[email protected]>; Pablo de Lara <[email protected]>;
> > Thomas Monjalon <[email protected]>
> > Cc: Anoob Joseph <[email protected]>; Narayana Prasad Raju Athreya
> > <[email protected]>; Ankur Dwivedi <[email protected]>; Tejasree
> > Kondoj <[email protected]>; [email protected]
> > 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.



Reply via email to