app/testpmd: fix use of indirect action after port close
[dpdk.git] / drivers / net / ark / ark_global.h
index 6f9b301..3c3a712 100644 (file)
@@ -67,7 +67,7 @@
 typedef void (*rx_user_meta_hook_fn)(struct rte_mbuf *mbuf,
                                     const uint32_t *meta,
                                     void *ext_user_data);
-/* TX hook poplulate *meta, with up to 20 bytes.  meta_cnt
+/* TX hook populate *meta, with up to 20 bytes.  meta_cnt
  * returns the number of uint32_t words populated, 0 to 5
  */
 typedef void (*tx_user_meta_hook_fn)(const struct rte_mbuf *mbuf,
@@ -107,6 +107,7 @@ struct ark_adapter {
 
        /* Pointers to packet generator and checker */
        int start_pg;
+       uint16_t pg_running;
        ark_pkt_gen_t pg;
        ark_pkt_chkr_t pc;
        ark_pkt_dir_t pd;