[dpdk-dev] [PATCH 11/11] doc: add documentation for OCTEON TX2 crypto PMD

Jerin Jacob Kollanukkaran jerinj at marvell.com
Wed Sep 4 13:03:15 CEST 2019


> > -----Original Message-----
> > From: Jerin Jacob Kollanukkaran <jerinj at marvell.com>
> > Sent: Tuesday, September 3, 2019 10:52 AM
> > To: Anoob Joseph <anoobj at marvell.com>; Akhil Goyal
> > <akhil.goyal at nxp.com>; Pablo de Lara <pablo.de.lara.guarch at intel.com>;
> > Thomas Monjalon <thomas at monjalon.net>
> > Cc: Anoob Joseph <anoobj at marvell.com>; Narayana Prasad Raju Athreya
> > <pathreya at marvell.com>; Ankur Dwivedi <adwivedi at marvell.com>; Tejasree
> > Kondoj <ktejasree at marvell.com>; dev at 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.





More information about the dev mailing list