app/regex: add RegEx test application
[dpdk.git] / drivers / net / ark / ark_ethdev_tx.c
index 1967655..2896687 100644 (file)
@@ -42,7 +42,7 @@ struct ark_tx_queue {
        uint32_t pad[1];
 
        /* second cache line - fields only used in slow path */
-       MARKER cacheline1 __rte_cache_min_aligned;
+       RTE_MARKER cacheline1 __rte_cache_min_aligned;
        uint32_t cons_index;            /* hw is done, can be freed */
 } __rte_cache_aligned;
 
@@ -211,9 +211,7 @@ eth_ark_tx_queue_setup(struct rte_eth_dev *dev,
        struct ark_tx_queue *queue;
        int status;
 
-       /* Future: divide the Q's evenly with multi-ports */
-       int port = dev->data->port_id;
-       int qidx = port + queue_idx;
+       int qidx = queue_idx;
 
        if (!rte_is_power_of_2(nb_desc)) {
                PMD_DRV_LOG(ERR,