examples/l3fwd: support config file for EM
[dpdk.git] / examples / bbdev_app / main.c
index a26076b..fc7e8b8 100644 (file)
@@ -70,11 +70,11 @@ mbuf_input(struct rte_mbuf *mbuf)
 
 static const struct rte_eth_conf port_conf = {
        .rxmode = {
-               .mq_mode = ETH_MQ_RX_NONE,
+               .mq_mode = RTE_ETH_MQ_RX_NONE,
                .split_hdr_size = 0,
        },
        .txmode = {
-               .mq_mode = ETH_MQ_TX_NONE,
+               .mq_mode = RTE_ETH_MQ_TX_NONE,
        },
 };
 
@@ -327,7 +327,7 @@ check_port_link_status(uint16_t port_id)
 
                if (link_get_err >= 0 && link.link_status) {
                        const char *dp = (link.link_duplex ==
-                               ETH_LINK_FULL_DUPLEX) ?
+                               RTE_ETH_LINK_FULL_DUPLEX) ?
                                "full-duplex" : "half-duplex";
                        printf("\nPort %u Link Up - speed %s - %s\n",
                                port_id,
@@ -372,7 +372,7 @@ add_awgn(struct rte_mbuf **mbufs, uint16_t num_pkts)
 /* Encoder output to Decoder input adapter. The Decoder accepts only soft input
  * so each bit of the encoder output must be translated into one byte of LLR. If
  * Sub-block Deinterleaver is bypassed, which is the case, the padding bytes
- * must additionally be insterted at the end of each sub-block.
+ * must additionally be inserted at the end of each sub-block.
  */
 static inline void
 transform_enc_out_dec_in(struct rte_mbuf **mbufs, uint8_t *temp_buf,