X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Frawdevs%2Focteontx2_ep.rst;h=fb9d346ccf535086d601f59aaf88bb854a916986;hb=26aeabe079b1ed2fca787459963e3292b6c7f876;hp=bbcf530a4549559df9709937d6c8f615c6429bbc;hpb=aebdf3cadc6185932a6ac8ab975c4b667c207af3;p=dpdk.git diff --git a/doc/guides/rawdevs/octeontx2_ep.rst b/doc/guides/rawdevs/octeontx2_ep.rst index bbcf530a45..fb9d346ccf 100644 --- a/doc/guides/rawdevs/octeontx2_ep.rst +++ b/doc/guides/rawdevs/octeontx2_ep.rst @@ -18,14 +18,6 @@ This OCTEON TX2 End Point mode PMD supports #. Packet Output - OCTEON TX2 to Host with info pointer mode. -Config File Options -~~~~~~~~~~~~~~~~~~~ - -The following options can be modified in the ``config`` file. - -- ``CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EP_RAWDEV`` (default ``y``) - - Toggle compilation of the ``lrte_pmd_octeontx2_ep`` driver. Initialization -------------- @@ -66,7 +58,8 @@ The following code shows how the device is configured struct rte_rawdev_info rdev_info = {.dev_private = &config}; config.enqdeq_mpool = (void *)rte_mempool_create(...); - rte_rawdev_configure(dev_id, (rte_rawdev_obj_t)&rdev_info); + rte_rawdev_configure(dev_id, (rte_rawdev_obj_t)&rdev_info, + sizeof(config)); Performing Data Transfer ------------------------