X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fprog_guide%2Frawdev.rst;h=488e0a7ef6c15c5c761cce94d7f901e22c063c3f;hb=bc778a17fa46f1ec69180c7f660585155eefc318;hp=42c195cefa234111b4e1ee7ffe7a6ae371d45a68;hpb=85e59d55cd21e36ca12f3342f63db89d7af1a8e7;p=dpdk.git diff --git a/doc/guides/prog_guide/rawdev.rst b/doc/guides/prog_guide/rawdev.rst index 42c195cefa..488e0a7ef6 100644 --- a/doc/guides/prog_guide/rawdev.rst +++ b/doc/guides/prog_guide/rawdev.rst @@ -13,7 +13,7 @@ In terms of device flavor (type) support, DPDK currently has ethernet For a new type of device, for example an accelerator, there are not many options except: -1. create another lib/librte_MySpecialDev, driver/MySpecialDrv and use it +1. create another lib/MySpecialDev, driver/MySpecialDrv and use it through Bus/PMD model. 2. Or, create a vdev and implement necessary custom APIs which are directly exposed from driver layer. However this may still require changes in bus code @@ -32,7 +32,7 @@ Key factors guiding design of the Rawdevice library: 1. Following are some generic operations which can be treated as applicable to a large subset of device types. None of the operations are mandatory to - be implemented by a driver. Application should also be design for proper + be implemented by a driver. Application should also be designed for proper handling for unsupported APIs. * Device Start/Stop - In some cases, 'reset' might also be required which @@ -100,7 +100,7 @@ From the command line using the --vdev EAL option --vdev 'rawdev_dev1' -Our using the rte_vdev_init API within the application code. +Or using the rte_vdev_init API within the application code. .. code-block:: c