X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=doc%2Fguides%2Fprog_guide%2Fcompressdev.rst;fp=doc%2Fguides%2Fprog_guide%2Fcompressdev.rst;h=3ba4238ce4b34069e0ca238e1a9e7cbed679595b;hb=8d53e9f3c6001dcb2865f6e894da5b54e1418f88;hp=87e2649067193be585388ea2703bdcd6ce65fd14;hpb=e2bea7436061ca2e7e14bfcfdc5870f2555c3965;p=deb_dpdk.git diff --git a/doc/guides/prog_guide/compressdev.rst b/doc/guides/prog_guide/compressdev.rst index 87e26490..3ba4238c 100644 --- a/doc/guides/prog_guide/compressdev.rst +++ b/doc/guides/prog_guide/compressdev.rst @@ -17,7 +17,7 @@ Device Creation Physical compression devices are discovered during the bus probe of the EAL function which is executed at DPDK initialization, based on their unique device identifier. -For eg. PCI devices can be identified using PCI BDF (bus/bridge, device, function). +For e.g. PCI devices can be identified using PCI BDF (bus/bridge, device, function). Specific physical compression devices, like other physical devices in DPDK can be white-listed or black-listed using the EAL command line options. @@ -379,7 +379,7 @@ using priv_xform would look like: setup op->m_src and op->m_dst; } num_enqd = rte_compressdev_enqueue_burst(cdev_id, 0, comp_ops, NUM_OPS); - /* wait for this to complete before enqueing next*/ + /* wait for this to complete before enqueuing next*/ do { num_deque = rte_compressdev_dequeue_burst(cdev_id, 0 , &processed_ops, NUM_OPS); } while (num_dqud < num_enqd); @@ -526,7 +526,7 @@ An example pseudocode to set up and process a stream having NUM_CHUNKS with each op->src.length = CHUNK_LEN; op->input_chksum = 0; num_enqd = rte_compressdev_enqueue_burst(cdev_id, 0, &op[i], 1); - /* wait for this to complete before enqueing next*/ + /* wait for this to complete before enqueuing next*/ do { num_deqd = rte_compressdev_dequeue_burst(cdev_id, 0 , &processed_ops, 1); } while (num_deqd < num_enqd);