net: add rte prefix to ether structures
[dpdk.git] / doc / guides / prog_guide / bbdev.rst
index 426d31f..038bc6e 100644 (file)
@@ -78,7 +78,7 @@ From the application point of view, each instance of a bbdev device consists of
 one or more queues identified by queue IDs. While different devices may have
 different capabilities (e.g. support different operation types), all queues on
 a device support identical configuration possibilities. A queue is configured
-for only one type of operation and is configured at initializations time.
+for only one type of operation and is configured at initialization time.
 When an operation is enqueued to a specific queue ID, the result is dequeued
 from the same queue ID.
 
@@ -571,7 +571,7 @@ TB-mode. CB-mode is a reduced version, where only one CB exists:
 
 .. _figure_turbo_tb_encode:
 
-.. figure:: img/turbo_tb_encode.svg
+.. figure:: img/turbo_tb_encode.*
 
     Turbo encoding of Code Blocks in mbuf structure
 
@@ -665,7 +665,7 @@ TB-mode. CB-mode is a reduced version, where only one CB exists:
 
 .. _figure_turbo_tb_decode:
 
-.. figure:: img/turbo_tb_decode.svg
+.. figure:: img/turbo_tb_decode.*
 
     Turbo decoding of Code Blocks in mbuf structure
 
@@ -678,7 +678,7 @@ bbdev framework, by giving a sample code performing a loop-back operation with a
 baseband processor capable of transceiving data packets.
 
 The following sample C-like pseudo-code shows the basic steps to encode several
-buffers using (**sw_trubo**) bbdev PMD.
+buffers using (**sw_turbo**) bbdev PMD.
 
 .. code-block:: c
 
@@ -752,12 +752,12 @@ buffers using (**sw_trubo**) bbdev PMD.
         for (j = 0; j < op_num; j++) {
             /* Append the size of the ethernet header */
             rte_pktmbuf_append(input_pkts_burst[j],
-                    sizeof(struct ether_hdr));
+                    sizeof(struct rte_ether_hdr));
 
             /* set op */
 
             ops_burst[j]->turbo_enc.input.offset =
-                sizeof(struct ether_hdr);
+                sizeof(struct rte_ether_hdr);
 
             ops_burst[j]->turbo_enc->input.length =
                 rte_pktmbuf_pkt_len(bbdev_pkts[j]);
@@ -766,7 +766,7 @@ buffers using (**sw_trubo**) bbdev PMD.
                 input_pkts_burst[j];
 
             ops_burst[j]->turbo_enc->output.offset =
-                sizeof(struct ether_hdr);
+                sizeof(struct rte_ether_hdr);
 
             ops_burst[j]->turbo_enc->output.data =
                     output_pkts_burst[j];