]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/sample_app_ug/l3_forward_power_man.rst
doc: update port id type
[dpdk.git] / doc / guides / sample_app_ug / l3_forward_power_man.rst
index ea9c404d80805acc934911e6eb954b8d765f4b83..18fe63b5af766d2571119ce5fe69ff080373b374 100644 (file)
@@ -181,11 +181,11 @@ responsible for checking if it needs to scale down frequency at run time by chec
         struct lcore_conf *qconf;
         int ret;
         unsigned nb_ports;
-        uint16_t queueid;
+        uint16_t queueid, portid;
         unsigned lcore_id;
         uint64_t hz;
         uint32_t n_tx_queue, nb_lcores;
-        uint8_t portid, nb_rx_queue, queue, socketid;
+        uint8_t nb_rx_queue, queue, socketid;
 
         // ...